No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an mVRRP Group

Configuring an mVRRP Group

An mVRRP group can be bound to VRRP groups and determine the status of its bound VRRP groups. mVRRP is used when multiple VRRP groups coexist. mVRRP helps decrease the number of VRRP Advertisement packets to be sent and minimize network bandwidth and system resource consumption.

Pre-configuration Tasks

Before configuring basic functions of an mVRRP group, complete the following task:
  • Configuring network layer attributes of interfaces to ensure network connectivity

Configuring an mVRRP Group

Context

Each VRRP group needs to maintain its own state machine. Configuring an mVRRP group reduces bandwidth occupied by VRRP Advertisement packets.

Procedure
  1. Run:
    system-view

    The system view is displayed.

  2. Run:
    interface interface-type interface-number

    The interface view is displayed.

  3. On an Ethernet interface, run:

    undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    If an Ethernet interface already has Layer 2 configuration, this command fails to be executed on the interface. Before running this command on the interface, delete all the Layer 2 configuration of the interface.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. (Optional) Run:
    vrrp vrid virtual-router-id virtual-ip virtual-address

    A VRRP group is created, and a virtual IP address is assigned to the VRRP group.

    By default, no VRRP group is created.

  5. Run:
    vrrp vrid virtual-router-id admin [ ignore-if-down ]

    The VRRP group is configured as an mVRRP group.

    By default, no mVRRP group is configured.

  6. Run:
    commit

    The configuration is committed.

Configuring a VRRP Group and Binding the VRRP Group to an mVRRP Group

Context

You can bind VRRP groups to an mVRRP group so that mVRRP determines the status of the bound VRRP groups.

Procedure
  1. Run:
    system-view

    The system view is displayed.

  2. Run:
    interface interface-type interface-number

    The view of the interface where a VRRP group is configured is displayed.

  3. On an Ethernet interface, run:

    undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    If an Ethernet interface already has Layer 2 configuration, this command fails to be executed on the interface. Before running this command on the interface, delete all the Layer 2 configuration of the interface.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. Run:
    vrrp vrid virtual-router-id virtual-ip virtual-address

    A VRRP group is created, and a virtual IP address is assigned to the VRRP group.

    By default, no VRRP group is created.

    Because the mVRRP group determines the status of its member VRRP groups, you do not need to set priorities for the member VRRP groups.

  5. Run:
    vrrp vrid virtual-router-id1 track admin-vrrp interface interface-type interface-number vrid virtual-router-id2 [ unflowdown ]

    The VRRP group is bound to an mVRRP group.

    By default, no VRRP group is bound to an mVRRP group.

    After the binding is complete, the state machine of the bound VRRP group depends on the status of the mVRRP group. That is, the bound VRRP group inherits the status of the mVRRP group, deletes its VRRP Advertisement packet timeout timer, and stops sending or receiving VRRP Advertisement packets. A VRRP group can be bound to only one mVRRP group.

  6. Run:
    commit

    The configuration is committed.

(Optional) Enabling Rapid VRRP Switchback

Context

The master in a VRRP group monitors an interface or other objects such as a Bidirectional Forwarding Detection (BFD) session in Reduce mode. If a fault occurs in the monitored object, the master reduces its VRRP priority to trigger an active/standby switchover. After the fault is rectified, the monitored interface or link goes Up and the original master's priority recovers. The original master can switch back to the Master state only after the original master's VRRP priority is higher than the new master's priority and the original master receives VRRP Advertisement packets from the new master. If the active/standby switchover of the uplink is finished before the active/standby switchover of VRRP, uplink traffic is lost. To resolve this issue, enable rapid VRRP switchback.

When the original master's VRRP priority recovers, rapid VRRP switchback enables the original master to immediately switch to the master without waiting for VRRP Advertisement packets from the new master.

NOTE:

Rapid VRRP switchback takes effect for only the mVRRP group, and the mVRRP group monitors an interface or other features in Reduce mode.

Perform the following steps on the master in an mVRRP group.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The view of the interface on which an mVRRP group is configured is displayed.

  3. On an Ethernet interface, run:

    undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    If an Ethernet interface already has Layer 2 configuration, this command fails to be executed on the interface. Before running this command on the interface, delete all the Layer 2 configuration of the interface.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. (Optional) Run:

    vrrp vrid virtual-router-id preempt timer delay 0

    The preemption delay is set to 0 seconds.

    The default preemption delay is 0 seconds, indicating that the original master immediately switches to the master after it recovers.

    NOTE:

    This step is required only when you have set the preemption delay to a non-zero value.

  5. Run:

    vrrp vrid virtual-router-id fast-resume

    Rapid VRRP switchback is enabled.

    NOTE:

    The vrrp vrid fast-resume command takes precedence over the vrrp recover-delay command. For example, if you enable rapid VRRP switchback for VRRP group 1 and globally set the recovery delay to a non-0 value, the configured recovery delay does not take effect.

    After you run the vrrp vrid fast-resume command to enable rapid VRRP switchback, this function is disabled if any of the following conditions is met:
    • The preemption delay is set to a non-0 value.
    • The non-preemption mode is used.
    • The mVRRP group is deleted.

  6. Run:

    commit

    The configuration is committed.

Checking the Configuration

Procedure

  • Run the display vrrp binding [ interface admin-interface-type admin-interface-number ] [ vrid admin-virtual-router-id ] [ member-vrrp [ interface member-interface-type member-interface-number ] [ vrid member-virtual-router-id ] ] command to check the status of all mVRRP groups.
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59688

Downloads: 3623

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next