Reference Guide
194 IP Addressing
The following is an example of the CLI commands:
renew dhcp interface-id [force-
autoconfig]
Configures acquiring an IP
address for an Ethernet
interface from the DHCP
server.
Use the no form of this
command to return to entering
the IP address manually.
ip default-gateway ip-address
no ip default-gateway
Defines a default gateway.
Use the no form of this
command to restore the
default gateway.
show ip interface Displays the current IPv4
interfaces.
config)# interface vlan 1
(config-if)# ip address 131.108.1.27 255.255.255.0
(config-if)# ip address dhcp
(config)# ip default-gateway 192.168.1.1
# show ip interface
IP Address I/F I/F Status Type Status admin/oper
------------- ------ ----------- ------- ------
10.5.234.232/24 vlan 1 UP/UP Static Valid
Default Gateway: 10.5.234.254, Static
Table 8-9. IPv4 Static Routing CLI Commands for R1-2401 in Layer 2
CLI Command Description










