10-13-2024 10:45 PM
HSRP virtual IP unreachable with portchannel subinterface in CML lab
########### config for switch begins here #######
!
conf t
!
int po32
description "port-channel interface connected to rtr1"
switchport mode trunk
switchport trunk allow vlan 10,20
no shut
!
int e0/3
description "member interface of port-channel32 interface connected to rtr1"
switchport trunk allow vlan 10,20
switchport mode trunk
channel-group 32 mode active
no shut
!
int e0/0
description "member interface of port-channel32 interface connected to rtr1"
switchport mode trunk
switchport trunk allow vlan 10,20
channel-group 32 mode active
no shut
!
end
!
conf t
int po33
description "port-channel interface connected to rtr2"
switchport mode trunk
switchport trunk allow vlan 10,20
no shut
!
int e0/1
switchport mode trunk
description "member interface of port-channel33 interface connected to rtr2"
switchport trunk allow vlan 10,20
channel-group 33 mode active
no shut
!
int e1/0
switchport mode trunk
description "member interface of port-channel33 interface connected to rtr2"
switchport trunk allow vlan 10,20
channel-group 33 mode active
no shut
!
end
!
wr
########### config ends here #######
########### config for rtr1 begins here #######
!
conf t
!
int po32
description "port-channel interface connected to be-data-sw"
no shut
!
int gi1
description "member interface of port-channel32 interface connected to switch1"
no ip add
channel-group 32 mode active
no shut
!
int gi2
description "member interface of port-channel32 interface connected to switch2"
no ip add
channel-group 32 mode active
no shut
!
int po32.20
no shut
encapsulation dot1q 20
ip add 172.16.20.251
standby version 2
standby 1 priority 105
standby 1 ip 172.16.20.1
standby 1 preempt
standby 1 timers msec 252 msec 840
!
int po32.10
no shut
encapsulation dot1q 10
ip add 172.16.10.251
standby version 2
standby 2 priority 105
standby 2 ip 172.16.10.1
standby 2 preempt
standby 2 timers msec 252 msec 840
standby 2 track 1 decrement 60
!
end
!
wr
!
########### config ends here #######
########### config for rtr2 begins here #######
!
conf t
!
int po33
description "port-channel interface connected to be-data-sw"
no shut
!
int gi2
description "member interface of port-channel33 interface connected to switch1"
no ip add
channel-group 33 mode active
no shut
!
int gi1
description "member interface of port-channel33 interface connected to switch2"
no ip add
channel-group 33 mode active
no shut
!
int po33.20
no shut
encapsulation dot1q 20
ip add 172.16.20.252
standby version 2
standby 1 priority 100
standby 1 ip 172.16.20.1
standby 1 preempt
standby 1 timers msec 100 msec 300
!
int po33.10
no shut
encapsulation dot1q 10
ip add 172.16.10.252
standby version 2
standby 2 priority 100
standby 2 ip 172.16.10.1
standby 2 preempt
standby 2 timers msec 252 msec 840
standby 2 track 1 decrement 60
!
end
!
wr
!
########### config ends here #######
10-14-2024 05:34 AM
Hi @Rohit Patil , Which version of CML and which version and type of virtual nodes are you using? There is a known issue with sub-interfaces in IOSXE devices, CSR 1000v, CAT 8000v https://developer.cisco.com/docs/modeling-labs/csr-1000v/#limitations
I would also suggest, replacing the node with some other node types to rule out issues with node types.
10-15-2024 10:53 AM
@rkochery L am using 2.7.2 version of CML, also I am suing vmxnet adapter only
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