DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 
21 
Description The login command initiates the login procedure. The user is 
prompted for the Username and Password. 
Parameters None. 
Restrictions None. 
Example usage: 
To initiate the login procedure: 
DGS3100# login 
 
 
UserName: 
 
 
logout 
Purpose  To log out a user from the Switch’s console. 
Syntax 
Logout 
Description The logout command terminates the current user’s session on the 
Switch’s console. 
Parameters None. 
Restrictions None. 
Example usage: 
To terminate the current user’s console session: 
DGS3100# logout 
 
 
ping 
Purpose  To test the connectivity between network devices. 
Syntax 
ping <ipaddr> {times <value 1-255>} {timeout <sec 1-99>} 
Description The ping command sends Internet Control Message Protocol 
(ICMP) echo messages to a remote IP address. The remote IP 
address then ‘echos’ or returns the message. This is used to confirm 
connectivity between the Switch and the remote device. 
Parameters  <ipaddr> - The IP address of the host. 
times <value 1-255> - The number of individual ICMP echo 
messages to be sent. The maximum value is 255. The default is 4. 
timeout <sec 1-99> - The time-out period while waiting for a 
response from the remote device. A value of 1 to 99 seconds can be 
specified. The default is 1 second. 
Restrictions None. 
Example usage: 
To ping the IP address 10.6.150.34 three times: 
DGS3100# ping 10.6.150.34 times 3 
Pinging 10.6.150.34 with 56 bytes of data: