3 7 5 EtherChannel
3 7 5 EtherChannel
After FastEtherChannel
Priority 24577 (priority 24576 sys-id-ext 1) Address 000b.fd13.9080 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Port ID Designated Port ID Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr -------- --------- --- --------- -------------------- -------128.1 19 FWD 0 24577 000b.fd13.9080 128.1 128.2 19 FWD 0 24577 000b.fd13.9080 128.2 128.3 19 FWD 0 24577 000b.fd13.9080 128.3 128.4 19 FWD 0 24577 000b.fd13.9080 128.4 128.5 19 FWD 0 24577 000b.fd13.9080 128.5 128.25 4 FWD 0 24577 000b.fd13.9080 128.25 128.26 4 FWD 0 24577 000b.fd13.9080 128.26
Access2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 24577 Address 000b.fd13.9080 Cost 19 Port 1 (FastEthernet0/1) Hello Time 2 sec Max Age 20 sec Bridge ID
Priority 32769 (priority 32768 sys-id-ext 1) Address 0009.7c0b.e7c0 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Role ---Root Altn Altn Altn Altn Sts --FWD BLK BLK BLK BLK Cost --------19 19 19 19 19 Prio.Nbr -------128.1 128.2 128.3 128.4 128.5 Type -------------------------------P2p P2p P2p P2p P2p
Notice that only FastEthernet 0/1 port is being used between the Distribution1 and Access2. STP is blocking FastEthernet 0/2.
Distribution1
Distribution1(config)#interface range fa 0/3 - 4 Distribution(config-if-range)#channel-group 1 mode desirable
Configure Access2 switch to combine ports FastEthernet 0/1 and 0/2 into one logical channel.
Access2
Access2(config)#interface range fa 0/1 - 2 Access2(config-if-range)#channel-group 1 mode desirable
Access2#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: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------1 Po1(SU) PAgP Fa0/1(Pd) Fa0/2(P)
Port-channel 1 includes Fa 0/3 and Fa 0/4 on the Distribution switch. Port-channel 1 includes Fa 0/1 and Fa 0/2 on the Access2 switch. Spanning Tree is now use Port-channel 1 (Po1), both links, to forward frames between the two switches.
Distribution1#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 24577 Address 000b.fd13.9080 This bridge is the root Hello Time 2 sec Max Age 20 sec Bridge ID
Priority 24577 (priority 24576 sys-id-ext 1) Address 000b.fd13.9080 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Port ID Designated Port ID Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr -------- --------- --- --------- -------------------- -------128.1 19 FWD 0 24577 000b.fd13.9080 128.1 128.2 19 FWD 0 24577 000b.fd13.9080 128.2 128.5 19 FWD 0 24577 000b.fd13.9080 128.5 128.25 4 FWD 0 24577 000b.fd13.9080 128.25 128.26 4 FWD 0 24577 000b.fd13.9080 128.26 128.65 12 FWD 0 24577 000b.fd13.9080 128.65
Access2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 24577 Address 000b.fd13.9080 Cost 12 Port 65 (Port-channel1) Hello Time 2 sec Max Age 20 sec Bridge ID
Priority 32769 (priority 32768 sys-id-ext 1) Address 0009.7c0b.e7c0 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Role ---Altn Altn Altn Root Sts --BLK BLK BLK FWD Cost --------19 19 19 12 Prio.Nbr -------128.3 128.4 128.5 128.65 Type -------------------------------P2p P2p P2p P2p
Access2
Access2#show pagp neighbor Flags: S - Device is sending Slow hello. A - Device is in Auto mode. Channel group 1 neighbors Partner Port Name Fa0/1 Distribution1 Fa0/2 Distribution1 C - Device is in Consistent state. P - Device learns on physical port.
Final Running-Configs
Distribution1#show running-config Building configuration... Current configuration : 1680 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Distribution1 ! ! ip subnet-zero ! ! ! spanning-tree extend system-id spanning-tree vlan 1 priority 24576 ! ! ! interface Port-channel1 no ip address ! interface FastEthernet0/1 no ip address ! interface FastEthernet0/2 no ip address ! interface FastEthernet0/3 no ip address channel-group 1 mode desirable ! interface FastEthernet0/4 no ip address channel-group 1 mode desirable ! interface FastEthernet0/5 no ip address ! interface FastEthernet0/6 no ip address ! interface FastEthernet0/7 no ip address ! interface FastEthernet0/8 no ip address ! interface FastEthernet0/9 no ip address ! interface FastEthernet0/10 no ip address ! interface FastEthernet0/11 no ip address !
interface FastEthernet0/12 no ip address ! interface FastEthernet0/13 no ip address ! interface FastEthernet0/14 no ip address ! interface FastEthernet0/15 no ip address ! interface FastEthernet0/16 no ip address ! interface FastEthernet0/17 no ip address ! interface FastEthernet0/18 no ip address ! interface FastEthernet0/19 no ip address ! interface FastEthernet0/20 no ip address ! interface FastEthernet0/21 no ip address ! interface FastEthernet0/22 no ip address ! interface FastEthernet0/23 no ip address ! interface FastEthernet0/24 no ip address ! interface GigabitEthernet0/1 no ip address ! interface GigabitEthernet0/2 no ip address ! ! ip classless ip http server ! ! ! ! line con 0 exec-timeout 0 0 logging synchronous line vty 0 4 login line vty 5 15 login ! end Distribution1#
Access2#show running-config Building configuration... Current configuration : 1263 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Access2 ! ! ip subnet-zero ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! interface Port-channel1 flowcontrol send off ! interface FastEthernet0/1 channel-group 1 mode desirable ! interface FastEthernet0/2 channel-group 1 mode desirable ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 !
interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! ! ip http server ! line con 0 exec-timeout 0 0 logging synchronous line vty 0 4 login line vty 5 15 login ! ! end Access2#