4
Command Line Interface
Example
In the following example, the device is reassigned the same address.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#end
Console#ip dhcp restart
Console#show ip interface
IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1,
and address mode: DHCP.
Console#
Related Commands
ip address (4-314)
show ip interface
This command displays the settings of an IP interface.
Default Setting
All interfaces
Command Mode
Privileged Exec
Example
Console#show ip interface
IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1,
and address mode:
Console#
Related Commands
show ip redirects (4-316)
show ip redirects
This command shows the default gateway configured for this device.
Default Setting
None
Command Mode
Privileged Exec
Example
Console#show ip redirects
IP default gateway 10.1.0.254
Console#
Related Commands
ip default-gateway (4-315)
4-316
User specified.