“lacp 端口优先级”在 Cisco Catalyst 3750 系列上不起作用吗?

网络工程 IEEE-802.1ax cisco-3750
2021-07-15 12:34:28

我有一个 CiscoWS-C3750G-12S交换机分别与端口Gi1/0/1Gi1/0/11CiscoWS-C3750G-24TS端口物理连接端口具有不同的 LACP 端口优先级:Gi1/0/1Gi1/0/27

WS-C3750G-12S#sh lacp internal 
Flags:  S - Device is requesting Slow LACPDUs 
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode     

Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi1/0/1   SA      bndl      1             0x1       0x1     0x102       0x3D  
Gi1/0/11  SA      bndl      2             0x1       0x1     0x10C       0x3D  
WS-C3750G-12S#

WS-C3750G-24TS#sh lacp internal
Flags:  S - Device is requesting Slow LACPDUs
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode

Channel group 1
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Gi1/0/1   SA      bndl      1             0x1       0x1     0x102       0x3D
Gi1/0/27  SA      bndl      2             0x1       0x1     0x11C       0x3D
WS-C3750G-24TS#

如上所示,端口具有不同的 LACP 优先级,但仍处于捆绑状态。同样可以看到sh etherchannel 1 summary

WS-C3750G-12S#sh etherchannel 1 summary 
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP      Gi1/0/1(P)  Gi1/0/11(P) 

WS-C3750G-12S#


WS-C3750G-24TS#sh etherchannel 1 summary 
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP      Gi1/0/1(P)  Gi1/0/27(P) 

WS-C3750G-24TS#

请问lacp port-priority在Cisco Catalyst 3750系列不能正常工作?还是我做错了什么?

1个回答

这在我看来很正常。我想你可能对这个命令的性质有误解。

这应该会有所帮助,来自Cisco 文档

lacp port-priority 接口配置命令确定当 LACP 通道组中的端口超过 8 个时,绑定哪些端口以及将哪些端口置于热备用模式。