Page 541 / 757 Scroll up to view Page 536 - 540
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
537
DGS-3627:admin# show account
Command: show account
Current Accounts:
Username
Access Level
---------------
------------
System
User
dlink
Admin
Total Entries : 2
DGS-3627:admin#
delete account
Purpose
Used to delete an existing account.
Syntax
delete account <username>
Description
The delete account command deletes an existing account.
Parameters
<username>
- Name of the user who will be deleted.
Restrictions
Only Administrator can issue this command.
Example usage:
To delete the user account “System”:
DGS-3627:admin# delete account System
Command: delete account System
Success.
DGS-3627:admin#
Page 542 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
538
69
PING COMMANDS
The Ping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
ping
[<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> |
source_ip <ipaddr>}
ping6
<ipv6addr> {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99> |
source_ip <ipv6addr>}
enable broadcast_ping_reply
disable broadcast_ping_reply
show broadcast_ping_reply
Each command is listed, in detail, in the following sections.
ping
Purpose
Used to test the connectivity between network devices.
Syntax
ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> |
source_ip <ipaddr>}
Description
The ping command sends Internet Control Message Protocol (ICMP) echo messages to a
remote IP address. The remote IP address will then “echo” or return the message. This is
used to confirm connectivity between the switch and the remote device.
Parameters
ipaddr
- Specify the IP address of the host.
domain_name
- Specify the domain name of the host.
times
- The number of individual ICMP echo messages to be sent. A value of 0 will send an
infinite number of ICMP echo messages. The maximum value is 255. The default is 0,
indicating infinity. Press "CTRL+C” to terminate the ping test.
timeout
- Specify 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.
source_ip
- Specify the source IP address of the ping packets. If specified, , this IP address
will be used as the packets’ source IP address that ping sends to the remote host.
Restrictions
None.
Example usage:
To send ICMP echo message to “10.51.17.1” for 4 times:
Page 543 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
539
DGS-3627:admin# ping 10.51.17.1 times 4
Command: ping 10.51.17.1 times 4
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Ping Statistics for 10.51.17.1
Packets: Sent =4, Received =4, Lost =0
DGS-3627:admin#
To sse the host domain name for the ping command to test the network connectivity. When
the 4th response has been
received, press “CTRL+C” to terminate the ping:
DGS-3627:admin# ping www.dlink.com
Command: ping www.dlink.com
Reply from 207.232.83.10, time<10ms
Reply from 207.232.83.10, time<10ms
Reply from 207.232.83.10, time<10ms
Reply from 207.232.83.10, time<10ms
Ping Statistics for 207.232.83.10
Packets: Sent =4, Received =4, Lost =0
DGS-3627:admin#
To send ICMP echo message with source IP address “10.51.17.8” to “10.51.17.2” for 3 times (the Switch’s IP address is
10.51.17.8):
DGS-3627:admin# ping 10.51.17.2 times 3 source_ip 10.51.17.8
Command: ping 10.51.17.2 times 3 source_ip 10.51.17.8
Reply from 10.51.17.2, time<10ms
Reply from 10.51.17.2, time<10ms
Reply from 10.51.17.2, time<10ms
Ping Statistics for 10.51.17.2
Packets: Sent =3, Received =3, Lost =0
DGS-3627:admin#
ping6
Purpose
Used to test the IPv6 connectivity between network devices.
Syntax
ping6 <ipv6addr> {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99> |
source_ip <ipv6addr>}
Description
The ping6 command sends IPv6 Internet Control Message Protocol (ICMP) echo messages
to a remote IPv6 address. The remote IPv6 address will then “echo” or return the message.
This is used to confirm the IPv6 connectivity between the switch and the remote device.
Parameters
<ipv6addr>
- Specify the IPv6 address of the host.
times
- Specify the number of individual ICMP echo messages to be sent. A value of 0 will
send an infinite ICMP echo messages. The maximum value is 255. The default is 0,
indicating infinity. Press "CTRL+C” to terminate the ping test.
Page 544 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
540
ping6
size
- Specify the size of the test packet.
timeout
- Specify the time-out period while waiting for a response from the remote device. A
value of 1 to 10 seconds can be specified. The default is 1 second.
source_ip
- Specify the source IPv6 address of the ping packets. If specified, , the IPv6
address will be used as the packets’ source IPv6 address that ping6 sends to the remote
host.
Restrictions
None.
Example usage:
To send ICMP echo message to “3000::1” for 4 times:
DGS-3627:admin# ping6 3000::1 times 4
Command: ping6 3000::1 times 4
Reply from 3000::1, bytes=200, time<10ms
Reply from 3000::1, bytes=200, time<10ms
Reply from 3000::1, bytes=200, time<10ms
Reply from 3000::1, bytes=200, time<10ms
Ping Statistics for 3000::1
Packets: Sent =4, Received =4, Lost =0
DGS-3627:admin#
To send ICMP echo message with source IPV6 address “3000::11” to “3000::1” for 3 times (the Switch’s IP address are
3000::11 and 3000::10):
DGS-3627:admin# ping6 3000::1 times 3 source_ip 3000::11
Command: ping6 3000::1 times 3 source_ip 3000::11
Reply from 3000::1, bytes=200, time<10ms
Reply from 3000::1, bytes=200, time<10ms
Reply from 3000::1, bytes=200, time<10ms
Ping Statistics for 3000::1
Packets: Sent =3, Received =3, Lost =0
DGS-3627:admin#
enable broadcast_ping_reply
Purpose
Used to enable the broadcast ping reply state.
Syntax
enable broadcast_ping_reply
Description
The device will reply to the broadcast ping request.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the broadcast ping reply state:
Page 545 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
541
DGS-3627:admin# enable broadcast_ping_reply
Command: enable broadcast_ping_reply
Success.
DGS-3627:admin#
disable broadcast_ping_reply
Purpose
Used to disable the broadcast ping reply state.
Syntax
disable broadcast_ping_reply
Description
The device won’t reply to the broadcast ping request.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the broadcast ping reply state:
DGS-3627:admin# disable broadcast_ping_reply
Command: disable broadcast_ping_reply
Success.
DGS-3627:admin#
show broadcast_ping_reply
Purpose
Used to show the broadcast ping reply state.
Syntax
show broadcast_ping_reply
Description
Show the device broadcast ping reply state.
Parameters
None.
Restrictions
None.
Example usage:
To show the broadcast ping reply state:
DGS-3627:admin# show broadcast_ping_reply
Command: show broadcast_ping_reply
Broadcast Ping Reply State:
Enabled
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top