Monday

configuring L2 etherChannel

As you will see here, to utilize all the bandwidth, we created L2 ether-channel by combining both links and the commands to do that are the following:


Switch#config t
Switch(config)#int range fa0/1 - 2
Switch(config-if-range)#channel-protocol ?

  lacp  Prepare interface for LACP protocol
  pagp  Prepare interface for PAgP protocol

Switch(config-if-range)#channel-protocol lacp
Switch(config-if-range)#channel-group 12 ?

  mode  Etherchannel Mode of the interface

Switch(config-if-range)#channel-group 12 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-range)#channel-group 12 mode active ?
  <cr>
Switch(config-if-range)#channel-group 12 mode active

%LINK-5-CHANGED: Interface Port-channel 12, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 12, changed state to up
Switch(config-if-range)#end

------------------------------------------------------------------------------------

Switch#sho ip int b | inc up

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/1        unassigned      YES unset  up                    up

FastEthernet0/2        unassigned      YES unset  up                    up
 
Port-channel 12        unassigned      YES unset  up                    up

Switch#

Switch#sho etherchannel
                Channel-group listing:
                ----------------------

Group: 12
----------
Group state = L2
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol:   LACP


------------------------------------------------------------------------------------

Switch#sho etherchannel port-channel
                Channel-group listing:
                ----------------------

Group: 12
----------
                Port-channels in the group:
                ---------------------------

Port-channel: Po12    (Primary Aggregator)
------------

Age of the Port-channel   = 00d:00h:17m:39s
Logical slot/port   = 2/12      Number of ports = 2
GC                  = 0x00000000      HotStandBy port = null
Port state          = Port-channel
Protocol            =   LACP
Port Security       = Disabled

Ports in the Port-channel:

Index   Load   Port     EC state        No of bits
------+------+------+------------------+-----------
  0     00     Fa0/1    Active             0
  0     00     Fa0/2    Active             0
Time since last port bundled:    00d:00h:15m:41s    Fa0/2
Switch#

No comments:

Post a Comment