Unsolved
1 Rookie
•
3 Posts
0
35
June 6th, 2025 09:49
VPC peer link issues.
Hi all,
I am using two Dell N4032 switches. The plan was to make two L3 switches with gateway redundancy and do vpc for MLAG. but with my current configuration, the VPC status shows the peer role is none and the self role is primary for both switches. the vrrp status shows 1 switch is master and the other is backup . but i think my vpc is not working properly for some reason.
SWITCH1
configure
vlan 184-188,197,1841-1842
exit
hostname "DMZ-CORE1"
slot 1/0 2 ! Dell Networking N4032
stack
member 1 1 ! N4032
exit
interface out-of-band
ip address 172.16.16.1 255.255.255.0 0.0.0.0
exit
ip routing
interface vlan 1
ip address dhcp
exit
interface vlan 186
ip address 192.168.186.2 255.255.255.0
exit
interface vlan 188
ip address 192.168.188.2 255.255.255.0
exit
interface vlan 197
ip address 192.168.197.3 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 192.168.197.2
ip route 192.168.184.0 255.255.255.0 192.168.197.254
username "admin" password d2f30e06063213d7601eeb6754268f46 privilege 15 encrypted
ip ssh server
ip vrrp
application install SupportAssist auto-restart start-on-boot
!
interface Te1/0/1
switchport access vlan 197
exit
!
interface Te1/0/2
switchport access vlan 197
exit
!
interface Te1/0/3
switchport mode trunk
exit
!
interface Te1/0/4
switchport mode trunk
exit
!
interface Te1/0/5
switchport mode trunk
exit
!
interface Te1/0/6
switchport mode trunk
exit
!
interface Te1/0/7
switchport access vlan 197
exit
!
interface Te1/0/8
switchport access vlan 197
exit
!
interface Te1/0/9
switchport mode trunk
exit
!
interface Te1/0/10
switchport mode trunk
exit
!
interface Te1/0/11
switchport access vlan 186
exit
!
interface Te1/0/12
switchport access vlan 186
exit
!
interface Te1/0/13
switchport mode trunk
exit
!
interface Te1/0/14
switchport mode trunk
exit
!
interface Te1/0/15
switchport mode trunk
exit
!
interface Te1/0/16
switchport mode trunk
exit
!
interface Te1/0/17
switchport mode trunk
exit
!
interface Te1/0/19
channel-group 2 mode active
exit
!
interface Te1/0/20
channel-group 2 mode active
exit
!
interface Te1/0/21
switchport mode trunk
exit
!
interface Te1/0/22
switchport mode trunk
exit
!
interface port-channel 1
description "MLAG_PEER_LINK"
switchport mode trunk
switchport trunk allowed vlan 184-188,197,1841-1842
exit
!
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan 184-188,197,1841-1842
vpc peer-link
exit
interface vlan 186
vrrp 186
vrrp 186 mode
vrrp 186 ip 192.168.186.1
vrrp 186 priority 110
vrrp 186 accept-mode
vrrp 186 preempt delay 5
exit
interface vlan 188
vrrp 188
vrrp 188 mode
vrrp 188 ip 192.168.188.1
vrrp 188 priority 110
vrrp 188 accept-mode
vrrp 188 preempt delay 5
exit
interface vlan 197
vrrp 197
vrrp 197 mode
vrrp 197 ip 192.168.197.1
vrrp 197 priority 110
vrrp 197 accept-mode
vrrp 197 preempt delay 5
exit
snmp-server engineid local 800002a203f48e38707458
feature vpc
vpc domain 1
role priority 1
peer-keepalive enable
peer-keepalive destination 172.16.16.2 source 172.16.16.1
peer detection enable
exit
exit
DMZ-CORE1#show vpc brief
VPC Domain ID.................................. 1
VPC admin status............................... Enabled
Keep-alive admin status........................ Enabled
VPC operational status......................... Enabled
Self role...................................... Primary
Peer role...................................... None
Peer detection admin status.................... Peer detected, VPC Operational
Operational VPC MAC............................ ECF4.BBF4.2401
Operational VPC system priority................ 32767
Peer-Link details
-----------------
Interface...................................... Po2
Peer-link admin status......................... Enabled
Peer-link STP admin status..................... Enabled
Configured VLANs............................... 184,185,186,187,188,197,1841,1842
Egress tagged VLANs............................ 184,185,186,187,188,197,1841,1842
VPC Details
-----------
Number of VPCs configured...................... 0
Number of VPCs operational..................... 0
DMZ-CORE1#show vpc consistency-parameters interface port-channel 2
VPC is not configured on the specified port-channel.
switch2
configure
vlan 184-188,197,1841-1842
hostname "DMZ-CORE2"
slot 1/0 2 ! Dell Networking N4032
stack
member 1 1 ! N4032
exit
interface out-of-band
ip address 172.16.16.2 255.255.255.0 0.0.0.0
exit
ip routing
interface vlan 1
ip address dhcp
exit
interface vlan 186
ip address 192.168.186.3 255.255.255.0
exit
interface vlan 188
ip address 192.168.188.3 255.255.255.0
exit
interface vlan 197
ip address 192.168.197.4 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 192.168.197.2
ip route 192.168.184.0 255.255.255.0 192.168.197.254
username "admin" password d2f30e06063213d7601eeb6754268f46 privilege 15 encrypted
ip ssh server
ip vrrp
application install SupportAssist auto-restart start-on-boot
!
interface Te1/0/1
switchport access vlan 197
exit
!
interface Te1/0/2
switchport access vlan 186
exit
!
interface Te1/0/19
channel-group 2 mode active
exit
!
interface Te1/0/20
channel-group 2 mode active
exit
!
interface port-channel 1
description "MLAG_PEER_LINK"
switchport mode trunk
exit
!
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan 184-188,197,1841-1842
vpc peer-link
exit
interface vlan 186
vrrp 186
vrrp 186 mode
vrrp 186 ip 192.168.186.1
vrrp 186 priority 95
vrrp 186 accept-mode
exit
interface vlan 188
vrrp 188
vrrp 188 mode
vrrp 188 ip 192.168.188.1
vrrp 188 priority 95
vrrp 188 accept-mode
exit
interface vlan 197
vrrp 197
vrrp 197 mode
vrrp 197 ip 192.168.197.1
vrrp 197 priority 95
vrrp 197 accept-mode
exit
snmp-server engineid local 800002a203f48e38707598
feature vpc
vpc domain 1
role priority 255
peer-keepalive enable
peer-keepalive destination 172.16.16.1 source 172.16.16.2
peer detection enable
exit
exit
DMZ-CORE2#show vpc brief
VPC Domain ID.................................. 1
VPC admin status............................... Enabled
Keep-alive admin status........................ Enabled
VPC operational status......................... Enabled
Self role...................................... Primary
Peer role...................................... None
Peer detection admin status.................... Peer detected, VPC Operational
Operational VPC MAC............................ ECF4.BBF4.2401
Operational VPC system priority................ 32767
Peer-Link details
-----------------
Interface...................................... Po2
Peer-link admin status......................... Enabled
Peer-link STP admin status..................... Enabled
Configured VLANs............................... 184,185,186,187,188,197,1841,1842
Egress tagged VLANs............................ 184,185,186,187,188,197,1841,1842
VPC Details
-----------
Number of VPCs configured...................... 0
Number of VPCs operational..................... 0
its even says no vpc configured
pyarinath
1 Rookie
•
3 Posts
0
June 7th, 2025 04:47
Well after i change the oob ip to interface vlan as my keepalive ip and make that vlan as native vlan the vpc is now active i think.
in vrrp 1 switch is active and other switch is backup, and my active switch vpc role is primary and backup swiches vpc role is now secondary .
Interface Grp Prio IP Address Mode State
--------- --- ---- -------------- ------ ------------
Vl186 186 110 192.168.186.1 Enable Master
Vl188 188 110 192.168.188.1 Enable Master
Vl197 197 110 192.168.197.1 Enable Master
DMZ-CORE1#show vpc brief
VPC Domain ID.................................. 1
VPC admin status............................... Enabled
Keep-alive admin status........................ Enabled
VPC operational status......................... Enabled
Self role...................................... Primary
Peer role...................................... Secondary
Peer detection admin status.................... Peer detected, VPC Operational
Operational VPC MAC............................ ECF4.BBF4.2401
Operational VPC system priority................ 32767
Peer-Link details
-----------------
Interface...................................... Po1
Peer-link admin status......................... Enabled
Peer-link STP admin status..................... Enabled
Configured VLANs............................... 184,185,186,187,188,197,1841,1842
Egress tagged VLANs............................ 184,185,187,188,197,1841,1842
VPC Details
-----------
Number of VPCs configured...................... 0
Number of VPCs operational..................... 0
DMZ-CORE1#show rol
^
% Invalid input detected at '^' marker.
DMZ-CORE1#show vpc role
Self
----
VPC Domain ID.................................. 1
Keep-alive admin status........................ Enabled
Keep-alive operational status.................. Enabled
Priority....................................... 1
Configured VPC MAC............................. 0000.0000.0000
Operational VPC MAC............................ ECF4.BBF4.2401
Configured VPC system priority................. 32767
Operational VPC system priority................ 32767
System MAC address............................. F48E.3870.7458
Time-out....................................... 5
VPC state...................................... Primary
VPC role....................................... Primary
Peer
----
VPC Domain ID.................................. 1
Priority....................................... 200
Configured VPC MAC............................. 0000.0000.0000
Operational VPC MAC............................ ECF4.BBF4.2401
Configured VPC system priority................. 32767
Operational VPC system priority................ 32767
VPC role....................................... Secondary
System MAC address............................. F48E.3870.7598
DMZ-CORE1#show vpc statistics peer-keepalive
Total transmitted.............................. 137145
Tx successful.................................. 137145
Tx errors...................................... 0
Total received................................. 56389
Rx successful.................................. 56389
Rx Errors...................................... 0
Timeout counter................................ 0
DMZ-CORE1#show vpc statistics peer-link
Peer link control messages transmitted......... 0
Peer link control messages Tx errors........... 0
Peer link control messages Tx timeout.......... 0
Peer link control messages ACK transmitted..... 0
Peer link control messages ACK Tx errors....... 0
Peer link control messages received............ 0
Peer link data messages transmitted............ 0
Peer link data messages Tx errors.............. 0
Peer link data messages Tx timeout............. 0
Peer link data messages received............... 2
Peer link BPDU's transmitted to peer........... 0
Peer link BPDU's Tx errors..................... 0
Peer link BPDU's received from peer............ 2
Peer link BPDU's Rx errors..................... 0
Peer link LACPDU's tranmsitted to peer......... 0
Peer link LACPDU's Tx errors................... 0
Peer link LACPDU's received from peer.......... 0
Peer link LACPDU's Rx errors................... 0
well now the thing is the devices in my secondary switch cant communicate to gateway which means it cant ping to master switch .is that bcoz the secondary switch state is backup??
DELL-Erman O
Moderator
•
2.8K Posts
0
June 9th, 2025 06:31
Hi,
Please try to create a port-channel on each switch for the device you're connecting. Then ensure use the same VPC ID for that port-channel on both switches. And lastly make sure the physical ports are correctly grouped into the port-channel.
Hope that helps!