Configure the advanced VPC global settings

Use the advanced VPC Global Configuration page to configure an MLAG on the switch, set the MLAG domain ID, configure the shared VPC MAC address, and adjust keepalive and peer detection settings.

Before you can configure the advanced VPC global settings, you need to create a LAG on the switch. For more information, see Configure a single LAG and its membership.

Note: You must configure the VPC MAC address, VPC system priority, and domain ID identically on both MLAG peer switches. If these values differ between peers, the MLAG is not operational.

To configure the advanced VPC global settings:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Switching > MLAG > Advanced > VPC Global Configuration.
    The Advanced VPC Global Configuration page displays.
  3. In the VPC Global Configuration section, configure the following settings:
    • Domain ID: Enter a domain ID for the MLAG domain in the range of 1 to 255.
      Note: To delete the current domain ID, select the Remove Domain ID check box and click the Apply button.
    • VPC MAC Mode: Select the radio button to let the switch automatically generate the VPC MAC address using the domain ID, or select the radio button to specify a MAC address. The default is Auto.
      • Auto: The switch automatically generates the VPC MAC address using the domain ID.
      • Manual: You can specify a MAC address for the VPC domain in the VPC MAC field in xx:xx:xx:xx:xx:xx format.

        The MAC address must be a unicast address, must not match the physical MAC address of either peer switch, and must match on both peer switches. The VPC MAC address range is C0:FF:D4:A7:DA:00 to C0:FF:D4:A7:DA:FF.

    • VPC System Priority: Enter a priority value for the VPC domain in the range of 1 to 65535. The default is 32767.

    The following table describes the view-only fields in the VPC Global Configuration section.

    Table 1. VPC global configuration information
    Field Description
    Operational VPC Mode The current operational mode of VPC on the switch.
    VPC State The current state of the MLAG domain. The VPC state can be one of the following:
    • Disabled: The VPC state is disabled on this switch, or the switch has not yet established communication with a peer.
    • Listen: VPC is enabled and the switch establishes keepalive communication with its peer. This is a transitional state where no role is elected yet.
    • Ready: The peer switches can communicate and function as either the primary or secondary role, but the VPC is not yet fully operational.
    • Primary: The VPC is operational and this switch functions as the primary switch.
    • Secondary: The VPC is operational and this switch functions as the secondary switch.
    Operational VPC MAC The VPC MAC address the MLAG domain currently uses.
    Operational VPC System Priority The VPC system priority the switch currently uses.
    Self Role The role of this switch in the MLAG domain, elected after the switch establishes the keepalive link. The role can be one of the following:
    • Primary: The switch acts as the primary switch and maintains and propagates spanning-tree and link-aggregation state to the secondary.
      Note: The peer switch with the lower keepalive priority value becomes the primary switch. If both switches have equal priority values, the switch with the lower value MAC address becomes the primary switch.
    • Secondary: The switch acts as the secondary switch.
    • None: There is no elected role on the switch.
    Local System MAC The MAC address of this switch.
  4. In the Keepalive Parameters section, configure the following settings:
    • Keepalive Priority: Enter the priority value to use for primary and secondary role selection in the range of 1 to 255. The default is 100.
    • Keepalive Timeout: Enter the keepalive timeout in the range of 2 to 15 seconds. If the switch does not receive keepalive messages from the peer within this timeout period, the switch begins the process of transitioning its role. The default is 5 seconds.
    • Keepalive Admin Mode: Select the Enable or Disable radio button.
      • Enable: Activates the peer keepalive protocol.
      • Disable: Deactivates the peer keepalive protocol. This is the default setting.

    The following table describes the view-only fields in the Keepalive Parameters section.

    Table 2. Keepalive parameters information
    Field Description
    Operational Keepalive Timeout The keepalive timeout the peer keepalive state machine currently uses while keepalive is enabled. This value can differ from the configured keepalive timeout until you click the Apply button.
    Keepalive Operational Mode The current operational mode of the keepalive protocol.
  5. In the Peer Link section, configure the following settings:
    • Enable Modification: Select the Enable Modification check box to allow changes to the peer link configuration.
    • Port Channel: From the menu, select the LAG interface between 1 and 64 to configure as the VPC peer link.

      Select None to remove the LAG from the peer link.

  6. In the Peer Link section, configure the following settings:
    • Enable Modification: Select the Enable Modification check box to allow changes to the peer link configuration.
    • Port Channel: From the menu, select the LAG interface between 1 and 64 to configure as the VPC peer link.

      Select None to remove the LAG from the peer link.

    The following table describes the view-only fields in the Peer Link section.

    Table 3. Peer link information
    Field Description
    Peer Link Status The current status of the peer link.
    Peer Keepalive Priority The keepalive priority of the peer switch.
    Peer Link STP Mode The Spanning Tree Protocol administrative mode the peer link LAG currently uses.
  7. In the Peer Detection section, configure the following settings:
    • Peer Detection Mode: Select the Enable or Disable radio button.
      • Enable: Peer detection enables the switch to detect peer switches and suppresses state transitions out of the secondary state when the peer link fails.
      • Disable: This is the default setting.
    • Peer IP Address: Enter the IP address of the peer switch in X.X.X.X format.
    • Source IP Address: Enter the local source IP address to use for peer detection packets in X.X.X.X format.
    • UDP Port: Enter the UDP port number to use to listen for peer detection packets in the range of 1 to 65535.

      The default is 50000.

    • Tx Interval: Enter the peer detection transmission interval in the range of 200 to 4000 milliseconds.

      The default is 1000 milliseconds.

    • Rx Timeout: Enter the peer detection reception timeout in the range of 700 to 14000 milliseconds.

      The default is 3500 milliseconds.

      Note: The Rx Timeout value must be greater than three times the Tx Interval value, and must be less than the keepalive timeout value (in milliseconds).

    The following table describes the view-only fields in the Peer Detection section.

    Table 4. Peer detection information
    Field Description
    Peer Detection Status The current status of peer detection.
    Operational Tx Interval The peer detection transmission interval the switch currently uses.
    Operational Rx Timeout The peer detection reception timeout the switch currently uses.
  8. The following table describes the view-only fields in the Peer section.
    Table 5. Peer information
    Field Description
    Domain ID The domain ID the peer switch uses.
    VPC MAC The VPC MAC address the peer switch uses.
    Operational VPC MAC The VPC MAC address the peer switch currently uses.
    VPC System Priority The VPC system priority the peer switch uses.
    Operational VPC System Priority The VPC system priority the peer switch currently uses.
    Peer Role The role of the peer switch in the MLAG domain. Possible values are Primary, Secondary, and None.
    Local System MAC The MAC address of the peer switch.
  9. Click the Apply button.
    Your settings are saved.
  10. To save the settings to the running configuration, click the Save icon.