vpc

To move other port channels into a virtual port channel (vPC) to connect to the downstream device, use the vpc command. To remove the port channels from the vPC, use the no form of this command.

vpc number

no vpc number

Syntax Description

number
Port channel number to connect to the downstream device. The range is from 1 and 4096.


Note The vPC number that you assign to the port channel that connects to the downstream device from the vPC peer device must be identical on both vPC peer devices.


Command Default

None

Command Modes

Interface configuration mode

Command History

Release
Modification
4.2(1)N1(1)
This command was introduced.

Usage Guidelines

You can use any module in the device for the port channels.


Note We recommend that you attach the vPC domain downstream port channel to two devices for redundancy.


To connect to the downstream device, you create a port channel from the downstream device to the primary vPC peer device, and you create another port channel from the downstream device to the secondary peer device. Finally, working on each vPC peer device, you assign a vPC number to the port channel that connects to the downstream device. You will experience minimal traffic disruption when you are creating vPCs.


Note The port channel number and vPC number can be different, but the vPC number must be the same on both Cisco Nexus 5000 Series switches.


Examples

This example shows how to configure the selected port channel into the vPC to connect to the downstream device:

switch(config)# interface port-channel 20
switch(config-if)# vpc 5
switch(config-if)#
 

Related Commands

Command
Description
copy running-config startup-config
Copies the running configuration to the startup configuration.
show running-config vpc
Displays the running configuration information for vPCs.
show vpc brief
Displays information about each vPC, including information about the vPC peer link.
show vpc consistency-parameters
Displays the status of those parameters that must be consistent across all vPC interfaces.