18
2.4 User Mode
In User mode, only a limited set of commands are provided. Please note that in User mode, you
have no authority to configure advanced settings. You need to enter Enable mode and
Configuration mode to set up advanced functions of the Switch. For a list of commands available
in User mode, enter the question mark (?) or
“help” command after the system prompt displays
Switch>.
Command
Description
exit
Quit the User mode or close the terminal connection.
help
Display a list of available commands in User mode.
history
Display the command history.
logout
Logout from the Managed Switch.
ping
Test whether a specified network device or host is reachable or not.
enable
Enter the Privileged mode.
2.4.1 Ping Command
Ping is used to test the connectivity of end devices and also can be used to self test the network
interface card. Enter the
ping
command in User mode. In this command, you can add an optional
packet size value and an optional value for the number of times that packets are sent and received.
Command
Parameter
Description
Switch> ping
[A.B.C.D] [-s size
(8-4000)bytes] [-r
repeat (1-99)times]
[-t timeout (1-
99)secs]
[A.B.C.D]
Enter the IP address that you would like to ping.
[-s size (8-
4000)bytes]
Enter the packet size that would be sent. The
allowable packet size is from 8 to 4000 bytes.
(optional)
[-r repeat (1-
99) times]
Enter the number of times that ping packets are
sent. The allowable repeat number is from 1 to
99. (optional)
[-t timeout (1-
99) secs]
Enter the timeout value when the specified IP
address is not reachable. (optional)
Example
Switch> ping 127.0.0.1
Switch> ping 127.0.0.1
–s 128 –r 5 –t 10
2.5 Privileged Mode
The only place where you can enter the Privileged (Enable) mode is in User mode. When you
successfully enter Enable mode (this mode is password protected), the prompt will be changed to
Switch# (the model name of your device together with a pound sign). Enter the question mark (?)
or help command to view a list of commands available for use.
Command
Description
copy-cfg
Restore or backup configuration file via FTP or TFTP server.
configure
Enter Global Configuration mode.
disable
Exit Enable mode and return to User Mode.
exit
Exit Enable mode and return to User Mode.
firmware
Allow users to update firmware via FTP or TFTP.
help
Display a list of available commands in Enable mode.
history
Show commands that have been used.
logout
Logout from the Managed Switch.
ping
Test whether a specified network device or host is reachable or not.
reload
Restart the Managed Switch.
write
Save your configurations to Flash.
show
Show a list of commands or show the current setting of each listed command.
Summary of Contents for FOS-3126-PLUS SERIES
Page 186: ...186 Restart DHCP service...