RSVP LSP and LDP FEC statistics allow operators to monitor traffic being forwarded between any two PE routers and for all services using an RSVP or LDP SDP. If the LSP is used as a shortcut to transport BGP LU, VPRN traffic over MP-BGP or IGP prefixes, statistics are collected for these IP packets being forwarded.
The following statistics are collected for each RSVP LSP or LDP FEC:
per forwarding class forwarded in-profile packet count
per forwarding class forwarded in-profile byte count
per forwarding class forwarded out-of-profile packet count
per forwarding class forwarded out-of-profile byte count
For an RSVP LSP, these counters are available for the egress data path at the ingress LER and for the ingress data path at the egress LER.
For an LDP FEC, these counters are available for the egress data path at the ingress LER and LSR. Because an ingress LER is also potentially an LSR for an LDP FEC, combined egress data path statistics are provided whenever applicable.
OAM packets that are forwarded using LSP encapsulation, such as LSP ping and LSP trace, are also included in the above counters.
Dropped packets and bytes for an RSVP LSP or LDP FEC are not counted on the ingress LER.
Octet counters are for the entire frame and include the label stack and Layer 2 header and padding, similar to existing MPLS interface counters. For that reason, ingress and egress octet counters for an RSVP LSP may differ slightly if the type of interface or encapsulation is different (POS, Ethernet null, or Ethernet dot1q).
RSVP LSP and LDP FEC statistics counters can be retrieved by:
using the CLI show command for the RSVP LSP or the LDP FEC
using the CLI monitor command applied to a specific RSVP LSP or LDP FEC
using an SNMPv3 interface to query the MIB
accessing an accounting file if statistics collection is enabled with the default or a user-specified accounting policy for the RSVP LSP or LDP FEC
RSVP LSP and LDP FEC statistics counters are not saved to an accounting file unless statistics collection is enabled and the specific RSVP LSP or LDP FEC statistics collection record is included in the default accounting policy or in a user-defined accounting policy using the following commands:
RSVP LSP ingress data path counters
config>router>mpls>ingress-statistics>lsp>collect-stats
config>router>mpls>ingress-statistics>lsp>accounting-policy policy-id
RSVP LSP egress data path counters
config>router>mpls>lsp>egress-statistics>collect-stats
config>router>mpls>lsp>egress-statistics>accounting-policy policy-id
LDP FEC egress data path counters
config>router>ldp>egress-statistics>fec-prefix>collect-stats
config>router>ldp>egress-statistics>fec-prefix>accounting-policy policy-id