1336
C
76: MPLS B
HAPTER
Setting the Interval
for Reporting
Statistics
Inspecting an MPLS
LSP
Enabling MPLS Trap
Displaying and
Maintaining MPLS
Resetting LDP Sessions
C
ASICS
ONFIGURATION
Table 50 Follow these steps to configure MPLS fast forwarding:
To do...
Enable fast forwarding in the
inbound or outbound
direction
To view LSP statistics, you must set the interval for reporting statistics at first.
Follow these steps to set the interval for reporting statistics:
To do...
Enter system view
Enter MPLS view
Set the interval for
reporting statistics
To do...
Inspect the validity and
reachability of an MPLS
LSP
Locate an MPLS LSP
error
Follow these steps to enable the MPLS trap function:
To do...
Enter system view
Enable the MPLS trap function snmp-agent trap enable
If you change any parameter of an LDP session in the state of up, the LDP session
will not be able to go on normally. In this case, to allow the involved LSRs to
renegotiate parameters and establish a new session, you can use one of these
commands to reset the LDP session:
Use the command...
ip fast-forwarding
[ inbound | outbound ]
Use the command...
system-view
mpls
statistics interval
interval-time
Use the command...
ping lsp [-a source-ip | -c count | -exp
exp-value | -h ttl-value | -m wait-time | -r
reply-mode | -s packet-size | -t time-out | -v ] *
{ ipv4 dest-addr mask-length
[ destination-ip-addr-header ] | te interface-type
interface-number }
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 }
Use the command...
system-view
mpls
Remarks
Optional
Enabled in both directions by
default
Remarks
-
-
Required
0 seconds by default, meaning that
the system should not report any
statistics.
Remarks
Available in any
view
Available in any
view
Remarks
-
Required
Disabled by default