Configuring Layer 3 over vPC
4. (Optional) switch# show vpc brief
5. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vpc domain domain-id
Step 3
switch(config-vpc-domain)# role priority priority
Step 4
(Optional) switch# show vpc brief
Step 5
(Optional) switch# copy running-config startup-config
Example
This example shows how to configure a vPC peer link:
switch# configure terminal
switch(config)# vpc domain 5
switch(config-if)# role priority 4000
Configuring Layer 3 over vPC
Before you begin
Cisco NX-OS supports configuring vPC peer devices to act as the gateway for packets that are destined to
the vPC peer device's MAC address. When you attach a Layer 3 device to a vPC domain, the peering of routing
protocols using a VLAN carried out on the vPC peer-link is supported with the following requirements:
• Ensure that you have enabled the vPC feature.
• Ensure that you are in the correct VDC (or use the switchto vdc command).
• Ensure that you enable peer-gateway and peer-routing on Layer 3 over vPC on both the peers.
• Ensure that the peer link is up
If routing protocol adjacencies are needed between vPC peer devices and a generic Layer 3 device, you must
use physical routed interfaces for the interconnection. Use of the vPC peer-gateway feature does not change
this requirement.
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
88
Purpose
Enters global configuration mode.
Selects an existing vPC domain on the switch, or creates a
new vPC domain, and enters the vpc-domain configuration
mode. There is no default domain-id; the range is from 1
to 1000.
Enters the role priority that you want for the vPC system
priority. The range of values is from 1 to 65535. The default
value is 32667.
Displays information about each vPC, including information
about the vPC peer link.
Copies the running configuration to the startup
configuration.
Configuring Virtual Port Channels