Reference Guide

clear ip arp
Clears the dynamic ARP entries from a specic interface or optionally delete (no-refresh) ARP entries from the content addressable
memory (CAM).
Syntax
clear ip arp [vrf vrf-name] [interface interface | ip ip-address] [no-refresh]
Parameters
vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to clear ARP entries
corresponding to that VRF.
interface interface— (Optional) Specify an interface type:
ethernet — Physical interface.
port-channel — Port-channel identier.
vlan — VLAN identier.
loopback — Loopback interface identier.
ip ip-address — (Optional) Specify the IP address of the ARP entry you want to clear.
no-refresh — (Optional) Specify to delete the ARP entry from CAM. You can also use this option with
interface or ip ip-address to specify which dynamic ARP entries you want to delete.
Default Not congured
Command Mode EXEC
Usage Information Transit trac may not be forwarded during the period when deleted ARP entries are resolved again and re-installed
in CAM. Use this option with extreme caution.
Example
OS10# clear ip arp interface ethernet 1/1/5
Supported Releases 10.2.0E or later
clear ip route
Clears the specied routes from the IP routing table.
Syntax
clear ip route [vrf vrf-name] {* | A.B.C.D/mask}
Parameters
vrf vrf-name — (Optional) Enter the keyword vrf and then the name of the VRF to clear the routes
corresponding to that VRF.
*—Specify to clear the entire IP routing table. This option refreshes all the routes in the routing table and the
trac ow is aected for all the routes in the switch.
A.B.C.D/mask —Specify the IP route to be removed from the IP routing table. This option refreshes all the
routes in the routing table, but the trac ow is aected only for the specied route in the switch.
Default Not congured
Command Mode EXEC
Usage Information This command does not remove the static routes from the routing table.
Example
OS10# clear ipv6 route 10.1.1.0/24
Supported Releases 10.3.0E or later
Layer 3 361