To display information about the virtual port-channel (vPC) role of the peer device, use the show vpc role command.
show vpc role
This command has no arguments or keywords.
None
Any command mode
|
Release
|
Modification
|
|---|---|
|
4.1(3)N1(1)
|
This command was introduced.
|
The show vpc role command displays the following information about the vPC status:
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information on enabling vPCs.
This example shows how to display the vPC role information of the device that you are working on:
When you reload the primary vPC peer device, the secondary vPC peer device assumes the role of the primary device. This example shows how the vPC role displays then on the new primary device:
|
Command
|
Description
|
|---|---|
|
role
|
Assigns a primary or secondary role to a vPC device.
|
|
show vpc brief
|
Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.
|
|
show port channel summary
|
Displays information about port channels.
|