xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
117
To add the mirroring ports:
D G S – 3 4 2 6 : 5 # c o n f i g m i r r o r p o r t 1 : 1 a d d s o u r c e p o r t s 1 : 2 – 1 : 7 b o t h
C o m m a n d : c o n f i g m i r r o r p o r t 1 : 1 a d d s o u r c e p o r t s 1 : 2 – 1 : 7 b o t h
S u c c e s s .
D G S – 3 4 2 6 : 5 #
Example usage:
To delete the mirroring ports:
D G S – 3 4 2 6 : 5 # c o n f i g m i r r o r p o r t 1 : 1 d e l e t e s o u r c e p o r t s 1 : 2 – 1 : 4 b o t h
C o m m a n d : c o n f i g m i r r o r p o r t 1 : 1 d e l e t e s o u r c e p o r t s 1 : 2 – 1 : 4 b o t h
S u c c e s s .
D G S – 3 4 2 6 : 5 #
enable mirror
Purpose
Used to enable a previously entered port mirroring configuration.
Syntax
enable mirror
Description
This command, combined with the
disable mirror
command below, allows users 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.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable mirroring configurations:
D G S – 3 4 2 6 : 5 # e n a b l e m i r r o r
C o m m a n d : e n a b l e m i r r o r
S u c c e s s .
D G S – 3 4 2 6 : 5 #
disable mirror
Purpose
Used to disable a previously entered port mirroring configuration.
Syntax
disable mirror
Description
This command, combined with the
enable mirror
command above, allows users 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.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable mirroring configurations: