1562
C
95: MPLS B
HAPTER
Related command:
Example
statistics interval
Syntax
View
Parameter
Description
Related command:
Example
tracert lsp
Syntax
View
Parameter
C
C
ASICS
ONFIGURATION
OMMANDS
static-lsp egress, static-lsp ingress.
# Configure a static LSP, taking interface Serial 2/0 as the incoming interface and
setting the incoming label as 123 and the outgoing label as 253.
<Sysname> system-view
[Sysname] static-lsp transit bj-sh incoming-interface serial 2/0 in-
label 123 nexthop 202.34.114.7 out-label 253
statistics interval interval-time
undo statistics interval
MPLS view
interval-time: Statistics Interval, in the range 30 to 65,535 seconds.
Use the
statistics interval
interval for collecting statistics.
Use the
undo statistics interval
By default, the interval is 0.
display mpls statistics interface, display mpls statistics lsp.
# Set the statistics interval to 30 seconds.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] statistics interval 30
tracert lsp [-a source-ip | -exp exp-value | -h ttl-value | -r reply-mode |-t time-out ] *
{ ipv4 dest-addr mask-length [ destination-ip-addr-header ] | te interface-type
interface-number }
Any view
-a source-ip: Specifies the source address for the echo request message.
-exp exp-value: Specifies the EXP value for the echo request message. The
exp-value argument ranges from 0 to 7.
-h ttl-value: Specifies the TTL value for the echo request message. The ttl-value
argument ranges from 1 to 255.
command to set the statistics interval, that is, the
command to restore the default.