beautypg.com

Enabling sending of mpls ttl-expired messages, Enabling snmp notifications for mpls, Displaying and maintaining mpls – H3C Technologies H3C S12500-X Series Switches User Manual

Page 20: Specifying the label type advertised by the egress

background image

9

After TTL propagation is enabled or disabled, execute the reset mpls ldp command to make the

configuration take effect. For more information about the reset mpls ldp command, see MPLS Command
Reference
.

Enabling sending of MPLS TTL-expired messages

This feature enables an LSR to generate an ICMP TTL-expired message upon receiving an MPLS packet

with a TTL of 1. If the MPLS packet has only one label, the LSR sends the ICMP TTL-expired message back
to the source through IP routing. If the MPLS packet has multiple labels, the LSR sends it along the LSP to

the egress, which then sends the message back to the source.
To enable sending of MPLS TTL-expired messages:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable sending of MPLS
TTL-expired messages.

mpls ttl expiration enable

By default, this function is enabled.

Enabling SNMP notifications for MPLS

This feature 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.
To enable SNMP notifications for MPLS:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable SNMP notifications
for MPLS.

snmp-agent trap enable mpls

By default, SNMP notifications for
MPLS are enabled.

Displaying and maintaining MPLS

Execute display commands in any view.

Task Command

Display MPLS interface information.

display mpls interface [ interface-type interface-number ]

Display usage information about MPLS
labels.

display mpls label { label-value1 [ to label-value2 ] | all }

Display LSP information.

display mpls lsp [ egress | in-label label-value | ingress |
outgoing-interface interface-type interface-number | protocol { bgp

| ldp | local | rsvp-te | static | static-cr } | transit ] [ vpn-instance

vpn-instance-name ] [ ipv4-dest mask-length | ipv6 [ ipv6-dest
prefix-length
] ] [ verbose ]