HP MSR2000/3000/4000 Router Series MPLS Command Reference

51
peer peer-id: Specifies a peer by its LSR ID. If you do not specify a peer, the command resets all LDP
sessions in the specified VPN instance or the public network.
Usage guidelines
Resetting an LDP session deletes and re-establishes the session and all LSPs based on the session.
To apply new parameters except the MD5 authentication key to an LDP session, you must use this
command to reset the LDP session.
Examples
# Reset all LDP sessions in the public network.
<Sysname> reset mpls ldp
# Reset all LDP sessions in the VPN instance vpn1.
<Sysname> reset mpls ldp vpn-instance vpn1
snmp-agent trap enable ldp
Use snmp-agent trap enable ldp to enable SNMP notifications for LDP.
Use undo snmp-agent trap enable ldp to disable SNMP notifications for LDP.
Syntax
snmp-agent trap enable ldp
undo snmp-agent trap enable ldp
Default
SNMP notifications for LDP are enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command 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.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
Examples
# Enable SNMP notifications for LDP.
<Sysname> system-view
[Sysname] snmp-agent trap enable ldp
vpn-instance
Use vpn-instance to enable LDP for a VPN instance and enter LDP-VPN instance view.
Use undo vpn-instance to delete the LDP-VPN instance.