Quick Reference Guide

614 MLAG
role priority
Use the role priority command to configure the priority value used on a
switch for primary/secondary role selection. The primary switch is responsible
for maintaining and propagating spanning-tree and link-aggregation to the
secondary switch.
Use the no form of the command to return the switch priority to the default
value.
Syntax
role priority
value
no role priority
Value—The local switch priority value. (The range is 1-255.)
Default Configuration
The default priority value is 100.
Command Modes
MLAG Domain Configuration mode
User Guidelines
This value is used for the MLAG role election and is sent to the MLAG peer
in the MLAG keepalive messages. The MLAG switch with the numerically
lower priority value becomes the Primary and the switch with higher priority
becomes the Secondary. If both the MLAG peer switches have the same role
priority, the device with lower system MAC address becomes the Primary
switch.
Changes to the priority value are not preemptive. The keepalive role selection
state machine is not restarted even if the keepalive priority is modified post
election. This means that priority value changes in a running MLAG domain
do not affect the selection of the primary and secondary switches. In order for
changes to take effect, disable the VPC with the no feature vpc command
and re-enable it.
Example
console(config-vpc 1)#role priority 30
2CSNXXX_SWUM200.book Page 614 Tuesday, December 10, 2013 1:22 PM