Monday

configuring L3 etherChannel

Configuring L3 ether-channel is almost the same as L2 the only exception is to add L3 protocol . To configure L3 on L2 switch you need to enable the port be a routed port otherwise you will not be able to add the ip address command to the interface .


Switch(config)#inter port-channel 12
Switch(config-if)#no switchport --> This command changes the interface from L2 to L3
Switch(config-if)#ip address 12.0.0.1 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#end
Switch#

Switch#ping 12.0.0.2--> the other ether-channel on SW2

Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/5 ms


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


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 summ
Switch#sho 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
------+-------------+-----------+----------------------------------------------

12     Po12(SU)           LACP   Fa0/1(P) Fa0/2(P)

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

Switch#sho interfaces etherchannel
FastEthernet0/1:
Port state    = 1
Channel group = 12          Mode = Active          Gcchange = -
Port-channel  = Po12        GC   =   -             Pseudo port-channel = Po12
Port index    = 0           Load = 0x00            Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs

        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Fa0/1     SA      down      32768         0x0       0x0     0x1         

Partner's information:
                  LACP port                        Admin  Oper   Port    Port
Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
Fa0/1     SA      32768     00E0.B080.DED2         0x0    0x0    0x1     

Age of the port in the current state:  00d:02h:10m:50s

FastEthernet0/2:
Port state    = 1
Channel group = 12          Mode = Active          Gcchange = -
Port-channel  = Po12        GC   =   -             Pseudo port-channel = Po12
Port index    = 0           Load = 0x00            Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs

        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Fa0/2     SA      down      32768         0x0       0x0     0x2         

Partner's information:
                  LACP port                        Admin  Oper   Port    Port
Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
Fa0/2     SA      32768     00E0.B080.DED2         0x0    0x0    0x2     

Age of the port in the current state:  00d:02h:10m:50s

----
Port-channel12:Port-channel12   (Primary aggregator)
Age of the Port-channel   = 00d:00h:30m:58s
Logical slot/port   = 2/12             Number of ports = 2
HotStandBy port = null
Port state          =
Protocol            =   1
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:02h:10m:50s    Fa0/2




No comments:

Post a Comment