Zyxel MGS-3712F [144/284] Command examples

Zyxel MGS-3712F [144/284] Command examples
Chapter 38 Mirror Commands
Ethernet Switch CLI Reference Guide
144
38.2 Command Examples
This example enables port mirroring and copies outgoing traffic from ports 1, 4, 5, and 6 to
port 3.
This example displays the mirror settings of the Switch after you configured in the example
above.
Table 90 mirror-filter Command Summary
COMMAND DESCRIPTION M P
mirror-filter egress mac <mac-
addr>
Copies outgoing frames with the specified source or
destination MAC address from mirrored ports to the monitor
port.
C13
mirror-filter egress type
<all|dest|src>
This command works with the previous command,
mirror-filter egress mac.
all: Specifies that the Switch should copy all outgoing traffic
from mirrored ports.
dest: Specifies that the Switch should copy all outgoing
traffic with the specified destination MAC address from
mirrored ports.
src: Specifies that the Switch should copy outgoing traffic
with the specified source MAC address from mirrored ports.
C13
mirror-filter ingress mac <mac-
addr>
Copies incoming frames matching with the specified source
or destination MAC address from mirrored ports to the
monitor port.
C13
mirror-filter ingress type
<all|dest|src>
This command works with the previous command,
mirror-filter ingress mac.
all: Specifies that the Switch should copy all outgoing traffic
from mirrored ports.
dest: Specifies that the Switch should copy all incoming
traffic with the specified destination MAC address from
mirrored ports.
src: Specifies that the Switch should copy all incoming traffic
with the specified source MAC address from mirrored ports.
C13
show mirror Displays mirror settings of the Switch. 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
sysname# show mirror
Mirroring: enable
Monitor port: 3
Mirrored port: 1,4-6
Ingress:
Egress: 1,4-6
Both:

Содержание

Похожие устройства