The mpls rsvp-te resv-rro command configures record route objects (RROs) carried in Resv messages.
The undo mpls rsvp-te resv-rro command restores the default setting.
By default, the labels carried in the transit LSP RRO in turn are inbound interface address with upstream label, LSR ID with upstream label, and outbound interface address. The labels carried in the egress LSP RRO in turn are inbound interface address with upstream label, LSR ID with upstream label.
mpls rsvp-te resv-rro transit { { incoming | incoming-with-label } | { routerid | routerid-with-label } | { outgoing | outgoing-with-label } } *
mpls rsvp-te resv-rro egress { { incoming | incoming-with-label } | { routerid | routerid-with-label } } *
undo mpls rsvp-te resv-rro transit
undo mpls rsvp-te resv-rro egress
Parameter | Description | Value |
---|---|---|
transit | Indicates a transit node. | - |
incoming | Indicates an inbound interface address. | - |
incoming-with-label | Indicates an inbound interface address and upstream label. | - |
routerid | Indicates an LSR ID. | - |
routerid-with-label | Indicates an LSR ID and an upstream label. | - |
outgoing | Indicates an outbound interface address. | - |
outgoing-with-label | Indicates an outbound interface address and a downstream label. | - |
egress | Indicates an egress. | - |
Usage Scenario
Two devices of different types must have the same RRO configuration to ensure that they can communicate with each other. You can run the mpls rsvp-te resv-rro command to configures RROs carried in Resv messages.
Precautions
The modification takes effect only for new LSPs.
# Configure the transit LSP RRO to carry the following labels: LSR ID with upstream label, inbound interface address, and outbound interface address with downstream label.
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te resv-rro transit routerid-with-label incoming outgoing-with-label
# Configure the egress LSP RRO to carry the following labels: LSR ID with upstream label, and inbound interface address.
<HUAWEI> system-view [HUAWEI] mpls [HUAWEI-mpls] mpls rsvp-te resv-rro egress routerid-with-label incoming