The static-route if-match null tag command binds a static route tag to the remote backup service (RBS) and configures a cost for the static route.
The undo static-route if-match null tag command restores the default configuration.
By default, no static route tag is bound to the RBS.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
tag tag-num |
Specifies the static route tag to be bound to the RBS. |
The value is an integer ranging from 1 to 4294967295. |
metric metric-num |
Specifies a cost for the static route. |
The value is an integer ranging from 1 to 65535. |
rui-slave |
Configures the static route tag and cost for the backup device. |
- |
null interface-number |
NULL interface number. |
The value is an integer 0. |
Usage Scenario
In a dual-device hot backup scenario, if IP addresses are allocated using a RADIUS server instead of an address pool, run the static-route if-match command to bind a static route tag to the RBS and specify a cost for the static route. If an NNI on the master device fails, the outbound interface of the static route can be directed to the protection tunnel to switch traffic to the backup device. This reduces the impact of the fault on user services.
Configuration Impact
This command must be run on both the master and backup devices. In addition, rui-slave must be configured on the backup device. Otherwise, traffic flaps between the two devices.
If metric <METRIC-NUM> is not configured, the default cost of the static route is used. If rui-slave is not configured, the cost is 10. If rui-slave is configured, the cost is 20. If metric <METRIC-NUM> is configured, the cost configured on the master device must be less than that configured on the backup device, so that the route on the master device is preferentially selected. If an NNI fails, 65535 is advertised as the cost of the static route.Precautions
In VS mode, this command is supported only by the admin VS.
The static route tag to be bound to the RBS has been configured by running the ip route-static or ipv6 route-static command in the system view.