Page 456 / 757 Scroll up to view Page 451 - 455
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
452
59
MESSAGE-DIGEST ALGORITHM 5 (MD5) COMMANDS
The Message-Digest algorithm 5 (MD5) configuration commands in the Command Line Interface (CLI) are listed (along
with the appropriate parameters) in the following table.
Command
Parameters
create md5 key
<key_id 1-255> <password 16>
config md5 key
<key_id 1-255> <password 16>
delete md5 key
<key_id 1-255>
show md5
{key <key_id 1-255>}
Each command is listed, in detail, in the following sections.
create md5 key
Purpose
Used to create a new entry in the MD5 key table.
Syntax
create md5 key <key_id 1-255> <password 16>
Description
This command is used to create an entry for the MD5 key table.
Parameters
<key_id 1-255>
The MD5 key ID. The user may enter a key ranging from 1 to 255.
<password>
An MD5 password of up to 16 bytes.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To create an entry in the MD5 key table:
DGS-3627:admin# create md5 key 1 dlink
Command: create md5 key 1 dlink
Success.
DGS-3627:admin#
config md5 key
Purpose
Used to enter configure the password for an MD5 key.
Syntax
config md5 key <key_id 1-255> <password 16>
Description
This command is used to configure an MD5 key and password.
Parameters
<key_id 1-255>
The previously defined MD5 key ID.
<password 16>
The user may change the MD5 password for the md5 key. A new
password of up to 16 characters can be created.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 457 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
453
Usage example
To configure an MD5 Key password:
DGS-3627:admin# config md5 key 1 taboo
Command: config md5 key 1 taboo
Success.
DGS-3627:admin#
delete md5 key
Purpose
Used to delete an entry in the MD5 key table.
Syntax
delete md5 key <key_id 1-255>
Description
This command is used to delete a specific entry in the MD5 key table.
Parameters
<key_id 1-255>
The MD5 key ID to delete.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
The delete an entry in the MD5 key table:
DGS-3627:admin# delete md5 key 1
Command: delete md5 key 1
Success.
DGS-3627:admin#
show md5
Purpose
Used to display an MD5 key table.
Syntax
show md5 {key <key_id 1-255>}
Description
This command will display the current MD5 key table.
Parameters
<key_id 1-255>
The MD5 key ID to be displayed.
Restrictions
None.
Usage example
To display the current MD5 key:
Page 458 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
454
DGS-3627:admin# show md5
Command: show md5
MD5 Key Table Configurations
Key-ID
Key
------
----------
1
dlink
2
develop
3
fireball
4
intelligent
Total Entries: 4
DGS-3627:admin#
Page 459 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
455
60
MIRROR COMMANDS
The primary purpose of the mirror function is to copy frames transmitted and received on a port and redirect the copies to
another port.
The application attaches a monitoring device to the mirrored port, such as a sniffer or an RMON probe, to view details
about the packets passing through the first port. This is useful for network monitoring and troubleshooting purposes.
NOTE:
When the device with the source port has been removed from a stack, the configuration will
be disabled temporarily until another device has been installed in its place. If configurations are saved
to NVR RAM during this period the configuration will be removed forever.
The Mirror commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
config mirror port
<port> {[add | delete] source ports <portlist> [rx | tx | both]}
enable mirror
disable mirror
show mirror
{group_id <value 1-4>}
create mirror group_id
<value 1-4>
delete mirror group_id
<value 1-4>
config mirror group_id
<value 1-4> {target_port <port> | [add | delete] source ports <portlist> [rx | tx |
both] | state [enable | disable]}(1)
Each command is listed, in detail, in the following sections.
config mirror port
Purpose
Used to configure a mirror port
− source port pair on the switch. Traffic from any source port
to a target port can be mirrored for real-time analysis. A logic analyzer or an RMON probe
then can be attached to study the traffic crossing the source port in a completely unobtrusive
manner. When mirroring port traffic, please note that the target port must be configured in the
same VLAN and operates at the same speed as the source port.
If the target port is
operating at a lower speed, the source port will be forced to drop its operating speed to
match that of the target port.
Syntax
config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]}
Description
The config mirror command allows a range of ports to have all of their traffic also sent to a
destination port
− where a network sniffer or other device can monitor the network traffic. In
addition, you can specify that only traffic received by or sent by or both are mirrored to the
target port.
This command used for single mirror session configuration primarily. If used for multiple
session configurations, it configures the parameters on mirror group 1. If group 1 not exist,
create group 1 firstly, and than configure the parameters on group 1.
Parameters
port
- The port that will receive the packets duplicated at the mirror port.
add
- The mirror entry to be added.
delete
- The mirror entry to be deleted.
Page 460 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
456
config mirror port
portlist
- The port that will be mirrored.
All packets entering and leaving the source port can
be duplicated in the mirror port.
rx
- Allows the mirroring packets received (flowing into) the port or ports in the port list.
tx - Allows the mirroring packets sent (flowing out of) the port or ports in the port list.
both
- Mirrors all the packets received or sent by the port or ports in the port list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add the mirroring ports:
DGS-3627:admin# config mirror port 1:3 add source ports 1:7-1:12 both
Command: config mirror port 1:5 add source ports 1:1-1:5 both
Success.
DGS-3627:admin#
enable mirror
Purpose
Used to enable mirror globally.
Syntax
enable mirror
Description
This command, combined with the disable mirror command below, allows you to enable or
disable mirror function without having to modify the mirror session configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable mirroring function:
DGS-3627:admin# enable mirror
Command: enable mirror
Success.
DGS-3627:admin#
disable mirror
Purpose
Used to disable mirror globally.
Syntax
disable mirror
Description
This command, combined with the enable mirror command above, allows you to enable or
disable mirror function without having to modify the mirror session configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable mirroring function:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top