peer-switch
To enable the virtual port channel (vPC) switch pair to appear as a single Spanning Tree Protocol (STP) root in the Layer 2 topology, use the peer-switch command. To disable the peer switch vPC topology, use the no form of this command.
peer-switch
no peer-switch
Syntax Description
This command has no arguments or keywords.
Command Default
Peer switch Layer 2 topology is disabled.
Command Modes
vPC domain configuration mode
network-admin
Command History
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enable the vPC switch pair to appear as a single STP root in the Layer 2 topology:
switch(config)#vpc domain 5
switch(config-vpc-domain)#peer-switch
2010 Apr 28 14:44:44 switch
%STP-2-VPC_PEERSWITCH_CONFIG_ENABLED: vPC peer-switch configuration is enabled.
Please make sure to configure spanning tree "bridge" priority as per
recommended guidelines to make vPC peer-switch operational.