09-07-2022 12:30 AM
Hi there
I'm trying to setup a VPC for the first time and have my keep-alive on a vlan ip
But i can't get the destination IP to work. It's direct connected via fiber on port 47
What am i missing?
vlan1
vlan 4049
name keepalive
no spanning-tree vlan 4049
vrf context keepalive
vrf context management
ip route 0.0.0.0/0 10.80.10.1
no port-channel load-balance resilient
vpc domain 2
role priority 32661
peer-keepalive destination 10.40.49.2 source 10.40.49.1 vrf keepalive
peer-gateway
auto-recovery
interface Vlan1
interface Vlan4049
vrf member keepalive
no ip redirects
ip address 10.40.49.1/24
no ipv6 redirects
interface port-channel4049
description ***PEER-LINK***
switchport mode trunk
switchport trunk allowed vlan 1-4000
spanning-tree port type network
vpc peer-link
interface Ethernet1/43
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active
interface Ethernet1/44
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active
interface Ethernet1/45
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active
interface Ethernet1/46
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active
interface Ethernet1/47
description keepalive link
switchport access vlan 4049
interface Ethernet1/48
interface mgmt0
vrf member management
ip address 10.60.50.3/24
line console
line vty
boot nxos bootflash:/nxos.9.3.8.bin
09-07-2022 01:17 AM
Hello,
the configuration looks by the book, is the other side configured identically ?
09-07-2022 02:03 AM - edited 09-07-2022 02:34 AM
""keep-alive must not run over any vPC VLAN, You need different trunk or L3 link. ""
since you use different port and not use any vPC VLAN
your config is right then only check
in NSK-1
peer-keepalive destination 10.40.49.2 source 10.40.49.1 vrf keepalive
in NSK-2
peer-keepalive destination 10.40.49.1 source 10.40.49.2 vrf keepalive
09-07-2022 02:28 AM
@MHM Cisco World Just out of curiosity, you are saying that in the above config Vlan 4049 is a VPC Vlan ? I thought I checked this. Can you post the amended config that works for you ?
09-07-2022 02:31 AM
Hello,
actually, I am not sure if this is correct:
vlan 4049
name keepalive
no spanning-tree vlan 4049
vrf context keepalive
--> vrf context management
Can you remove that context from the keepalive Vlan ?
09-07-2022 03:12 AM
This is the only difference in my config on switch 2
vpc domain 2
role priority 32662
peer-keepalive destination 10.40.49.1 source 10.40.49.2 vrf keepalive
peer-gateway
auto-recovery
This is my "show VPC"
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 2
Peer status : peer link is down
vPC keep-alive status : Suspended (Destination IP not reachable)
Configuration consistency status : failed
Per-vlan consistency status : success
Configuration inconsistency reason: Consistency Check Not Performed
Type-2 inconsistency reason : Consistency Check Not Performed
vPC role : none established
Number of vPCs configured : 0
Peer Gateway : Enabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Disabled (due to peer configuration)
Auto-recovery status : Enabled, timer is off.(timeout = 240s)
Delay-restore status : Timer is off.(timeout = 30s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ -------------------------------------------------
1 Po4049 up -
09-07-2022 04:07 AM
friend I am out of home now but I check the info.
now you have two L2 Link between two SW, if you run RSTP not PVST then one link will be Spanning Tree BLK, and I think this Link is keepalive-link.
solution use L3 instead of L2 SVI.
09-07-2022 04:07 PM - edited 09-07-2022 04:51 PM
@MHM Cisco World I'm not sure I'm following what you saying. You saying i should work i just need to pass some traffic through it?
Can you give me an example of RSTP over PVST?
This is the first time I'm trying this.
I'm copying my VPC setup in our office as these switches will be vpc domain 2 in our Data Centre.
09-07-2022 07:15 PM
Hey all
I figured it out. I did a sh interface brief
And my vlan 4049 was administratively down
I set it to no shut
And now everything is working.
Thanks all for helping me work through it!
11-23-2023 01:06 AM
Great
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