V Commands

This chapter describes the Cisco NX-OS interface commands that begin with V.

vpc domain

To create a virtual port-channel (vPC) domain, use the vpc domain command. To remove a vPC domain, use the no form of this command.

vpc domain domain-id

no vpc domain domain-id

 
Syntax Description

domain-id

Domain ID for the vPC. The range of numbers is from 1 to 1000. You must use unique vPC IDs for each vPC within a single virtual device context (VDC).

 
Defaults

None

 
Command Modes

Any command mode

 
Supported User Roles

network-admin

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

You must enable the vPC feature before you can create a vPC domain.

You put all vPC interfaces, including the vPC peer link, on both of the vPC peer devices into the identical vPC domain. You must have unique vPC domain numbers within each VDC. Once you create a vPC domain, the system automatically creates a vPC system MAC address that is unique to that vPC.

You also use this command to enter the vpc-domain command mode in order to configure vPC parameters.

This command does not require a license.

Examples

This example shows how to create a vPC domain:

switch# configure treminal
switch(config)# vpc domain 5
switch(config-vpc-domain)#
 

This example shows how to enter the vpc-domain command mode to configure an existing vPC domain:

switch# configure treminal
switch(config)# vpc domain 5
switch(config-vpc-domain)#
 

 
Related Commands

Command
Description

show vpc brief

Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.

vpc orphan-port suspend

To suspend a vPC orphan port along with vPC ports, use the vpc orphan-port suspend command in interface-configuration mode. Use the no form of this command to revert to default settings.

vpc orphan-port suspend

no vpc orphan-port suspend

 
Syntax DescriptionThis command has no arguments or keywords.

This command has no arguments or keywords.

 
Defaults

None

 
Command Modes

Interface configuration mode.

 
Command History

Release
Modification

5.0(3)N2(1)

This command was introduced.

 
Usage Guidelines

The term “orphaned ports” refers to switch ports connected to single-attached hosts, or vPC ports whose members are all connected to a single vPC peer in a vPC VLAN. End-host can either be attached to a single vPC switch or connected to a vPC pair of switches in an active-standby mode with orphan ports. When a vPC peer-link goes down, while the peer-keepalive link is up, vPC secondary switch suspends all its vPC ports. All the interface VLANs for the vPC VLAN are also brought down during this process. However, orphan ports attached to the vPC secondary switch are not suspended. This may cause traffic disruption for the hosts connected to orphan ports as there is no Layer 3 connectivity for end host through the secondary switch. To suspend the vPC orphan ports along with the vPC ports, use the vpc orphan-port suspend command in interface-configuration mode. The vpc orphan-port suspend command can be configured on an orphan port that needs to be disconnected from the secondary-operational switch when the vPC peer-link fails.

Examples

This example shows how to suspend an orphan port:

switch(config)# interface ethernet 1/20
switch(config-if)# vpc orphan-port suspend
switch(config-if)#

 
Related Commands

Command
Description

show vpc brief

Displays brief information about the vPCs.

show vpc orphan-ports

Displays information about orphan ports.

dual-active exclude interface-vlan

Ensures that specified VLAN interfaces do not go down on the vPC secondary device when the vPC peer link fails.