V Commands

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).

Command Default

None

Command Modes

Any command
mode


network-admin

Command History

Release

Modification

5.2(1)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#config t 
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#config t 
switch(config)#vpc domain 5 
switch(config-vpc-domain)# 

vpc orphan-port suspend

To suspend a vPC orphan port along with vPC ports, use the vpc orphan-ports 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 Description

This command has no arguments or keywords.

Command Default

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-ports suspend command in interface-configuration mode. The vpc orphan-ports 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)#