R2511-HP MSR Router Series MPLS Command Reference(V5)

3
[Sysname] ip ip-prefix peer-C permit 3.3.3.9 32
[Sysname] ip ip-prefix peer-D permit 4.4.4.9 32
[Sysname] mpls ldp
[Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-C peer peer-C
[Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-D peer peer-D
Related commands
ip ip-prefix (Layer 3—IP Routing Command Reference)
display mpls fast-forwarding cache
Use display mpls fast-forwarding cache to display information about MPLS fast forwarding entries.
Syntax
display mpls fast-forwarding cache [ verbose ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
verbose: Displays detailed information.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about MPLS fast forwarding entries.
<Sysname> display mpls fast-forwarding cache
Fast-Forwarding Cache: total 2 items
Label Input_If Output_If Len Flg Used
1044 GE0/0 Eth1/1 4 IP 83
1049 Eth1/1 GE0/0 8 MPLS 81
# Display detailed information about MPLS fast forwarding entries.
<Sysname> display mpls fast-forwarding cache verbose
Fast-Forwarding Cache: total 2 items
Label Input_If Output_If Len Flg Used
1044 GE0/0 Eth1/1 4 IP 15
Fast-Forwarding Cache PreIpHead:
FF 03 00 21
1049 Eth1/1 GE0/0 8 MPLS 13
Fast-Forwarding Cache PreMplsHead:
FF 03 02 81 00 46 40 FE