VPC in Nexus Switch
feature vpc
feature interface-vlan
feature lldp
clock timezone BDT 6 0
====================================
SW-01
====================================
interface mgmt0
vrf member management
ip address 10.11.11.253/30
vpc domain 1
role priority 1
peer-keepalive destination 10.11.11.254 source 10.11.11.253
vrf context management
ip route 0.0.0.0/0 10.11.11.254
interface port-channel100
description *** vpc-Peer-Link-port-channel ***
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
interface Ethernet1/48
description *** vPC Peer-Link Connected to Access-SW-02-port-Eth1/48- ***
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel1
description *** Uplink-port-channel- ***
switchport
switchport mode trunk
vpc 1
interface Ethernet1/49
description *** Connected to UPLINK ***
switchport
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet1/50
description *** Connected to UPLINK ***
switchport
switchport mode trunk
channel-group 1 mode active
no shutdown
Access-SW-01# sh vpc brief
Access-SW-01# sh vpc role
====================================
SW-02
====================================
vrf context management
ip route 0.0.0.0/0 10.11.11.253
vpc domain 1
role priority 2
peer-keepalive destination 10.11.11.253 source 10.11.11.254
interface port-channel100
description *** vpc-Peer-Link-port-channel ***
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
interface Ethernet1/48
description *** vPC Peer-Link Connected to Access-SW-01-port-Eth1/48- ***
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel1
description *** Uplink-port-channel- ***
switchport
switchport mode trunk
vpc 1
interface Ethernet1/49
description *** Connected to UPLINK ***
switchport
switchport mode trunk
channel-group 1 mode active
no shutdown
interface Ethernet1/50
description *** Connected to UPLINK ***
switchport
switchport mode trunk
channel-group 1 mode active
no shutdown
Access-SW-01# sh vpc brief
Access-SW-01# sh vpc role
No comments