ADTRAN AOS Version R10.1.0 Command Reference Manual page 129

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
clear ip route
Use the clear ip route command to remove all learned routes from the IP route table. Static and connected
routes are not cleared by this command. The command can be limited to a specific VPN routing and
forwarding (VRF). Variations of this command include:
clear ip route *
clear ip route <ip address> <subnet mask>
clear ip route vrf <name> *
clear ip route vrf <name> <ip address> <subnet mask>
Syntax Description
*
<ip address>
<subnet mask>
vrf <name>
Default Values
No default values are necessary for this command.
Command History
Release 1.1
Release 16.1
Functional Notes
VRF on AOS products allows a single physical router to be partitioned into multiple virtual routers. Each
router instance has its own route table and interface assignments. Beginning with Release 16.1, all AOS
routers supporting multiple VRF instances (multi-VRF) have an unnamed default VRF instance regardless
of whether multi-VRF is configured. Therefore, executing the abovementioned commands without
specifying a VRF will only affect the default unnamed VRF.
Usage Examples
The following example removes all learned routes from the route table:
>enable
#clear ip route *
60000CRG0-35E
Deletes all destination routes.
Specifies the IP address of the destination routes to be deleted. IP
addresses should be expressed in dotted decimal notation (for example,
10.10.10.1).
Specifies the subnet mask that corresponds to a range of IP addresses
(network) or a specific host. Subnet masks can be expressed in dotted
decimal notation (for example, 255.255.255.0) or as a prefix length (for
example, /24).
Optional. Clears the IP route table for the specified VRF.
Command was introduced.
Command was expanded to include the vrf parameter.
Copyright © 2012 ADTRAN, Inc.
Enable Mode Command Set
129

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents