API Guide

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
ip address
Configure the IP address to an interface.
Syntax
ip address ipaddress/mask
Parameters ipaddress/mask Enter the IP address.
Defaults None
Command Mode INTERFACE
Usage
Information
The no version of this command removes the IP address set for the interface.
Example
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ip address 10.1.1.0/24
Supported
Releases
10.3.0E or later
ip address dhcp
Enables DHCP client operations on the interface.
Syntax
ip address dhcp
Parameters None
Defaults None
Command Mode INTERFACE
Usage
Information
The no version of this command disables DHCP operations on the interface.
Example
OS10(config)# interface mgmt 1/1/1
OS10(conf-if-ma-1/1/1)# ip address dhcp
Layer 3 663