Lab: EtherChannel Configuration
Objective: To demonstrate the configuration of EtherChannel
Topology:
Set up the lab as per the configuration given below.
Click here to download the pre-configured Packet tracer.
Fig 1 : Initial Lab setup for EtherChannel Configuration
Configuration:
Switch1: EtherChannel Configuration
Switch1>enable
Switch1#Configure Terminal
Switch1(config)#Interface range fastethernet 0/23-24
Switch1(config-if-range)#channel-group 5 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
Switch1(config-if-range)#channel-group 5 mode desirable
Switch1(config-if-range)#exit
Switch 2: EtherChannel Configuration
Switch2>enable
Switch2#configure terminal
Switch2(config)#interface range fastEthernet 0/23-24
Switch2(config-if-range)#channel-group 5 mode auto
Switch2(config-if-range)#exit
Switch2(config-if)#switchport mode trunk
Switch2(config-if-range)#exit
After the configuration the topology will look like this:
Fig 2 : Final Lab setup for EtherChannel Configuration
Note : The F0/23 on switch 1 will be turned on if the configuration is done correctly.
Verification:
Apply the command on both switch.
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
------+-------------+-----------+----------------------------------------------
5 Po5(SD) PAgP Fa0/23(P) Fa0/24(P)
To know more information about the PortChannel, use the following command
Switch#show etherchannel port-channel
Channel-group listing:
----------------------
Group: 5
----------
Port-channels in the group:
---------------------------
Port-channel: Po5
------------
Age of the Port-channel = 00d:00h:10m:02s
Logical slot/port = 2/5 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/24 Desirable-Sl 0
0 00 Fa0/23 Desirable-Sl 0
Time since last port bundled: 00d:00h:09m:00s Fa0/23
No comments:
Post a Comment