C
HAPTER
10
| IP Commands
– 216 –
separated by periods. Anything outside this format will not be accepted
by the configuration program.
◆ A gateway must be defined if the management station is located in a
different IP segment.
◆ An default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on
the switch.
◆ The attributes for this command must be entered in the sequence
shown for command syntax.
EXAMPLE
In the following example, the device is assigned an address in VLAN 1.
IP>setup 192.168.0.9 255.255.255.0 192.168.0.1
IP>setup
IP Address : 192.168.0.9
IP Mask : 255.255.255.0
IP Router : 192.168.0.1
DNS Server : 0.0.0.0
VLAN ID : 1
IP>
ip ping This command sends ICMP echo request packets to another node on the
network.
SYNTAX
ip ping ip-addr [packet-size]
ip-addr - IP address or IP alias of the host. An IPv4 address consists
of 4 numbers, 0 to 255, separated by periods.
packet-size - The payload size of the ICMP packet. (Range: 8-1400
bytes) The actual packet size excludes MAC, IP and ICMP headers.
DEFAULT SETTING
Packet Size: 60 bytes
Count: 5
COMMAND USAGE
◆ When you enter the ping command, five ICMP packets are transmitted,
and the sequence number and round-trip time are displayed upon
reception of a reply.
◆ The following are some results of the ping command:
■
Normal response - The normal response occurs in one to ten
seconds, depending on network traffic.