show ldp traffic-statistics
Syntax
show ldp traffic-statistics <instance instance-name> <logical-system (all | logical-system-name)> <p2mp>
Description
Display Label Distribution Protocol (LDP) traffic statistics.
If nonstop active routing features is configured, show
ldp traffic-statistics
command is not supported on backup Routing Engines.
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. |
p2mp |
(Optional) Display only the data traffic statistics for a point-to-multipoint LSP. |
Additional Information
To collect output from this command on a periodic basis, configure the
traffic-statistics
statement for the LDP protocol. For more information, see the Junos MPLS
Applications Configuration Guide.
Required Privilege Level
view
Output 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.
Field Name |
Field Description |
---|---|
|
LDP message types. |
|
Forwarding equivalence class (FEC) for which LDP traffic statistics are collected. For P2MP LSPs, FEC appears as a combination of root address and the LSP ID
( For
multipoint LDP P2MP LSPs, FEC appears as a combination of root address multicast
source address, and multicast group address
( |
|
Type of traffic originating from a router, either |
|
Number of packets passed by the FEC since its LSP came up. |
|
Number of bytes of data passed by the FEC since its LSP came up. |
|
Whether a label is shared by prefixes: |
|
The next hop address for P2MP LSPs. (This is the downstream LDP Session ID.) |
|
For multipoint LDP with multicast-only fast reroute (MoFRR), the multipoint LDP node selects two separate upstream peers and sends two separate labels, one to each upstream peer. The same algorithm described in RFC 6388 is used to select the primary upstream path. The backup upstream path selection again uses the same algorithm but excludes the primary upstream LSR as a candidate. Two streams of MPLS traffic are sent to the egress node from the two different upstream peers. The MPLS traffic from only one of the upstream neighbors is selected as the primary path to accept the traffic, and the other becomes the backup path. The traffic on the backup path is dropped. When the primary upstream path fails, the traffic from the backup path is then accepted. The multipoint LDP node selects the two upstream paths based on the interior gateway protocol (IGP) root node next hop. Multiple MPLS labels are used to control MoFRR stream selection. Each label represents a separate route, but each references the same interface list check. Only the primary label is forwarded while all others are dropped. Multiple interfaces can receive packets using the same label. |
|
For multipoint LDP with MoFRR, the route that is used if the primary route becomes unavailable. |
Interface |
Name of the point-to-multipoint interface for which statistics are displayed. |
type |
Type of LDP traffic on the interface. |
Sample Output
- show ldp traffic-statistics
- show ldp traffic-statistics p2mp (Ingress or transit router only, Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
- show ldp traffic-statistics p2mp (Multipoint LDP with Multicast-Only Fast Reroute)
- show ldp traffic-statistics interface p2mp (Multipoint LDP Interfaces)
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 FEC(root_addr:lsp_id) Nexthop Packets Bytes Shared 10.255.72.160:16777217 192.168.8.81 152056 14597376 No 192.168.8.1 152056 14597376 No 192.168.8.65 152056 14597376 No NET FEC Statistics: FEC Type Packets Bytes Shared 10.255.107.230/32 Transit 30858 2022345 No Ingress 20 5120 No
show ldp traffic-statistics p2mp (Ingress or transit router only, Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
user@host> show ldp traffic-statistics p2mp P2MP FEC Statistics: FEC(root_addr:lsp_id/grp,src) Nexthop Packets Bytes Shared 10.11.0.73:239.10.0.1,10.98.0.10 10.99.0.117 243408 121217184 No 10.99.0.13 236286 117670428 No 10.11.0.73:239.10.0.2,10.98.0.10 10.99.0.117 248800 123902400 No 10.99.0.13 240759 119897982 No 10.11.0.73:239.10.0.1,10.98.0.20 10.99.0.117 250286 124642428 No 10.99.0.13 243741 121383018 No 10.11.0.73:239.10.0.2,10.98.0.20 10.99.0.117 252970 125979060 No 10.99.0.13 245218 122118564 No
show ldp traffic-statistics p2mp (Multipoint LDP with Multicast-Only Fast Reroute)
user@host> show ldp traffic-statistics p2mp P2MP FEC Statistics: FEC(root_addr:lsp_id/grp,src) Nexthop Packets Bytes Shared 10.1.1.1:232.1.1.1,192.168.219.11, Label: 301568 10.1.8.2 0 0 No 10.1.4.2 0 0 No 10.1.1.1:232.1.1.1,192.168.219.11, Label: 301584, Backup route 10.1.4.2 0 0 No 10.1.8.2 0 0 No 10.1.1.1:232.1.1.2,192.168.219.11, Label: 301600 10.1.8.2 0 0 No 10.1.4.2 0 0 No 10.1.1.1:232.1.1.2,192.168.219.11, Label: 301616, Backup route 10.1.4.2 0 0 No 10.1.8.2 0 0 No
show ldp traffic-statistics interface p2mp (Multipoint LDP Interfaces)
user@host> show ldp traffic-statistics interface p2mp Receive Transmit Interface type Packets Bytes Packets lo0.0 p2mp 0 0 0 ge-0/0/0.0 p2mp 10 920 0 ge-0/0/1.0 p2mp 0 0 0 ge-0/0/2.0 p2mp 0 0 0 ge-0/0/3.0 p2mp 0 0 5 ge-0/0/4.0 p2mp 0 0 10 ge-0/0/5.0 p2mp 0 0 15
Release Information
Command introduced before Junos OS Release 7.4.
p2mp
option added in Junos OS Release 11.2.