V PC
V PC
In this module, the following steps will be executed in order to configure and
verify vPC feature:
Enable vPC
Configure vPC domain
Configure vPC role and system priority
Configure vPC peer-keepalive link
Configure vPC peer-link
Verify vPC peer status
Configure vPC on vPC member ports
Verify vPC Operation
vPC Feature Enhancement Peer gateway, Peer Switch
Additional Tasks Auto-recovery, dual active exclude interface VLAN,
Peer-gateway exclude VLAN, vPC failure testing
NOTE: The vPC number and allowed VLAN documented in this manual may
be different from the one used in your setup. Please interpret the output
accordingly.
vPC domain id : 4
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status: success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 0
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Legend:
Type 1 : vPC will be suspended in case of mismatch
OOB Configuration:
OOB VRF: vpc-keepalive Peer System ID
OOB Port: 3200
OOB Interval in ms: 1000
OOB Timeout in seconds: 5
Source Address: 1.1.1.1
Destination Address: 1.1.1.2
OOB Tos Value: 192 MCEC System ID
OOB Flush Timeout Value: 3
Also check show system internal vpcm info interface po11 -List
important sections of output that you see
1.7 Configure vPC on vPC Member Ports
Assign the vPC channel to the port channel that connects to the access
switch. It is best practice to match vPC number with PO number.
(config-if)# interface port-channel 11
(config-if)# vpc 11
# show vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 4
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status: success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 1
Peer Gateway : Disabled
Dual-active excluded VLANs : -
vPC status
----------------------------------------------------------------------
id Port Status Consistency Reason Active vlans
-- ---- ------ ----------- ------ ------------
11 Po11 up success success 1,11-12,99
Examine vPC local system-mac versus vPC system-mac. The vPC local
system-mac is same as the system LACP system identifier (same as VDC
mac address). It is recommended to assign unique vPC domain-ID for each
pair of vPC peer devices in the same L2 domain. Each vPC peer has its
own vPC local system-mac.
show vpc role
show lacp system-identifier
The vPC system-mac is tied to the vPC domain ID. The Nexus pair within the
same vPC domain has the same vPC system-mac. The vPC system-mac is
being used for the LACP negotiation between the vPC switches and the
downstream switch, therefore, the downstream switch will see upstream
logical switch has a single vPC system-mac.
show vpc role
show lacp internal info interface <eth_4> | i lag
Check with your vPC peer, do both peers have the same
vPC system-mac and vPC system-priority?
IF Elem Information:
if_index: 0x1600000A
is_mcec: TRUE
mcec_num : 11
Number of allowed vlans(cfg_vlans): 3, Bitset: 1-3
<SNIP>
vPC number: 11
vPC state: Up Old Compat Status: Pass
Compat Status: Pass
Reason Code: SUCCESS
Hardware prog state: No R2 prog
Flags : 0x0 Number of members: 0
Peer number: 11
Peer state: Up
Number of configured VLANs on peer: 3, Bitset: 1-3
Number of Up VLANs on peer: 3, Bitset: 1-3
<SNIP>
Local Parameters::
==============================================
SAP APP-Name Param-Name Param-Type Param-Value
---- --------- ----------- ----------- ------------
171 STP STP Port Type Type-1 Default
171 STP STP Port Guard Type-1 None
<SNIP>
PEER Parameters::
==============================================
SAP APP-Name Param-Name Param-Type Param-Value
---- --------- ----------- ----------- ------------
171 STP STP Port Type Type-1 Default
171 STP STP Port Guard Type-1 None
<SNIP>
Also, each of the Nexus switch assumes ownership of its peers mac address.
This enables a Nexus to proxy route the packet on behalf of its peer.
Also check show spanning-tree interface etx/y detail to see the Bridge ID
and look at which interfaces are sending out BPDUs.
1.10Additional Tasks
Configure the following features
VPC Auto-Recovery
VPC Dual Active Exclude interface-vlan
VPC Peer-Gateway exclude-vlan
Check health of CFS
(config-if)# vpc domain <vpc_domain>
(config-vpc-domain)# auto-recovery
(config-vpc-domain)# dual-active exclude interface-vlan
(config-vpc-domain)# peer-gateway exclude-vlan <LIST>
Bring the keep-alive up, remove auto-recovery if enabled and shut down the peer-link and observe what happens
The secondary vPC peer will suspend its vPCs
Now shut down the keep-alive link as well, what do you observe?
The secondary vPC peer will keep its vPCs suspended
Recover the system completely and repeat the procedure with auto-recovery enabled, what is different?
When the peer-link also is shut with keep alive down, the secondary will unsuspend its vPCs
CFS:
---------------------------------------------