< Home

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 synchronization between LDP and static routes.

Format

display static-route ldp-sync [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

By running the display static-route ldp-sync command displays synchronization 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 synchronization 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 synchronization between LDP and static routes is displayed.

Example

# Display information about the outbound interface of the static route configured with synchronization between LDP and static routes.

<sysname> display static-route ldp-sync
Total number of routes enable Ldp-Sync: 2
-----------------------------------------------------
Interface GE0/0/0
Enable ldp-sync static routes number: 1
Static-route ldp-sync holddown timer: 20s
Sync state: Normal
Dest = 4.4.4.4, Mask = 32, NextHop = 10.1.1.1.
-----------------------------------------------------
Interface GE0/0/0
Enable ldp-sync static routes number: 1
Static-route ldp-sync holddown timer: 10s
Sync state: Normal
Dest = 4.4.4.4, Mask = 32, NextHop = 10.10.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 synchronization between LDP and static routes

Interface GE0/0/0

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

Enable ldp-sync static routes number

Number of static routes enabled with synchronization between LDP and static routes, with an outbound interface of GE 1/0/0

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 synchronization between LDP and static routes:
  • Normal
  • HoldDown

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 >