3com 3031 Instruccion De Instalación
686
C
HAPTER
53: MPLS B
ASIC
C
APABILITY
C
ONFIGURATION
Perform the following configuration in System View.
Displaying and
Debugging LDP
LDP display commands
The software provides abundant MPLS monitoring commands for monitoring
states of LSRs, LDP sessions, interfaces and peers. These commands are powerful
debugging and diagnosing tools.
states of LSRs, LDP sessions, interfaces and peers. These commands are powerful
debugging and diagnosing tools.
After accomplishing the configuration tasks described earlier, you can execute the
display
command in any view to view the running state of LDP and thus to
evaluate the effect of the configurations.
Debugging commands
Execute
debugging
command in user view for the debugging of various messages
related to LDP.
all
: Displays all LDP-related debugging information
main
: Displays debugging information about LDP main tasks
advertisement
: Displays debugging information in processing LDP
advertisements
Table 784 Enabling 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
Disable the lsp trap function of MPLS
undo snmp-agent trap enable lsp
Table 785 LDP monitoring commands
Operation
Command
Display LDP information
display mpls ldp
Display buffer information for LDP
display mpls ldp buffer-info
Display LDP interface information
display mpls ldp interface
Display LDP label information
display mpls ldp lsp
Display LDP session peer information
display mpls ldp peer
Display information of the remote-peers in
the LDP sessions
the LDP sessions
display mpls ldp remote
Display information of the LDP pool
display mpls ldp pool
Display states and parameters of LDP
sessions
sessions
display mpls ldp session
Table 786 MPLS diagnosis commands
Operation
Command
Enable MPLS diagnosis
debugging ldp { all | main | interface |
advertisement | session | pdu | notification }
Disable MPLS diagnosis
undo debug ldp { all | main | interface |
advertisement | session | pdu | notification }