show vpc

To display detailed information about the virtual port channels (vPCs) configured on the switch, use the show vpc command.

show vpc [vpc-number]

Syntax Description

vpc-number

(Optional) vPC number. The range is from 1 to 4096.


Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification

4.1(3)N1(1)

This command was introduced.


Examples

This example shows how to display the vPC information:

switch# show vpc 
Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                   : 10
Peer status                     : peer adjacency formed ok
vPC keep-alive status           : peer is alive
Configuration consistency status: success
Type-2 consistency reason       : Consistency Check Not Performed
vPC role                        : secondary
Number of vPCs configured       : 1
Peer Gateway                    : Disabled
Dual-active excluded VLANs      : -

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans
--   ----   ------ --------------------------------------------------
1    Po4000 up     1,3001-3500

vPC status
----------------------------------------------------------------------------
id     Port        Status Consistency Reason                     Active vlans
------ ----------- ------ ----------- -------------------------- -----------
10     Po10        up     success     success                    3001-3200

switch#

This example shows how to display information about a specific vPC:

switch# show vpc 10 

vPC status
----------------------------------------------------------------------------
id     Port        Status Consistency Reason                     Active vlans
------ ----------- ------ ----------- -------------------------- -----------
10     Po10        up     success     success                    3001-3200

switch#

Related Commands

Command
Description

show vpc brief

Displays vPC information in a brief summary.

vpc

Configures vPC features on the switch.