R0106-HP MSR Router Series MPLS Command Reference(V7)
20
vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a string of 1 to 31 case-sensitive
characters. If you do not specify a VPN instance, the command enables MPLS forwarding statistics for the
public-network LSPs.
ipv4 ipv4-destination mask-length: Specifies the IPv4 LSP for an FEC specified by an IPv4 address and a
mask length. The mask length is in the range of 0 to 32.
ipv6 ipv6-destination prefix-length: Specifies the BGP-IPv6 LSP for an FEC specified by an IPv6 address
and a prefix length. The prefix length is in the range of 0 to 128.
static: Specifies static LSPs and static CRLSPs.
te ingress-lsr-id tunnel-id: Specifies an RSVP-TE tunnel. The ingress-lsr-id represents the LSR ID of the ingress
node of the tunnel. The tunnel-id argument represents the ID of the tunnel. The following matrix shows the
value ranges for the tunnel-id argument:
Hardware Value ran
g
e
MSR2000 0 to 1023
MSR3000 0 to 2047
MSR4000 0 to 4095
Usage guidelines
MPLS label forwarding forwards a labeled packet based on its incoming label. MPLS label forwarding
statistics is enabled by this command.
FTN forwarding adds a label to an unlabeled packet, and forwards the labeled packet. FTN forwarding
statistics collection is enabled by the mpls-forwarding statistics prefix-list command in RIB IPv4 address
family view.
To display MPLS label forwarding statistics by using the display mpls lsp verbose command, you must
perform the following tasks:
1. Use the mpls statistics command to enable the MPLS label forwarding statistics function.
2. Use the mpls statistics interval command to enable the MPLS statistics reading function.
Examples
# Enable MPLS label forwarding statistics for the LSP destined for 2.2.2.2/32.
<Sysname> system-view
[Sysname] mpls statistics ipv4 2.2.2.2 32
Related commands
• display mpls lsp verbose
• mpls statistics interval
• reset mpls statistics
mpls statistics interval
Use mpls statistics interval to enable MPLS label forwarding statistics reading and specify the reading
interval.
Use undo mpls statistics interval to disable label MPLS forwarding statistics reading.