The modify sid command is used to modify an existing hop in an explicit path.
By default, no node is modified in an explicit path.
Parameter | Description | Value |
---|---|---|
index indexValue |
Specifies the index value. |
The value is an integer ranging from 1 to 96. |
to |
Specifies a range. |
- |
hop ipv4 |
Specifies an IPv4 address. If the strict mode is configured for the next hop, specify an interface address. |
The value is in dotted decimal notation. |
exclude |
Excludes the ip-address1 node from an explicit path. |
- |
include |
Includes the ip-address1 node on an explicit path. |
- |
strict |
Indicates the strict explicit path. |
- |
loose |
Indicates the loose explicit path. |
- |
incoming |
Indicates the inbound interface. |
- |
outgoing |
Indicates the outbound interface. |
- |
label contrastLabel |
Specifies the label value. |
The value is an integer ranging from 16 to 1048575. |
label-value |
Label value. |
The value is an integer ranging from 16 to 1048575. |
type |
The type of segment identifier. |
- |
adjacency |
Adjacency SID. |
- |
prefix |
Prefix SID. |
- |
binding-sid |
Binding SID. |
- |
Usage Scenario
The modify sid command is used to modify nodes for an explicit path.
Precautions
When you run this command to modify an existing hop in an explicit path, the IP address of another hop that already exists in the explicit path cannot be used.
Binding SID label type cannot be mixed with the IP type. When the IP address is changed to the SID type, the number of hops of the SID type cannot exceed 10. In addition, ensure that the RSVP-TE Tunnel interface on the local device uses the explicit path and cannot be changed to the label type.