The mpls rsvp-te send-message command configures the formats of objects in a sent message.
The undo mpls rsvp-te send-message command restores the default configuration.
By default, the formats of objects in the sent message are not configured.
mpls rsvp-te send-message { suggest-label | extend-class-type value-length-type | session-attribute without-affinity | down-reason }
undo mpls rsvp-te send-message { suggest-label | extend-class-type value-length-type | session-attribute without-affinity | down-reason }
Parameter | Description | Value |
---|---|---|
suggest-label | Indicates that an RSVP message carries the suggest-label object. | - |
extend-class-type value-length-type | Indicates that the encoding format of the extend-class-type object in an RSVP message is value-length-type. | - |
session-attribute without-affinity | Indicates that the session-attribute in an RSVP message does not carry the affinity attribute. | - |
down-reason | Indicates that RSVP messages carry the down-reason object. | - |
Usage Scenario
The mpls rsvp-te send-message command controls the formats of objects in the messages sent by nodes. If required, you can use this command to adjust the transmission of messages so that downstream nodes can use the carried object format in processing.
When a Huawei device attempts to communicate with a non-Huawei device, RSVP messages sent by the non-Huawei device may not support the affinity attribute, causing a communication failure. To allow successful communication, run the mpls rsvp-te send-message session-attribute without-affinity command to allow the Huawei device to receive RSVP messages without the affinity attribute.
If you want an ingress to learn RSVP-TE tunnel Down causes of the transit and egress nodes, run the mpls rsvp-te send-message down-reason command on the transit and egress nodes, facilitating fault locating.
Precautions
The modification takes effect only for new LSPs.
Configurations of the four formats of objects in a sent message can take effect simultaneously.
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te send-message suggest-label
# Set the encoding format of the extend-class-type object in an RSVP message to value-length-type.
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te send-message extend-class-type value-length-type
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te send-message session-attribute without-affinity
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te send-message down-reason