Show ip interface – Allied Telesis AT-S63 User Manual

Page 74

Advertising
background image

Chapter 3: Basic Switch Commands

74

Section I: Basic Operations

SHOW IP INTERFACE

Syntax

show ip interface=eth0

Parameter

interface

Specifies the switch’s interface number. This value is

always eth0.

Description

This command displays the IP address, subnet mask, and default gateway
address of the switch. Figure 6 is an example of the information displayed
by this command.

Figure 6. SHOW IP INTERFACE Command

To manually set the IP address and subnet mask, refer to “SET IP
INTERFACE” on page 58. To manua
lly set the default gateway address,
refer to “SET IP ROUTE” on page 60. To enable the DHCP or BOOTP
client software, refer to “ENABLE BOOTP” on page 46, “ENABLE DHCP”
on page 47,
“SET IP INTERFACE” on page 58, or “ENABLE IP
REMOTEASSIGN” on page 48.

Example

The following command displays the IP address, subnet mask, and default
gateway of the switch:

show ip interface=eth0

Equivalent Command

show ip route

This command displays just the default gateway address. For information,
refer to “SHOW IP ROUTE” on page 75.

IP Interface Information:

IP Address ........................... 149.44.44.44
Net Mask ............................. 255.255.255.0
Default Route ........................ 0.0.0.0

Advertising