70
display mpls ldp session all statistics
Description
Use the
display mpls ldp session all
statistics
command to display statistics about all LDP sessions.
Syntax
display mpls ldp session
all
statistics
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case-sensitive string of 1 to 256
characters.
Examples
# Display statistics about all LDP sessions.
<Sysname> display mpls ldp session all statistics
Total number of sessions : 1024
Session(s) in Non-Existent state : 100
Session(s) in Initialized state : 200
Session(s) in Open-Received state : 400
Session(s) in Open-Sent state : 300
Session(s) in Operational state : 24
display mpls lsp
Description
Use the
display mpls lsp
command to display information about LSPs.
With no parameters specified, the command displays information about all LSPs.
Related commands:
display mpls lsp
,
display mpls static-lsp
and
display mpls statistics lsp
.
This command supports only VLAN interfaces and Layer 3 Ethernet interfaces.
Syntax
display mpls lsp
[
incoming-interface
interface-type interface-number
] [
outgoing-interface
interface-type
interface-number
] [
in-label
in-label-value
] [
out-label
out-label-value
] [
asbr
| [
vpn-instance
vpn-
instance-name
] [
protocol
{
bgp
|
bgp-ipv6
|
crldp
|
ldp
|
rsvp-te
|
static
|
static-cr
} ] ] [
egress
|
ingress
|
transit
] [ {
exclude
|
include
}
dest-addr mask-length
] [
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]