4 Command Line Interface

Example

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#

 

Related Commands

show ip redirects (4-246)

show ip redirects

This command shows the default gateway configured for this device.

Default Setting

None

Command Mode

Privileged Exec

Example

Console#show ip redirects

IP default gateway 10.1.0.254

Console#

Related Commands

ip default-gateway(4-244)

ping

This command sends ICMP echo request packets to another node on the network.

Syntax

ping host [size size] [count count]

host - IP address or IP alias of the host.

size - Number of bytes in a packet. (Range: 32-512, default: 32)

The actual packet size will be eight bytes larger than the size specified because the switch adds header information.

count - Number of packets to send. (Range: 1-16, default: 5)

Default Setting

This command has no default for the host.

Command Mode

Normal Exec, Privileged Exec

Command Usage

Use the ping command to see if another site on the network can be reached.

Following are some results of the ping command:

4-246

Page 488
Image 488
Accton Technology ES3526XA manual Show ip redirects, Ip default-gateway4-244, Syntax Ping host size size count count