3com 8807 User Guide

Page of 883
522
C
HAPTER
 48: MPLS B
ASIC
 C
APABILITY
 C
ONFIGURATION
Displaying MPLS-enabled interfaces
After accomplishing the configuration tasks mentioned previously, you can 
execute the display command in any view to view the information related to the 
MPLS-enabled interfaces and thus to evaluate the effect of the configurations.
Displaying MPLS LSP information
Execute the following commands in any view to display the information related to 
MPLS LSP.
Debugging MPLS
You may execute the debugging command in user view to debug the 
information concerning all interfaces with MPLS function enabled.
As enabling debugging may affect the router performance, you are recommended 
to use this command when necessary. Execute the undo form of this command to 
disable the corresponding debugging.
Trap information of MPLS
This command is used to enable the trap function of MPLS during an LSP/LDP 
setup process.
Perform the following configuration in system view.
Table 515   Display statistics information of static LSP
Operation 
Command 
Displaying the MPLS statistics information or 
LSP information of all ports or a single VLAN 
interface 
display mpls statistics { interface { 
Vlan-interface | all } | lsp { lsp-Index | all 
lsp
-name }
Table 516   Display information of the MPLS-enabled interfaces
Operation 
Command 
Display information of the MPLS-enabled interfaces 
display mpls interface
Table 517   Display the information about MPLS LSP
Operation 
Command 
Display the information about MPLS LSP 
display mpls lsp [ include text | verbose ]
Table 518   Enable/disable debugging for MPLS
Operation 
Command 
Enable debugging for MPLS LSP 
debugging mpls lspm { agent | all | event | ftn | 
interface | packet | policy process | vpn } 
Disable debugging for MPLS LSP 
undo debugging mpls lspm { agent | all | event | ftn | 
interface | packet | policy process | vpn }
Table 519   Enable the trap function of MPLS
Operation 
Command 
Enable the LDP Trap function of MPLS 
snmp-agent trap enable ldp 
Disable the LDP Trap function of MPLS 
undo snmp-agent trap enable ldp 
Enable the LSP Trap function of MPLS 
snmp-agent trap enable lsp