reverse-route tag
Use reverse-route tag to set a route tag for the static routes created by IPsec RRI.
Use undo reverse-route tag to restore the default.
Syntax
reverse-route tag tag-value
undo reverse-route tag
Default
The route tag value is 0 for the static routes created by IPsec RRI.
Views
IPsec policy view
IPsec policy template view
Predefined user roles
network-admin
mdc-admin
Parameters
tag-value: Specifies a tag value. The value range is 1 to 4294967295.
Usage guidelines
The tag value set by this command helps in implementing flexible route control through routing policies.
When you change this tag value in an IPsec policy, the device deletes all IPsec SAs created by this IPsec policy, and all associated static routes.
Examples
# Set the tag value to 50 for the static routes created by IPsec RRI.
<Sysname>system-view [Sysname] ipsec policy 1 1 isakmp [Sysname-ipsec-policy-isakmp-1-1] reverse-route tag 50
Related commands
ipsec policy
ipsec policy-template