display vrrp binding admin-vrrp

Function

The display vrrp binding admin-vrrp command displays the bindings between an mVRRP group and a common VRRP group, between an mVRRP group and a VRRP-disabled interface, and between an mVRRP group and a service PW.

Format

display vrrp binding admin-vrrp [ interface { interface-name1 | interface-type1 interface-number1 } ] [ vrid admin-virtual-router-id ] [ { [ member-vrrp [ interface { interface-name2 | interface-type2 interface-number2 } ] [ vrid member-vrid-value ] ] | [ member-interface [ interface { interface-name2 | interface-type2 interface-number2 } ] ] | [ member-pw [ vsi vsi-name peer peer-address [ negotiation-vc-id negotiation-vc-id ] ] ] } ]

Parameters

Parameter Description Value
interface interface-type2 interface-number2

Specifies the type and number of an interface on which a member VRRP group is configured.

-

interface interface-type1 interface-number1

Specifies the type and number of an interface on which an mVRRP group is configured.

-

vrid member-vrid-value

Specifies the ID of a member VRRP group.

The value is an integer that ranges from 1 to 255.

vrid admin-virtual-router-id

Specifies the ID of an mVRRP group.

The value is an integer ranging from 1 to 255.

member-vrrp

Displays configurations of a specified member VRRP.

-

member-interface

Displays configurations of a specified member interface.

-

member-pw

Displays configurations of a specified member PW.

-

vsi vsi-name

Specifies the name of a VSI.

The value is a string of 1 to 31 characters.

peer peer-address

Specifies the IPv4 address of a peer router.

The value is in dotted decimal notation.

negotiation-vc-id negotiation-vc-id

Specifies the ID of a virtual link.

The value is an integer ranging from 0 to 4294967295 and cannot be the same as the VS ID.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vrrp read

Usage Guidelines

Usage Scenario

After configuring a binding for an mVRRP group, run the display vrrp binding admin-vrrp command to check the configuration. If the status of an object bound to an mVRRP group becomes abnormal, run the display vrrp binding admin-vrrp command to check the binding between the object and mVRRP group. The command output includes the bindings between an mVRRP group and a common VRRP group, between an mVRRP group and a VRRP-disabled interface, and between an mVRRP group and a service PW. It also includes the statuses of the mVRRP group, common VRRP group, VRRP-disabled interface, and service PW.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about an mVRRP group.
<HUAWEI> display vrrp binding admin-vrrp
Interface: GigabitEthernet0/1/21, admin-vrrp vrid: 1, state: Master
  Member-vrrp number: 1
    Interface: GigabitEthernet0/1/22, vrid: 1, state: Master
Interface: GigabitEthernet0/1/21, admin-vrrp vrid: 1, state: Master
  Member-vrrp number: 1
  VC number: 1
    Interface name: GigabitEthernet0/1/21.1, type: VLAN, state: Up
Table 1 Description of the display vrrp binding admin-vrrp command output
Item Description
admin-vrrp vrid

ID of the mVRRP group.

Member-vrrp number

Number of service VRRP groups bound to the mVRRP group.

VC number

Number of service bound to the mVRRP group.

Interface

Type and number of the interface on which the mVRRP group is configured.

Interface

Type and number of the interface on which the service VRRP group is configured.

Interface name

Name of the interface of the service bound to the mVRRP group.

state

Status of the mVRRP group:

  • Master.
  • Backup.
  • Initialize.
vrid

ID of the service VRRP group bound to the mVRRP group.

state

Status of the service VRRP group bound to the mVRRP group:

  • Master.
  • Backup.
  • Initialize.
type

Encapsulation type of the service bound to the mVRRP group.

state

Status of the service bound to the mVRRP group:

  • Up.
  • Down.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >