Cisco N7K-C7010 Configuration Guide - Page 240
Configuring the vPC Peer-Gateway
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 240 highlights
Configuring vPCs Chapter 7 Configuring vPCs Send document comments to [email protected] Step 7 Step 8 Command Purpose show vpc brief Example: switch# show vpc brief (Optional) Displays information about each vPC, including information about the vPC peer link. copy running-config startup-config (Optional) Copies the running configuration to the Example: startup configuration. 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. Note When you attach a Layer 3 device to a vPC domain, the peering of routing protocols using a VLAN also 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. configure terminal 2. vpc domain domain-id 3. peer-gateway 4. peer-gateway exclude-vlan backup-vlan-id 5. exit 6. (Optional) show vpc brief 7. (Optional) copy running-config startup-config 7-38 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03