1. config multi interfaces at same time
(config)# interface range fa0/21 - 24 ,or fa0/21 , fa0/23
2. before config the new setting, the old setting in those interfaces must be remove firstly. (with command 'no')
3. there are 3 options for the channel-protocol: pagp, lacp, none
the channel mode is depended by protocol:
pagp: 'auto' or 'desirable'
lacp: 'active' or 'passive'
None: 'on'
Note: the port-channel interfaces with channel mode marked as 'on' will always up.
4. commands for checking etherChannel:
- show etherchannel summary
SwitchC#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 - unsuitable for bundling
U - in use f - failed to allocate aggregator
d - default port
Number of channel-groups in use: 4
Number of aggregators: 4
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Fa0/22(Pd) Fa0/24(P)
2 Po2(SU) - Fa0/21(Pd) Fa0/23(P)
3 Po3(SD) -
5 Po5(SD) -
- show interface portchannel 1
SwitchC#show interfaces port-channel 1 etherchannel
Port-channel1 (Primary aggregator)
Age of the Port-channel = 0d:03h:45m:04s
Logical slot/port = 1/0 Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/22 Active 0
0 00 Fa0/24 Active 0
Time since last port bundled: 0d:00h:54m:00s Fa0/24
Time since last port Un-bundled: 0d:01h:21m:08s Fa0/24
--
Just do it!
Posted by Gmail on E61
没有评论:
发表评论