3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1562 CHAPTER 95: MPLS BASICS CONFIGURATION COMMANDS
Related command: static-lsp egress, static-lsp ingress.
Example # 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
Syntax statistics interval interval-time
undo statistics interval
View MPLS view
Parameter interval-time: Statistics Interval, in the range 30 to 65,535 seconds.
Description Use the
statistics interval command to set the statistics interval, that is, the
interval for collecting statistics.
Use the
undo statistics interval command to restore the default.
By default, the interval is 0.
Related command: display mpls statistics interface, display mpls statistics lsp.
Example # Set the statistics interval to 30 seconds.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] statistics interval 30
tracert lsp
Syntax 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 }
View Any view
Parameter -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.