Chapter 4: Basic Switch Commands
66
SHOW IP INTERFACE
Syntax
show ip interface=eth0
Parameters
interface Specifies the switch’s interface number. This value is
always “eth0”.
Description
This command displays the current values for the following switch
parameters:
IP address
Subnet mask
Default gateway
To manually set the IP address and subnet mask, refer to SET IP
INTERFACE on page 55. To manually set the default gateway address,
refer to SET IP ROUTE on page 57.
Example
The following command displays the IP address, subnet mask, and
default gateway of the switch:
show ip interface=eth0