D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
537
Format
config mirror port <port> {[add |delete] source ports <portlist> [rx | tx | both]}
Parameters
<port> - Specify the port that will receive the packets duplicated at the mirror port.
add - (Optional) Specify the mirror entry to be added.
delete - (Optional) Specify the mirror entry to be deleted.
source ports - (Optional) Specify the ports that will be mirrored. All packets entering and leaving
the source port can be duplicated in the mirror port.
<portlist>
- Specify a range of ports to be configured.
rx - (Optional) Allow the mirroring of only packets received (flowing into) the port or ports in the
port list.
tx - (Optional) Allow the mirroring of only packets sent (flowing out of) the port or ports in the port
list.
both - (Optional) Mirror 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
To add mirroring target port 6 and the source ports 1 to 5 rx and tx packets:
DGS-3420-28SC:admin#config mirror port 6 add source ports 1-5 both
Command: config mirror port 6 add source ports 1-5 both
Success.
DGS-3420-28SC:admin#
53-3 config mirror group_id
Description
This command used to configure mirror group’s parameters. It can configure mirror group’s target
port, state and source ports. The mirror group target port can’t be a member of all mirror groups’
source ports. Each mirror group’s target port can be the same port. But each mirror group’s source
ports can’t overlap.
Format
config mirror group_id <value 1-4> {target_port <port> | [add | delete] source ports
<portlist> [rx | tx | both] | state [enable | disable]}
Parameters
<value 1-4> - Enter the mirror group ID used here. This value must be between 1 and 4.
target_port - (Optional) Specifies the port that will receive the packets duplicated at the mirror
port.
<port> - Enter the target port number used here.
add - (Optional) Specifies the mirror source ports to be add.