31
To do…
Use the command…
Remarks
Display information about LDP
peers
display mpls ldp peer
[
all
[
verbose
] | [
vpn-instance
vpn-instance-name
] [
peer-id
|
verbose
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about remote
LDP peers
display mpls ldp remote-peer
[
remote-name
remote-peer-name
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about LDP
sessions between LDP peers
display mpls ldp session
[
all
[
verbose
] | [
vpn-instance
vpn-instance-name
] [
peer-id
|
verbose
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display statistics information about
all LSP sessions
display mpls ldp session
all
statistics
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
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
Display information about the
specified LDP instance
display mpls ldp vpn-instance
vpn-instance-name
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
NOTE:
The
vpn-instance
vpn-instance-name keyword-argument combination is used to specify information
about an LDP instance. For information about LDP instances, see the chapter “Configuring MPLS L3VPN.”
Clearing MPLS statistics
To do…
Use the 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
MPLS configuration examples