display mpls l2vc track admin-vrrp

Function

The display mpls l2vc track admin-vrrp command displays information about PWs bound to mVRRP.

Format

display mpls l2vc track admin-vrrp [ interface { interface-name | interface-type interface-number } vrid virtual-router-id ]

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an interface.

-

vrid virtual-router-id

Specifies the VRID of an mVRRP group.

The value is an integer ranging from 1 to 255.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

When configuring PW redundancy, use the mpls l2vc track admin-vrrp vrid command to bind a service PW to mVRRP and enable mVRRP to determine the primary/secondary PW status. The display mpls l2vc track admin-vrrp command displays information about the service PW bound to mVRRP.

Example

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

# Display information about a service PW bound to mVRRP. On a network deployed with PW redundancy, configure a VRRP group with the VRID being 10 and the virtual IP address being 10.1.1.100. Configure this VRRP group as an mVRRP group. Set the VC ID to 1. Bind a service PW to the mVRRP group on the NPE. The status of the mVRRP group determines the primary/secondary PW status.
<HUAWEI> display mpls l2vc track admin-vrrp interface GigabitEthernet0/1/0 vrid 10
Interface: GigabitEthernet0/1/0, admin-vrrp vrid: 10, state: Master
  PW Number : 1
 *Client Interface     : Eth-Trunk1.1
  VC State             : up
  VC ID                : 1
  VC Type              : VLAN
  Link State           : up
Table 1 Description of the display mpls l2vc track admin-vrrp command output
Item Description
admin-vrrp vrid

Indicates the VRID of the mVRRP group.

PW Number

Indicates the number of PWs bound to mVRRP.

*Client Interface

Indicates the name of the interface bound to an L2VPN.

Interface

Indicates the name of the interface bound to mVRRP.

VC State

Indicates the VC status:

  • down.
  • up.
VC ID

Indicates the VC ID. The VC ID and encapsulation type uniquely identify a VC.

VC Type

Indicates the encapsulation type of a VC:

  • ATM 1to1 VCC.
  • ATM 1to1 VPC.
  • ATM AAL5 PDU.
  • ATM AAL5 SDU.
  • ATM Nto1 VCC.
  • ATM Nto1 VPC.
  • ATM Transparent cell.
  • CEP.
  • CESoPSN basic mode.
  • Ethernet.
  • IP-interworking.
  • IP-layer2.
  • PPP.
  • SAT E1 over Packet.
  • SAT E3 over Packet.
  • SAT T1 over Packet.
  • VLAN.
Link State

Indicates the forwarding status of a PW:

  • down.
  • up.
state

Indicates the mVRRP status:

  • Master.
  • Backup.
  • Initialize.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >