Manually Configuring A Vpc Peer Switch Role - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring vPCs
Step 5
This example shows how to configure a vPC peer link:
switch# configure terminal
switch(config)# vpc domain 5
switch(config-if)# system-priority 4000

Manually Configuring a vPC Peer Switch Role

By default, the Cisco NX-OS software elects a primary and secondary vPC peer switch after you configure
the vPC domain and both sides of the vPC peer link. However, you may want to elect a specific vPC peer
switch as the primary switch for the vPC. Then, you would manually configure the role value for the vPC
peer switch that you want as the primary switch to be lower than the other vPC peer switch.
vPC does not support role preemption. If the primary vPC peer switch fails, the secondary vPC peer switch
takes over to become operationally the vPC primary switch. However, the original operational roles are not
restored when the formerly primary vPC comes up again.
Before You Begin
Ensure that you have enabled the vPC feature.
You must configure both switches on either side of the vPC peer link with the following procedure.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
OL-16597-01
Command or Action
switch# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# vpc domain
domain-id
switch(config-vpc-domain)# role
priority priority
switch# show vpc brief
switch# copy running-config
startup-config
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Manually Configuring a vPC Peer Switch Role
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Selects an existing vPC domain on the switch, or creates
a new vPC domain, and enters the vpc-domain
configuration mode. There is no default domain-id ; the
range is from 1 to 1000.
Enters the role priority that you want for the vPC system
priority. The range of values is from 1 to 65535. The
default value is 32667.
(Optional)
Displays information about each vPC, including
information about the vPC peer link.
(Optional)
Copies the running configuration to the startup
configuration.
143

Advertisement

Table of Contents
loading

Table of Contents