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.
traceroute
Trace the route to HOST
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 |
A:B:C:D:E:F:G:H] [-
s size (1-
65500)bytes] [-t
timeout (1-99)secs]
[A.B.C.D |
A:B:C:D:E:F:G:H]
Enter the IP/IPv6 address that you would like to
ping.
[-s size (1-
65500)bytes]
Enter the packet size that would be sent. The
allowable packet size is from 1 to 65500 bytes.
(optional)
[-t timeout (1-99)
secs]
Enter the timeout value when the specified IP
address is not reachable. (optional)
Example
Switch> ping 8.8.8.8
Switch> ping 8.8.8.8
–s 128 –t 10
Switch> ping 2001:4860:4860::8888
Switch> ping 2001:4860:4860::8888
–s 128 –t 10
2.4.2 Traceroute Command
Traceroute is used to trach the path between the local host and the remote host. Enter the
traceroute
command in User mode. In this command, you can add an optional max hops value
for the number of hops that packets are sent and received.
Command
Parameter
Description
Switch> traceroute
[A.B.C.D |
A:B:C:D:E:F:G:H] [-
h (1-100)hops]
[A.B.C.D |
A:B:C:D:E:F:G:H]
Enter the IP/IPv6 address that you would like to
ping.
[-h (1-100)hops]
Specify max hops between the local host and the
remote host
Example
Switch> traceroute 8.8.8.8
Switch> traceroute 8.8.8.8
–h 30
Switch> ping 2001:4860:4860::8888
Switch> ping 2001:4860:4860::8888
–h 30
Содержание FOS-3148 Series
Страница 108: ...108 This sets up each port s path cost The default value is 0...
Страница 182: ...182 Restart DHCP service...