Configuring the switch IP address, subnet mask and default gateway 183

Pinging

To ensure that the Ethernet Routing Switch 2500 Series has connectivity to the network, ping a device you know is connected to this network.

ping command

The ping command tests the network connection to another network device. The command sends an Internet Control Message Protocol (ICMP) packet from the switch to the target device. The local IP address must be set before issuing the ping command. See "Assigning and clearing IP addresses" (page 178) for information on setting IP addresses.

The syntax for the ping command is:

ping <XXX.XXX.XXX.XXX> [datasize <64-4096>]

[{count <1-9999>} continuous] [{timeout -t} <1-120>] [interval <1-60>] [debug]

The ping command is executed in the User Exec command mode.

Table 51 "ping command parameters and variables" (page 183) describes the parameters and variables for the ping command.

Table 51

ping command parameters and variables

Parameters and

Description

variables

 

 

 

XXX.XXX.XXX.XXX

Specify the IP address of the target device in

 

dotted-decimal notation.

 

 

datasize

Specifies the size of the ICMP packet to be sent. The

<64-4096>

data size range is from 64 to 4096 bytes.

 

 

{count <1-9999> }

Sets the number of ICMP packets to be sent. The

continuous

continuous mode sets the ping running until the user

 

interrupts it by entering Ctrl-C.

 

 

{timeout -t}

Set the timeout using either the timeout or -t

<1-120>

parameter followed by the number of seconds the switch

 

must wait before timing out.

 

 

interval <1-60>

Specifies the number of seconds between transmitted

 

packets.

 

 

debug

Provides additional output information such as ICMP

 

sequence number and trip time.

 

 

If the device receives the packet, it sends a ping reply. When the switch receives the reply, it displays a message indicating that the specified IP address is being used. If no reply is received, a message indicates that the address is not responding.

Nortel Ethernet Routing Switch 2500 Series

Overview — System Configuration

NN47215-500 (323162-B) 02.02 Standard

4.1 19 November 2007

Copyright © 2007, Nortel Networks

Page 183
Image 183
Nortel Networks 2500 Series manual Pinging, Ping command is executed in the User Exec command mode