< Home

display mpls l2vpn track route

Function

The display mpls l2vpn track route command displays information about the PWs that track VPNv4 route status.

Format

display mpls l2vpn track route [ ipv4-address { mask | mask-length } vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
ipv4-address Specifies the destination IP address of a VPNv4 route. The value is in dotted decimal notation.
mask Specifies a mask in dotted decimal notation. The value is in dotted decimal notation.
mask-length Specifies the mask length. The value is an integer ranging from 0 to 32.
vpn-instance vpn-instance-name Specifies the VPN instance name. The value must be an existing VPN instance name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In an L2VPN access to L3VPN scenario, if all L3VPN-side links of an NPE become unavailable, a black-hole route comes into existence. The user-side UPE cannot detect the link failures and still sends traffic to the NPE. As a result, traffic loss occurs. To prevent traffic loss, run the mpls l2vpn track route command to configure the PW to track VPNv4 route status. Then, after the NPE detects that all its L3VPN-side links become unavailable, the NPE instructs the UPE to switch traffic to the secondary PW.

To check information about the PWs that track VPNv4 route status, run the display mpls l2vpn track route command.

Example

# Display information about all PWs that track VPNv4 route status.

<HUAWEI> display mpls l2vpn track route
Total route number:1      reachable:0      unreachable:1     
-------------------------------------------------------------

VPN instance name : vpna
Route             : 10.1.1.1/32
Route status      : reachable                                          
PW number         : 1
VC ID      VC Type                Peer IP            VC State   
-------------------------------------------------------------
101        VLAN                   10.1.1.2           up 
Table 1 Description of the display mpls l2vpn track route command output

Item

Description

Total route number

Total number of VPNv4 routes tracked by a PW.

reachable

Number of reachable VPNv4 routes.

unreachable

Number of unreachable VPNv4 routes.

VPN instance name

VPN instance name.

Route

Destination IP address of a VPNv4 route.

Route status

VPNv4 route status:
  • reachable
  • unreachable

VC ID

ID of a VC, which uniquely identifies the VC.

VC Type

Encapsulation type of the VC:

  • VLAN
  • Ethernet

Peer IP

Peer IP address.

VC State

VC status:
  • up: The VC is established.
  • Down: The VC is not established.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >