D-Link DGS-3224TGR Command Line Interface Reference Manual page 73

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

DGS-3224TGR:4#config mirror port 10 add source ports 1-5 both
Command: config mirror port 10 add source ports 1-5 both
Success.
DGS-3224TGR:4#
config mirror delete
Used to delete a port mirroring configuration|
Purpose
Syntax
config mirror <port> delete source <portlist> [rx|tx|both]
Description
This command is used to delete a previously entered port mirroring configuration.
<port> − This specifies the Target port (the port where mirrored packets will be sent).
Parameters
<portlist> − This specifies a range of ports that will be mirrored. That is, a range of ports for
which all traffic will be copied and sent to the Target port.
rx − Allows the mirroring of only packets received (flowing into) the port or ports in the port
list.
tx − Allows the mirroring of only 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-level users can issue this command.
Example Usage:
To delete the mirroring ports:
DGS-3224TGR:4#config mirror 5 delete source 1-5 both
Command: config mirror 5 delete source 1-5 both
Success.
DGS-3224TGR:4#
enable mirror
Used to enable a previously entered port mirroring configuration.
Purpose
Syntax
enable mirror
Description
This command, combined with the disable mirror command below, allows you to enter a port
mirroring configuration into the switch, and then turn the port mirroring on and off without
having to modify the port mirroring configuration.
None.
Parameters
Restrictions
Only administrator-level users can issue this command.
Example Usage:
To enable mirroring configurations:
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
69

Advertisement

Table of Contents
loading

Table of Contents