Configuring The Vpc Peer-Gateway - Cisco 7604-RSP720C-R Configuration Manual

Nx-os interfaces
Table of Contents

Advertisement

Configuring vPCs
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 7
show vpc brief
Example:
switch# show vpc brief
Step 8
copy running-config startup-config
Example:
switch# copy running-config startup-config
This example shows how to configure a vPC peer link:
switch# configure terminal
switch(config)# interface port-channel 20
switch(config-if)# switchport mode
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan 1-120,201-3967
switch(config-if)# vpc peer-link
switch(config-vpc-domain)#

Configuring the vPC Peer-Gateway

Beginning with Cisco NX-OS Release 4.2(1) and later releases, you can configure 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 also
Note
carried on the vPC peer-link is not supported. 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.
BEFORE YOU BEGIN
Ensure that you have enabled the vPC feature.
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
7-38
configure terminal
vpc domain domain-id
peer-gateway
peer-gateway exclude-vlan backup-vlan-id
exit
(Optional) show vpc brief
(Optional) copy running-config startup-config
Purpose
(Optional) Displays information about each vPC,
including information about the vPC peer link.
(Optional) Copies the running configuration to the
startup configuration.
Chapter 7
Configuring vPCs
OL-23435-03

Advertisement

Table of Contents
loading

Table of Contents