show ldp traffic-statistics
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
Display Label Distribution Protocol (LDP) traffic statistics.
Options
- none
Display LDP traffic statistics for all routing instances.
- instance instance-name
(Optional) Display LDP traffic statistics for the specified routing instance only.
- logical-system (all | logical-system-name)
(Optional) Perform this operation on all logical systems or on a particular logical system.
Additional Information
To obtain output from this command, you must configure the traffic-statistics statement for the LDP protocol. For more information, see the Junos MPLS Applications Configuration Guide.
Required Privilege Level
view
Related Topics
List of Sample Output
show ldp traffic-statisticsOutput Fields
Table 1 lists the output fields for the show ldp traffic-statistics command. Output fields are listed in the approximate order in which they appear.
Table 1: show ldp traffic-statistics Output Fields
Field Name | Field Description |
|---|---|
Message type | LDP message types. |
FEC | Forwarding equivalence class (FEC) for which LDP traffic statistics are collected. |
Type | Type of traffic originating from a router, either Ingress (originating from this router) or Transit (forwarded through this router). |
Packets | Number of packets passed by the FEC since its LSP came up. |
Bytes | Number of bytes of data passed by the FEC since its LSP came up. |
Shared | Whether a label is shared by prefixes: Yes or No. A Yes value indicates that several prefixes are bound to the same label (for example, when several prefixes are advertised with an egress policy). The LDP traffic statistics for this case apply to all the prefixes and should be treated as such. |
Sample Output
show ldp traffic-statistics
user@host> show ldp traffic-statistics FEC Type Packets Bytes Shared
10.35.3.0/30 Transit 0 0 Yes
Ingress 0 0 No
10.35.10.1/32 Transit 0 0 Yes
Ingress 0 0 No
10.255.245.214/32 Transit 0 0 No
Ingress 11 752 No
192.168.37.36/30 Transit 0 0 Yes
Ingress 0 0 No
