(global)# interface fastethernet 4/1 (interface)#channel-group 100 mode desirable non-silent (global)# interface fastethernet 4/2 (interface)#channel-group 100 mode desirable non-silent (global)# interface fastethernet 5/1 (interface)#channel-group 100 mode desirable non-silent (global)# interface fastethernet 5/2 (interface)#channel-group 100 mode desirable non-silent (global)#port-channel load-balance src-dst-ip show etherchannel [channel-group] load-balance |
(config)#interface channel-group 1 (config-if)#ip address 192.168.1.1 255.255.255.0 (config-if)#interface gigabitethernet 1/1 (config-if)#no switchport (config-if)#no ip address (config-if)#channel-group 1 mod on (config-if)#no shutdown (config-)#interface gigabitethernet 1/2 (config-if)#no switchport (config-if)#no ip address (config-if)#channel-group 1 mode on (config-if)#end copy run start |
(config)#interface gigabitethernet 0/1 (config-if)#port group 1 (config)#interface gigabitethernet 0/2 (config-if)#port group 1 (config)#end #copy run start |
Switch#config t Switch(config)#int gigabitEthernet 1/0/23 Switch(config-if)#channel-group 10 mode ? active Enable LACP unconditionally auto Enable PAgP only if a PAgP device is detected desirable Enable PAgP unconditionally on Enable Etherchannel only passive Enable LACP only if a LACP device is detected Switch(config-if)#channel-group 10 mode desirable non-silent Switch(config)#int gigabitEthernet 1/0/24 Switch(config-if)#channel-group 10 mode desirable non-silent Switch(config)#port-channel ? load-balance Load Balancing method Switch(config)#port-channel load-balance ? dst-ip Dst IP Addr dst-mac Dst Mac Addr src-dst-ip Src XOR Dst IP Addr src-dst-mac Src XOR Dst Mac Addr src-ip Src IP Addr src-mac Src Mac Addr Switch(config)#port-channel load-balance src-dst-ip Switch#write Switch#show interfaces gigabitEthernet 1/0/23 etherchannel Port state = Up Sngl-port-Bndl Mstr Not-in-Bndl Channel group = 10 Mode = Desirable-NonSl Gcchange = 0 Port-channel = null GC = 0x Port index = 0 Load = 0x00 Protocol = PAgP Flags: S - Device is sending Slow hello. C - Device is in Consistent state. A - Device is in Auto mode. P - Device learns on physical port. d - PAgP is down. Timers: H - Hello timer is running. Q - Quit timer is running. S - Switching timer is running. I - Interface timer is running. Local information: Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Gi1/0/23 U4/S4 H 30s 0 128 Any 10123 Age of the port in the current state: 00d:00h: Switch#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 |