display static-route ldp-sync

Function

The display static-route ldp-sync command displays information about the outbound interface of a static route configured with association between LDP and static routes.

Format

display static-route ldp-sync [ interface { interface-name | interface-type interface-number } ]

Parameters

Parameter Description Value
interface interface-type

Specifies the type of an interface.

-

interface-number

Specifies the number of an interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

By running the display static-route ldp-sync command displays association between LDP and static routes in order to diagnose fault in static routes.

  • If no outbound interface is specified, information about all outbound interfaces of the static routes configured with association between LDP and static routes is displayed.
  • If an outbound interface is specified, information about the specified outbound interface of the static routes configured with association between LDP and static routes is displayed.

Example

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

# Display information about the outbound interface of the static route configured with association between LDP and static routes.
<HUAWEI> display static-route ldp-sync
Total number of routes enable Ldp-Sync: 1
-----------------------------------------------------
Interface Vbdif100
Enable ldp-sync static routes number: 1
Static-route ldp-sync holddown timer: 20s
Sync state: HoldDown
Dest = 4.4.4.4, Mask = 32, NextHop = 10.1.1.1.
-----------------------------------------------------
Table 1 Description of the display static-route ldp-sync command output
Item Description
Total number of routes enable Ldp-Sync

Number of static routes configured with association between LDP and static routes.

Interface Vbdif100

Outbound interface of the static route configured with association between LDP and static routes.

Enable ldp-sync static routes number

Number of static routes enabled with association between LDP and static routes, with an outbound interface of Vlanif100.

Static-route ldp-sync holddown timer

Time during which the static route remains inactive and waits for an LDP session to be established.

Sync state

Status of association between LDP and static routes:

  • HoldDown: LDP and static routes are associated.
  • Normal: Association between LDP and static routes is enabled, and the Hold-down timer expires.
Dest

Destination address of the static route.

Mask

Mask length of the destination address of the static route.

NextHop

Next-hop address of the static route.

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