reverse-route preference
Use reverse-route preference to set the preference of the static routes created by IPsec RRI.
Use undo reverse-route preference to restore the default.
Syntax
reverse-route preference number
undo reverse-route preference
Default
The preference for the static routes created by IPsec RRI is 60.
Views
IPsec policy view
IPsec policy template view
Predefined user roles
network-admin
mdc-admin
Parameters
number: Specifies a preference value. The value range is 1 to 255. A smaller value represents a higher preference.
Usage guidelines
When you change this preference in an IPsec policy, the device deletes all IPsec SAs created according to this IPsec policy, and the associated static routes.
Examples
# Change the preference to 100 for static routes created by IPsec RRI.
<Sysname> system-view [Sysname] ipsec policy 1 1 isakmp [Sysname-ipsec-policy-isakmp-1-1] reverse-route preference 100
Related commands
ipsec policy
ipsec policy-template