clear ip routes aaa-download

Function

The clear ip routes aaa-download command clears static routes delivered by the RADIUS server.

This command is supported only on the NetEngine 8000 F1A.

Format

clear ip routes aaa-download [ vpn-instance vpn-name ] [ ip-address mask-len | ipv6-address prefix-length ]

clear ip routes aaa-download all

Parameters

Parameter Description Value
vpn-instance vpn-name

Clears RADIUS server delivered static routes of the specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters.

ip-address

Clears the RADIUS server delivered static route with a specified destination IPv4 address.

This value is in dotted decimal notation.

mask-len

Specifies the mask length.

The value is an integer ranging from 1 to 32.

ipv6-address

Clears the RADIUS server delivered static route with a specified destination IPv6 address.

The address is a 32-digit hexadecimal number in the X:X:X:X:X:X:X:X format.

prefix-length

Specifies the prefix length.

It is an integer ranging from 1 to 128.

all

Clears all the RADIUS server delivered static route.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access execute

Usage Guidelines

Usage Scenario

To delete static routes delivered by the RADIUS server, run the clear ip routes aaa-download command.

In BRAS multi-device backup scenarios, if the aaa route-download command has been run to enable the device to download static routes from a RADIUS server at an interval, you must run the clear ip routes aaa-download command to clear static routes delivered from the RADIUS server before users are logged out due to a master/slave device upgrade. This configuration prevents a traffic bypass or packet loss during the period when users are logged out but before the device is restarted.

Configuration Impact

If no parameters are specified, the clear ip routes aaa-download command clears all static routes delivered by the RADIUS server. Therefore, static routes delivered by the RADIUS server will be imported to the device only after the device periodically or immediately synchronizes static routes with those delivered by the RADIUS server.

Precautions

The clear ip routes aaa-download command takes effect only when the delivery status of the static routes is ready. This command does not take effect when the delivery status of the static routes is downloading. To view the delivery status of static routes, run the display aaa route-download config command.

In VS mode, this command is supported only by the admin VS.

Example

# Clear all static routes delivered by the RADIUS server.
<HUAWEI> system-view
[~HUAWEI] clear ip routes aaa-download all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >