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.
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number | Specifies the type and number of an interface. | - |
Run the display static-route ldp-sync command to view synchronization between LDP and static routes to diagnose faults 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.
# Display information about the outbound interface of the static route configured with synchronization between LDP and static routes.
<HUAWEI> display static-route ldp-sync Total number of routes enable Ldp-Sync: 2 ----------------------------------------------------- Interface GigabitEthernet0/0/1 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 GigabitEthernet0/0/2 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 = 20.1.1.1. -----------------------------------------------------
Item |
Description |
---|---|
Total number of routes enable Ldp-Sync |
Number of static routes configured with synchronization between LDP and static routes. |
Interface GigabitEthernet0/0/1 |
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 GE1/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:
|
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. |