Users Guide

Table Of Contents
IPv4 routing commands
clear ip arp
Clears the dynamic ARP entries from a specific 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 (Optional) Enter vrf then 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 identifier.
vlan VLAN identifier.
loopback Loopback interface identifier.
virtual-network vn-id Virtual network ID.
ip ip-address (Optional) Specify the IP address of the ARP entry to clear.
no-refresh (Optional) Delete the ARP entry from CAM. You can also use this option with
interface or ip ip-address to specify which dynamic ARP entries to delete.
Default Not configured
Command Mode EXEC
Usage
Information
Transit traffic may not forward during the period when deleted ARP entries resolve again and re-install in
CAM.
NOTE: 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 specified 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.
*Clear the entire IP routing table. This option refreshes all the routes in the routing table. Traffic
flow is affected for all the routes in the switch.
A.B.C.D/mask Specify the IP route to remove from the IP routing table. This option refreshes all
the routes in the routing table. Traffic flow is affected only for the specified route in the switch.
Default Not configured
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 899