Reference Guide
clear ip arp
Clears the dynamic ARP entries from a specic 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 identier.
– vlan — VLAN identier.
– loopback — Loopback interface identier.
• 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 congured
Command Mode EXEC
Usage Information Transit trac 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 specied 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
trac ow is aected 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 trac ow is aected only for the specied route in the switch.
Default Not congured
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