Zyxel XS3700-24 [191/371] Command examples

Zyxel XS3700-24 [191/371] Command examples
Chapter 48 Mirror Commands
Ethernet Switch CLI Reference Guide
191
48.2 Command Examples
This example enables port mirroring and copies outgoing traffic from ports 1, 4, 5, and 6 to
port 3.
Table 129 rmirror Command Summary
COMMAND DESCRIPTION M P
rmirror vlan <vlan-id> Enters config-rmirror mode to create a remote port mirroring
(RMirror) VLAN through which the mirrored traffic is
forwarded.
C13
connected-port <port-list> Sets the port(s) that helps forward mirrored traffic to other
connected switches and/or receive mirrored traffic from other
connected port in the same RMirror VLAN.
C13
no connected-port <port-
list>
Removes the specified connected port(s) from this RMirror
VLAN.
C13
destination monitor-port
<port-num>
<untagged|tagged>
Sets the port to which you copy the traffic in order to examine
it in more detail without interfering with the traffic flow on the
original port(s). You can also set whether to add the RMirror
VLAN tag to mirrored traffic on the monitor port.
C13
no destination monitor-port Removes the destination monitor port from this RMirror
VLAN.
C13
inactive Disables the RMirror VLAN. C 13
no inactive Enables the RMirror VLAN. C 13
source 8021p-priority <0 -
7>
Sets the priority of the mirrored traffic in this VLAN. C 13
source mirror-port <port-
list> dir
<ingress|egress|both>
Sets the port(s) on which traffic is mirrored and the traffic flow
to be copied to the monitor port when the Switch is the source
device in remote port mirroring.
C13
no source mirror-port <port-
list>
Sets the Switch to not mirror any traffic on the specified
port(s).
C13
no source mirror-port <port-
list> dir egress
Sets the Switch to not mirror outgoing (egress) traffic on the
specified port(s).
C13
no source mirror-port <port-
list> dir ingress
Sets the Switch to not mirror incoming (ingress) traffic on
the specified port(s).
C13
source reflector-port Enables the source reflector port. C 13
source reflector-port <port-
num>
Sets the port that adds the RMirror VLAN tag to all mirrored
traffic and forwards traffic to the connected port(s) in the
same RMirror VLAN.
C13
no source reflector-port Removes the source reflector port. C 13
no rmirror vlan <vlan-id> Removes the specified RMirror VLAN. C 13
show rmirror vlan Displays all RMirror VLANs settings on the Switch. E 3
show rmirror vlan <vlan-id> Displays the specified RMirror VLAN settings. E 3
sysname(config)# mirror-port
sysname(config)# mirror-port 3
sysname(config)# interface port-channel 1,4-6
sysname(config-interface)# mirror
sysname(config-interface)# mirror dir egress

Содержание

Скачать