beautypg.com

Show ip interface, Show ip redirects – SMC Networks SMC Tiger 10/100 SMC6128PL2 User Manual

Page 624

background image

Command Line Interface

4-316

4

Example
In the following example, the device is reassigned the same address.

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

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

Related Commands

ip default-gateway (4-315)

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#

Console#show ip interface
IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1,
and address mode: User specified.
Console#

Console#show ip redirects
IP default gateway 10.1.0.254
Console#