GSWB

CHAPTER 8 CLI Operations

(2)Options

None

(3)Command mode user exec

enabled exec

(4) See also

ip dhcp restart

(5)Examples

Displays the host interface settings and status

Switch#

show ip host

address mode:

Static

IP address

:

10.1.0.54

netmask

 

:

255.255.255.0

VLAN ID

 

:

1

Switch#

 

 

 

Displayed items:

zaddress mode: Address setting mode (Static or Dynamic)

zIP address: IP address value

zNetmask: Netmask value

zVLAN ID: ID of the VLAN to which the host belongs

(6)Error Messages

% Incomplete command.

Cause: Incomplete command input

Action: Enter the command string correctly.

• % Invalid input detected at '^' marker.

Cause: Invalid character detected at '^' marker in the entered command string

Action: Enter the command string correctly.

8-212

C122-E003-02EN