Cisco 7206 - VXR Router Configuration Manual page 239

Network configuration guide
Table of Contents

Advertisement

Chapter 7
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
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface port-channel channel-number
Example:
switch(config)# interface port-channel 20
switch(config-if)#
Step 3
switchport mode trunk
Example:
switch(config-if)# switchport mode trunk
Step 4
switchport trunk allowed vlan vlan-list
Example:
switch(config-if)# switchport trunk
allowed vlan 1-120,201-3967
Step 5
vpc peer-link
Example:
switch(config-if)# vpc peer-link
switch(config-vpc-domain)#
Step 6
exit
Example:
switch(config-vpc-domain)# exit
switch(config)#
OL-23435-03
configure terminal
interface port-channel channel-number
(Optional) switchport mode trunk
(Optional) switchport trunk allowed vlan vlan-list
vpc peer-link
exit
(Optional) show vpc brief
(Optional) copy running-config startup-config
Purpose
Enters global configuration mode.
Selects the port channel that you want to use as the
vPC peer link for this device, and enters the interface
configuration mode.
(Optional) Configures this interface in trunking
mode.
(Optional) Configures the allowed VLAN list.
Configures the selected port channel as the vPC peer
link, and enters the vpc-domain configuration mode.
Exits the vpc-domain configuration mode.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring vPCs
7-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents