C122-E003-02EN 8-211
GSWB
8.3 Operation Commands
(5) Examples
• Displays the default gateway
Displayed items:
ip default gateway: Default gateway
(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.
• System error.
Cause: An internal error occurred.
Action: Check the system status, and reenter the command. If the error occurs again,
collect unit information, configuration definition information, and the
information in different types of logs, and restart the unit. Alternatively,
contact a certified service engineer.
8.3.4.7 show ip host
This command displays the IP host interface settings. If Dynamic is specified, the
address information acquired by Bootp/DHCP is displayed. If no address is specified
or address acquisition by Bootp/DHCP failed, "0.0.0.0" is displayed as the IP address
netmask value.
(1) Synopsis
Switch# show ip default-gateway
ip default gateway: 10.1.0.254
Switch#
show ip host