
30
Task Command
Remarks
Display information about LSPs
established by LDP.
display mpls ldp lsp
[
all
|
[
vpn-instance
vpn-instance-name
] [
dest-addr
mask-length
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display information about
CR-LSPs established by
CR-LDP.
display mpls ldp cr-lsp
[
lspid
lsr-id lsp-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
NOTE:
The
vpn-instance
vpn-instance-name
option is used to specify information about an LDP instance.
For information about LDP instances, see "Configuring MPLS L3VPN."
Clearing MPLS statistics
Task Command
Remarks
Clear MPLS statistics for one or
all MPLS interfaces.
reset mpls statistics
interface
{
interface-type interface-number
|
all
}
Available in user view.
Clear MPLS statistics for all LSPs
or the LSP with a specific index or
name.
reset mpls statistics
lsp
{
index
|
all
|
name
lsp-name
}
Available in user view.
Clear statistics for all LSPs or the
LSP with a specific incoming
label.
reset mpls statistics
lsp
[
in-label
in-label
]
Available in user view.
Clear statistics for all public
network tunnels or the one with a
specific LSP token.
reset mpls statistics
tunnel
[
token
token
]
Available in user view.
MPLS configuration examples
Configuring static LSPs
Network requirements
Router A, Router B, and Router C support MPLS.
Establish static LSPs between Router A and Router C so that subnets 11.1.1.0/24 and 21.1.1.0/24
can access each other over MPLS. Test the connectivity of the static LSPs.