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