12-22-2022
04:26 AM
- last edited on
12-28-2022
09:26 PM
by
Translator
I have two routers configured for HSRP. The interfaces connecting to the Switch is using subinterfaces. see below
R1
int f0/1.2
description Vlan2
encapsulation dot1Q 2
ip address 192.168.2.2 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 timers msec 200 msec 650
standby 2 priority 150
standby 2 preempt delay reload 99
standby 2 name Vlan55
standby 2 track 1 decrement 60
!
int f0/1.3
description Vlan3
encapsulation dot1Q 3
ip address 192.168.3.2 255.255.255.0
standby 3 ip 192.168.3.1
standby 3 timers msec 200 msec 650
standby 3 priority 150
standby 3 preempt delay reload 99
standby 3 name Vlan56
standby 3 track 1 decrement 60
!
R2
!
int f0/1.2
description Vlan-2
encapsulation dot1Q 2
ip address 192.168.2.3 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 timers msec 200 msec 650
standby 2 preempt delay reload 99
standby 2 name Vlan2
!
int f0/1.3
description Vlan-3
encapsulation dot1Q 3
ip address 192.168.3.3 255.255.255.0
standby 3 ip 192.168.3.1
standby 3 timers msec 200 msec 650
standby 3 preempt delay reload 99
standby 3 name Vlan3
The switch interface is set to trunk and the above setup works. R1 and R2 have an EIGRP relationship and HSRP is communicating and working as desired.
I would like to use a port channel on each router using two interfaces for many reasons to replace the single interface that is currently working. See the configs below:
R1
Int f0/0
Channel-group 1
Int f0/1
Channel-group 1
int p1.2
description Vlan2
encapsulation dot1Q 2
ip address 192.168.2.2 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 timers msec 200 msec 650
standby 2 priority 150
standby 2 preempt delay reload 99
standby 2 name Vlan2
standby 2 track 1 decrement 60
!
int p1.3
description Vlan3
encapsulation dot1Q 3
ip address 192.168.3.2 255.255.255.0
standby 3 ip 192.168.3.1
standby 3 timers msec 200 msec 650
standby 3 priority 150
standby 3 preempt delay reload 99
standby 3 name Vlan3
standby 3 track 1 decrement 60
!
R2
!
Int f0/0
Channel-group 1
Int f0/1
Channel-group 1
int p1.2
description Vlan-2
encapsulation dot1Q 2
ip address 192.168.2.3 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 timers msec 200 msec 650
standby 2 preempt delay reload 99
standby 2 name Vlan2
!
int p1.3
description Vlan-3
encapsulation dot1Q 3
ip address 192.168.3.3 255.255.255.0
standby 3 ip 192.168.3.1
standby 3 timers msec 200 msec 650
standby 3 preempt delay reload 99
standby 3 name Vlan3
The above does not work. EIGRP does not attempt to build and HSRP does not work. Any thoughts?
Solved! Go to Solution.
12-24-2022 01:53 AM - edited 12-24-2022 01:55 AM
Hello
Your configuration seems correct, it could be down to the simulation software you are using?
Also when you create aggregation ports the creation of those ports differs depending on its a L2 or L3 PC
L2 = Create the logical PC interface by assigning the aggregation first on the physical interfaces
L3 = Create the logical PC interface manually and then attach the physical interfaces
See attached a working CFG file using rtr CSR1000V 16.06.01 and sw vios_l2 Version 15.2
12-22-2022
05:52 AM
- last edited on
12-28-2022
09:28 PM
by
Translator
show etherchannel summary
check if both member port is Pending and the Port-channel is SU or RU ?
12-22-2022
07:31 AM
- last edited on
12-28-2022
09:29 PM
by
Translator
You have provided the information on the R1 and R2, can you provide the information on switch side also?
also provide
show etherchannel 1 summary
show ip interface brief
show vlan
12-22-2022
10:20 AM
- last edited on
12-28-2022
09:32 PM
by
Translator
After running the command
show etherchannel sum
on the router it looks like port-Channel 1 is not building. I ran
debug etherchanel
***see results at the bottom of this post.***
R1#sho ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM up up
FastEthernet1/0 unassigned YES NVRAM up up
Port-channel1 unassigned YES unset up up
Port-channel1.2 192.168.2.2 YES manual up up
Port-channel1.3 192.168.3.2 YES manual up up
R1# show etherchannel 1 summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
R1#sho int p1
Port-channel1 is up, line protocol is up
Hardware is FEChannel, address is c402.4e84.0010 (bia 0000.0000.0000)
MTU 1500 bytes, BW 200000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
No. of active members in this channel: 2
Member 0 : FastEthernet1/0 , Full-duplex, 100Mb/s
Member 1 : FastEthernet0/0 , Full-duplex, 100Mb/s
No. of Non-active members in this channel: 0
No. of PF_JUMBO supported members in this channel : 0
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/150/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/80 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 5000 bits/sec, 11 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
54777 packets output, 3639114 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
R1#sho int f0/0
FastEthernet0/0 is up, line protocol is up
Hardware is Gt96k FE, address is c402.4e84.0010 (bia c402.4e84.0000)
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:55, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:55:04
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 5000 bits/sec, 10 packets/sec
55 packets input, 19800 bytes
Received 55 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
34859 packets output, 2332538 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
R1#sho int f1/0
FastEthernet1/0 is up, line protocol is up
Hardware is AmdFE, address is c402.4e84.0010 (bia c402.4e84.0010)
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:08, output hang never
Last clearing of "show interface" counters 01:28:30
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
76 packets input, 27360 bytes
Received 76 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
5039 packets output, 355468 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
S1#sho ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet3/12 unassigned YES unset up up
FastEthernet3/13 unassigned YES unset up up
FastEthernet3/14 unassigned YES unset up up
FastEthernet3/15 unassigned YES unset up up
Port-channel1 unassigned YES unset up up
Port-channel2 unassigned YES unset up up
Vlan1 unassigned YES NVRAM up up
Vlan2 unassigned YES unset up up
Vlan3 unassigned YES unset up up
S1# sho run int f3/12
Building configuration...
Current configuration : 106 bytes
!
interface FastEthernet3/12
switchport mode trunk
duplex full
speed 100
channel-group 1 mode on
end
S1# sho run int f3/13
Building configuration...
Current configuration : 106 bytes
!
interface FastEthernet3/13
switchport mode trunk
duplex full
speed 100
channel-group 1 mode on
end
S1# sho run int f3/14
Building configuration...
Current configuration : 106 bytes
!
interface FastEthernet3/14
switchport mode trunk
duplex full
speed 100
channel-group 2 mode on
end
S1# sho run int f3/15
Building configuration...
Current configuration : 106 bytes
!
interface FastEthernet3/15
switchport mode trunk
duplex full
speed 100
channel-group 2 mode on
S1#sho int p1
Port-channel1 is up, line protocol is up
Hardware is EtherChannel, address is c406.0cb0.f30c (bia c406.0cb0.f30c)
MTU 1500 bytes, BW 200000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
Members in this channel: Fa3/12 Fa3/13
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped o
--------------------------
R1#debug etherchannel
EtherChannel/PAgP Shim/FEC debugging is on
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int range f0/0 , f1/0
R1(config-if-range)#shut
R1(config-if-range)#FastEthernet0/0 taken out of port-channel1
*Mar 1 00:18:18.611: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 00:18:19.611: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
R1(config-if-range)#
*Mar 1 00:18:20.611: %HSRP-5-STATECHANGE: Port-channel1.2 Grp 2 state Active -> Init
*Mar 1 00:18:20.615: %HSRP-5-STATECHANGE: Port-channel1.3 Grp 3 state Active -> Init
*Mar 1 00:18:21.611: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to down
R1(config-if-range)#
R1(config-if-range)#no shut
R1(config-if-range)#
%Interface MTU set to channel-group MTU 1500.
FastEthernet0/0 added as member-1 to port-channel1
%Interface MTU set to channel-group MTU 1500.
FastEthernet1/0 added as member-2 to port-channel1
*Mar 1 00:18:50.239: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:18:50.247: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up
*Mar 1 00:18:51.239: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if-range)#
*Mar 1 00:18:51.255: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
R1(config-if-range)#
*Mar 1 00:18:53.239: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up
R1(config-if-range)#
*Mar 1 00:18:54.547: %HSRP-5-STATECHANGE: Port-channel1.2 Grp 2 state Speak -> Standby
*Mar 1 00:18:54.547: %HSRP-5-STATECHANGE: Port-channel1.3 Grp 3 state Speak -> Standby
*Mar 1 00:18:54.579: %HSRP-5-STATECHANGE: Port-channel1.2 Grp 2 state Standby -> Active
*Mar 1 00:18:54.583: %HSRP-5-STATECHANGE: Port-channel1.3 Grp 3 state Standby -> Active
12-22-2022 10:42 AM
i see it work now ? am I right ?
12-22-2022
12:40 PM
- last edited on
12-28-2022
09:33 PM
by
Translator
No, the port channel on the Routers and not building
:
R1# show etherchannel 1 summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
12-22-2022 02:26 PM
are SW use LACP or you use mode ON ?
12-22-2022
08:35 PM
- last edited on
12-28-2022
09:34 PM
by
Translator
before we go further is this in the Lab simulator ?
1. make sure check interface mapping correctly to right port example :
port-channel1 switch1 going to router1 ports
port-channel2 switch1 going to router2 ports
as suggested both the side should be LACP or Mode on.
12-22-2022 09:43 PM
There was quite a bit of output from R1 and it looked pretty good. I would like to see similar output from R2. My guess is that the issue is something on R2.
12-24-2022 01:53 AM - edited 12-24-2022 01:55 AM
Hello
Your configuration seems correct, it could be down to the simulation software you are using?
Also when you create aggregation ports the creation of those ports differs depending on its a L2 or L3 PC
L2 = Create the logical PC interface by assigning the aggregation first on the physical interfaces
L3 = Create the logical PC interface manually and then attach the physical interfaces
See attached a working CFG file using rtr CSR1000V 16.06.01 and sw vios_l2 Version 15.2
12-28-2022 07:34 AM
Paul,
Because you got it working with my configs I am just going to assume it's related to GNS3. I will test the configs on my real environment in a few weeks.
Thanks,
WW
12-28-2022
08:09 AM
- last edited on
12-28-2022
09:36 PM
by
Translator
friend still you not answer me are you use mode ON or ACVTIVE ??
this inform is important, as I can see from your config you only config
channel-group 1
<< without mode ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide