The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
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
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). |
None
Any command mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
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.
This example shows how to create a vPC domain:
switch# configure terminal 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 terminal switch(config)# vpc domain 5 switch(config-vpc-domain)#
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. |
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
This command has no arguments or keywords.
None
Interface configuration mode.
Release |
Modification |
---|---|
5.0(3)N2(1) |
This command was introduced. |
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.
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)#
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. |