220
<<mirror>>
disable
Syntax
:
disable
Description
:
To disable the function of mirror.
Argument
:
None.
Possible value:
None.
Example:
GSW-2693(security-mirror)# disable
enable
Syntax
:
enable
Description
:
To enable the function of mirror.
Argument
:
None.
Possible value:
None.
Example:
GSW-2693(security-mirror)# enable
set
Syntax
:
set <spy> <ingress> <egress>
Description
:
To set up the monitoring port and monitored ports of the mirror function. User can
monitor the ports that receive or transmit the packets.
Argument
:
<spy>: monitoring port
<ingress>: monitored ingress port; range syntax: 1,5-7, available from 0 to 26
<egress>: monitored egress port; range syntax: 1,5-7, available from 0 to 26
set ingress/egress to 0 as ingress/egress disabled
Possible value:
<ingress>: 0 to 26
<egress>: 0 to 26
Example:
GSW-2693(security-mirror)# set 1 4 2-3