34
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable
SNMP
notifications for LDP.
snmp-agent trap enable ldp
By default, SNMP notifications for
LDP are enabled.
For more information about SNMP notifications, see
Network Management and Monitoring
Configuration Guide
.
Displaying and maintaining LDP
Execute
display
commands in any view.
Task
Command
Display LDP discovery information.
display mpls ldp discovery
[
vpn-instance
vpn-instance-name
]
[
interface
interface-type interface-number
|
peer
peer-lsr-id
|
targeted-peer
peer-lsr-id
] [
verbose
] [
standby slot
slot-number
]
Display LDP FEC-label mapping
information.
display mpls ldp fec
[
vpn-instance
vpn-instance-name
]
[
destination-address
mask-length
|
summary
] [
standby slot
slot-number
]
Display LDP interface information.
display mpls ldp interface
[
interface-type interface-number
]
Display LDP-IGP synchronization
information.
display mpls ldp igp sync
[
interface
interface-type
interface-number
]
Display LDP LSP information.
display mpls ldp lsp
[
vpn-instance
vpn-instance-name
]
[
destination-address
mask-length
]
Display LDP running parameters.
display mpls ldp parameter
[
vpn-instance
vpn-instance-name
]
Display LDP peer and session
information.
display mpls ldp peer
[
vpn-instance
vpn-instance-name
]
[
peer-lsr-id
] [
verbose
] [
standby slot
slot-number
]
Display LDP summary information.
display mpls ldp summary
[
all
|
vpn-instance
vpn-instance-name
] [
standby slot
slot-number
]
LDP configuration examples
LDP LSP configuration example
Network requirements
Switch A, Switch B, and Switch C all support MPLS.
Configure LDP to establish LSPs between Switch A and Switch C, so subnets 11.1.1.0/24 and
21.1.1.0/24 can reach each other over MPLS.
Configure LDP to establish LSPs only for destinations 1.1.1.9/32, 2.2.2.9/32, 3.3.3.9/32, 11.1.1.0/24,
and 21.1.1.0/24 on Switch A, Switch B, and Switch C.
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...