Reference Guide
IPv4 routing commands
clear ip route
Clears the specied routes from the IP routing table.
Syntax
clear ip route {* | ip-address}
Parameters
• *—Specify to clear the entire IP routing table.
• ip-address —Specify the IP route to be removed from the IP routing table.
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.1/24
Supported Releases 10.3.0E or later
ip arp
Congures static ARP and maps the IP address of the neighbor to a MAC address.
Syntax
ip arp mac-address
Parameters mac-address — Enter the MAC address of IP neighbor in A.B.C.D format.
Default Not congured
Command Mode INTERFACE
Usage Information Do not use Class D (multicast) or Class E (reserved) IP addresses. Zero MAC addresses (00:00:00:00:00:00) are
also invalid. The no version of this command disables IP ARP conguration.
Example
OS10(conf-if-eth1/1/6)# ip arp 10.1.1.5 08:00:20:b7:bd:32
Supported Releases 10.2.0E or later
ip route
Assigns a static route on the network device.
Syntax
ip route ip-prefix mask {next-hop | interface interface [route-preference]}
Parameters
• ip-prefix — Enter the IP prex in dotted decimal format (A.B.C.D).
• mask — Enter the mask in slash prex-length format (/x).
• next-hop — Enter the next-hop IP address in dotted decimal format (A.B.C.D).
• interface interface — Enter the interface type and interface information.
Layer 3 251