Users Guide

Layer 2 Switching Commands 654
This configuration must be present on both the primary and secondary
switches.
The port channel number and VPC number can be different from each other
but the mapping must be the same on the primary and secondary MLAG
peers (i.e., the port channel number must map to the same VPC number on
both MLAG peers).
Command Modes
Port-channel mode
User Guidelines
The peer keepalive protocol is required for MLAG operation. Configure a
LAG between the two MLAG peers as an MLAG peer link before executing
this command.
Example
console(config)#interface po3
console(config-if-Po3)#switchport mode trunk
console(config-if-Po3)#switchport trunk allowed vlan 1-99,101-4093
console(config-if-Po3)#vpc 2
console(config-if-Po3)#exitconsole(config)#interface po3
console(config-if-Po3)#switchport mode trunk
console(config-if-Po3)#switchport trunk allowed vlan 1-99,101-4093
console(config-if-Po3)#vpc 2
console(config-if-Po3)#exit
vpc domain
Use the vpc domain command to enter into MLAG configuration mode. This
command creates an MLAG domain and enters into MLAG configuration
mode. Use the no form of the command to delete the VPC domain, disable
peer-keepalive and peer detection in the domain, and reset all the configured
parameters (role priority, VPC MAC address and VPC system priority) for the
VPC domain.
Syntax
vpc domain domain-id
domain-id—The MLAG domain instance. The range is 1-255.