R0106-HP MSR Router Series MPLS Configuration Guide(V7)
36
Specifying a DSCP value for outgoing LDP packets
To control the transmission preference of outgoing LDP packets, specify a DSCP value for outgoing LDP
packets.
To specify a DSCP value for outgoing LDP packets:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter LDP view.
mpls ldp N/A
3. Specify a DSCP value for
outgoing LDP packets.
dscp dscp-value
By default, the DSCP value for outgoing
LDP packets is 48.
Resetting LDP sessions
Changes to LDP session parameters do not take effect on existing LDP sessions. To validate the changes,
you must reset the LDP sessions.
Execute the reset mpls ldp command in user view.
Task Command
Reset LDP sessions. reset mpls ldp [ vpn-instance vpn-instance-name ] [ peer peer-id ]
Enabling SNMP notifications for LDP
This feature enables generating SNMP notifications for LDP upon LDP session changes, as defined in RFC
3815. The generated SNMP notifications are sent to the SNMP module.
To enable SNMP notifications for LDP:
Ste
p
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
(MSR2000/MSR3000).
display mpls ldp discovery [ vpn-instance vpn-instance-name ]
[ interface interface-type interface-number | peer peer-lsr-id |
targeted-peer peer-lsr-id ] [ verbose ]