R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101
98
reverse-route preference
Syntax
reverse-route preference preference-value
undo reverse-route preference
View
IPsec policy view
Default level
2: System level
Parameters
preference-value: Sets a preference value for the static routes created by IPsec RRI. The value range is 1
to 255. A smaller value represents a higher preference.
Description
Use reverse-route preference to change the preference of the static routes created by IPsec RRI.
Use undo reverse-route preference to restore the default.
The default preference for the static routes created by IPsec RRI is 60.
When you change the route preference, static IPsec RRI deletes all static routes it has created and creates
new static routes. In contrast, dynamic IPsec RRI applies the new preference only to subsequent static
routes. It does not delete or modify static routes it has created.
Related commands: reverse-route.
Examples
# Set the preference to 100 for static routes populated by IPsec RRI.
<Sysname>system-view
[Sysname] ipsec policy 1 1 isakmp
[Sysname-ipsec-policy-isakmp-1-1] reverse-route preference 100
reverse-route tag
Syntax
reverse-route tag tag-value
undo reverse-route tag
View
IPsec policy view
Default level
2: System level
Parameters
tag-value: Sets a route tag for the static routes. The value range is 1 to 4294967295.
Description
Use reverse-route tag to set a route tag for the static routes created by IPsec RRI. This tag helps in
implementing flexible route control through routing policies.