R0106-HP MSR Router Series MPLS Command Reference(V7)
23
Within an MPLS network, TTL is always copied between the labels of an MPLS packet. The mpls ttl
propagate command affects only the propagation between IP TTL and label TTL.
HP recommends setting the same TTL processing mode on all LSRs of an LSP.
To enable TTL propagation for a VPN, you must enable it on all PE devices in the VPN. This allows you
to obtain the same traceroute result (hop count) from those PEs.
Examples
# Enable TTL propagation for VPN packets.
<Sysname> system-view
[Sysname] mpls ttl propagate vpn
snmp-agent trap enable mpls
Use snmp-agent trap enable mpls to enable SNMP notifications for MPLS.
Use undo snmp-agent trap enable mpls to disable SNMP notifications for MPLS.
Syntax
snmp-agent trap enable mpls
undo snmp-agent trap enable mpls
Default
SNMP notifications for MPLS are enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command enables MPLS to generate SNMP notifications. 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 MPLS.
<Sysname> system-view
[Sysname] snmp-agent trap enable mpls
reset mpls statistics
Use reset mpls statistics to clear MPLS forwarding statistics for the specified LSPs.
Syntax
reset mpls statistics { all | [ vpn-instance vpn-instance-name ] { ipv4 ipv4-destination mask-length | ipv6
ipv6-destination prefix-length } | static | te ingress-lsr-id tunnel-id }
Views
User view