IP Configuration
Issue 2 July 2005 169
IP Configuration
IP Configuration CLI Commands
In order to... Use the following command...
Enable IP routing ip routing
Set ICMP error messages ip icmp-errors
Specify the format of netmasks
in the show command output
ip netmask-format
Create and/or enter the
Interface Configuration Mode
interface
Assign an IP address and mask
to an interface
ip address
Set the administrative state of
an IP interface
ip admin-state
Update the interface broadcast
address
ip broadcast-address
Define a default gateway
(router)
ip default-gateway
Define the interface RIP route
metric value
default-metric
Enable net-directed broadcast
forwarding
ip directed-broadcast
Set the IP routing mode of the
interface
ip routing-mode
Enable or disable the sending of
redirect messages on the
interface
ip redirect
Check host reachability and
network connectivity
ping
Trace route utility traceroute
Create a router Layer 2 interface set vlan (Layer 3)
1 of 2