lacp中端口优先级
两台交换机均通过f0/1-4连接两台交换机f0/1-4均为trunk状态
其中一台
lacp为passive
另一台
lacp为active
lacp system-priority 10
f0/1-2
的 lacp port-priority 为 10
可是f0/1-4均为P状态
f0/3-4应该为备份端口的啊
这是为什么??
谢谢高手指教 SW2配置如下:
lacp system-priority 100
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
lacp port-priority 100
channel-group 1 mode active
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
lacp port-priority 100
channel-group 1 mode active
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
channel-group 1 mode active
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
channel-group 1 mode active
!
SW1配置如下:
lacp system-priority 65535
interface Port-channel1
!
interface FastEthernet0/1
channel-group 1 mode passive
!
interface FastEthernet0/2
channel-group 1 mode passive
!
interface FastEthernet0/3
channel-group 1 mode passive
!
interface FastEthernet0/4
channel-group 1 mode passive
!
sw2#show etherchannel summary
Flags:D - down P - 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
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
GroupPort-channelProtocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Fa0/1(P) Fa0/2(P) Fa0/3(P)
Fa0/4(P)
为什么Fa0/3(P)、 Fa0/4(P)为P,如何让Fa0/3(P)、Fa0/4(P)成为Fa0/3(s)、F0 /4(s)??
谢谢 我怎么都没有显示图标啊 以下是cisco网站上的文档资料
Configuring LACP Hot-Standby Ports
When enabled, LACP tries to configure the maximum number of LACP-compatible ports in a channel, up to a maximum of 16 ports. Only eight LACP links can be active at one time. The software places any additional links in a hot-standby mode. If one of the active links becomes inactive, a link that is in the hot-standby mode becomes active in its place.
If you configure more than eight links for an EtherChannel group, the software automatically decides which of the hot-standby ports to make active based on the LACP priority. The software assigns to every link between systems that operate LACP a unique priority made up of these elements (in priority order):
• LACP system priority
• System ID (a combination of the LACP system priority and the switch MAC address)
• LACP port priority
• Port number
In priority comparisons, numerically lower values have higher priority. The priority decides which ports should be put in standby mode when there is a hardware limitation that prevents all compatible ports ** aggregating.
Ports are considered for active use in aggregation in link-priority order starting with the port attached to the highest priority link. Each port is **ed for active use if the preceding higher priority **ions can also be maintained. Otherwise, the port is **ed for standby mode.
You can change the default values of the LACP system priority and the LACP port priority to affect how the software **s active and standby links.
如果要让一个端口成为备份的链路,要超过8条之后,LACP system priority 和LACP port priority 的设置要超过8条才有意义,不晓得是不是这样一个意思,请高手赐教,谢谢 可是很灵异的是 好像之前能输出如下的东西:
sw2#show etherchannel summary
Flags: D - down P - 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
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 Fa0/1(P) Fa0/2(P) Fa0/3(s)
Fa0/4(s)
所以被搞蒙了
会不会有其他情况?? 谢谢赐教 设备情况
sw1 2960
sw2 3560
谢谢 是真设备 呵呵
可是6楼的输出
真的是灵异
页:
[1]
2