image

Layer2 PortChannel

Switch2#conf t
Switch2(config)#interface range fastethernet 0/9 – 10
Switch2(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1

Switch3#conf t
Switch3(config)#int range gig 0/9 – 10
Switch3(config-if-range)#channel-gr 1 mode active
Creating a port-channel interface Port-channel 1

00:04:54: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/9, changed state to down
00:04:54: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/10, changed state to down
00:04:55: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
00:04:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/9, changed state to up
00:04:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/10, changed state to up
00:04:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up

Switch3#sh int po 1 eth
Port-channel1   (Primary aggregator)

Age of the Port-channel   = 0d:00h:02m:32s
Logical slot/port   = 2/1          Number of ports = 2
HotStandBy port = null
Port state          = Port-channel Ag-Inuse
Protocol            =   LACP

Ports in the Port-channel:

Index   Load   Port     EC state        No of bits
——+——+——+——————+———–
  0     00     Gi0/9    Active             0
  0     00     Gi0/10   Active             0

Time since last port bundled:    0d:00h:02m:30s    Gi0/10

Switch2#sh int po 1 eth
Port-channel1   (Primary aggregator)

Age of the Port-channel   = 0d:00h:03m:32s
Logical slot/port   = 2/1          Number of ports = 2
HotStandBy port = null
Port state          = Port-channel Ag-Inuse
Protocol            =   LACP

Ports in the Port-channel:

Index   Load   Port     EC state        No of bits
——+——+——+——————+———–
  0     00     Fa0/9    Active             0
  0     00     Fa0/10   Active             0

Time since last port bundled:    0d:00h:02m:56s    Fa0/10

Switch2#sh ip int br
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES NVRAM  administratively down down
FastEthernet0/1        unassigned      YES unset  down                  down
FastEthernet0/2        unassigned      YES unset  down                  down
FastEthernet0/3        unassigned      YES unset  down                  down
FastEthernet0/4        unassigned      YES unset  down                  down
FastEthernet0/5        unassigned      YES unset  down                  down
FastEthernet0/6        unassigned      YES unset  down                  down
FastEthernet0/7        unassigned      YES unset  down                  down
FastEthernet0/8        unassigned      YES unset  down                  down
FastEthernet0/9        unassigned      YES unset  up                    up
FastEthernet0/10       unassigned      YES unset  up                    up
FastEthernet0/11       unassigned      YES unset  down                  down
FastEthernet0/12       unassigned      YES unset  down                  down
FastEthernet0/13       unassigned      YES unset  up                    up
FastEthernet0/14       unassigned      YES unset  up                    up
FastEthernet0/15       unassigned      YES unset  down                  down
FastEthernet0/16       unassigned      YES unset  down                  down
FastEthernet0/17       unassigned      YES unset  down                  down
FastEthernet0/18       unassigned      YES unset  down                  down
FastEthernet0/19       unassigned      YES unset  down                  down
FastEthernet0/20       unassigned      YES unset  down                  down
FastEthernet0/21       unassigned      YES unset  down                  down
FastEthernet0/22       unassigned      YES unset  down                  down
FastEthernet0/23       unassigned      YES unset  down                  down
FastEthernet0/24       unassigned      YES unset  down                  down
GigabitEthernet0/1     unassigned      YES unset  down                  down
GigabitEthernet0/2     unassigned      YES unset  down                  down
Port-channel1          unassigned      YES unset  up                    up

Switch2#sh run int po 1
!
interface Port-channel1
end

Switch2#sh run int fa 0/9
!
interface FastEthernet0/9
channel-group 1 mode active
end

Layer3 PortChannel

Switch2#conf t
Switch2(config)#int ran fa0/9 – 10
Switch2(config-if-range)#no switch
Switch2(config-if-range)#channel-gr 1 mode active
Creating a port-channel interface Port-channel 1

Switch2#conf t
Switch2(config)#int po 1
Switch2(config-if)#no switch
Switch2(config-if)#ip add 1.1.1.1 255.255.255.0

Switch2(config)#ip routing

%d bloggers like this: