D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
10
7
delete mirror
Purpose To remove a previously entered port mirroring configuration.
Syntax
delete mirror target <port> source <port>
Description The delete mirror command removes a previously configured mirror
port source port pair on the Switch.
Parameters target <port> Specifies the port that mirrors traffic forwarding.
source <port> – Specifies the port or ports being mirrored. This
cannot include the target port.
Comment: One source port can be deleted each time using one CLI
command, So in order to delete multiple source ports, multiple CLI
commands should be used.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To delete a mirroring configuration:
DGS3100# delete mirror source 1 target port 2 ingress
Success.
DGS3100#
show mirror
Purpose To show the current port mirroring configuration on the Switch.
Syntax
show mirror
Description The show mirror command displays the current port mirroring
configuration on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display mirroring configuration:
DGS3100# show mirror
Current Settings
Mirror Status : Enabled
Target Port for Ingress : 2
Target Port for Egress : 3
Mirrored Port : 1
DGS3100#