
zmirror
NAME
zmirror
- Set packet mirroring on an ingress or egress port
SYNOPSIS
zmirror -a | -t
zmirror [-e] <from_list> <to_port>
DESCRIPTION
zmirror
sets packet mirroring from a given set of ports to one given port. Turning on packet
mirroring causes a copy of the packet to be sent to the
to
port. Any number of
from
ports can be
mirrored to one
to
ports.
NOTE: There are performance issues when trying to mirror more bandwidth than is
available on the
to
port.
After executing the following command, packets received on ports 1, 2 and 3 would be mirrored
(copied and transmitted) to port 12. This mirroring would be in addition to any Layer 3 or Layer
2 switching.
zmirror zre1, zre2, zre3 zre12
To clear the current mirroring, use the
-t
option.
The
-e
option can be used to indicate that packets being sent on a given port should be copied to
the
to
port. For example if the
-e
option is used as follows, the packets transmitted, as opposed
to received, on ports 1, 2 or 3 would be mirrored to port 12.
zmirror -e zre1, zre2, zre3 zre12
The
to
port can also be the keyword
cpu
to indicate that packets should be forwarded to the on-
board processor. The following example would mirror the contents of port 1, 2 or 3 to the on-
board processor:
zmirror zre1, zre2, zre3 cpu
The
to
port can be a single port or the keyword
cpu
. The from port can be a list consisting of one
or more ports. The
from
port cannot be the
cpu
. See the section on wildcards for discussion of
from port lists.
zmirror
is cumulative:
Ethernet Switch Blade User's Guide
release 3.2.2j
page 311
Содержание bh5700
Страница 2: ...Ethernet Switch Blade User s Guide release 3 2 2j page ii...
Страница 15: ...Ethernet Switch Blade User s Guide release 3 2 2j page 15...
Страница 16: ...Ethernet Switch Blade User s Guide release 3 2 2j page 16...
Страница 25: ...Ethernet Switch Blade User s Guide release 3 2 2j page 25 Figure 2 1 LED Reference...
Страница 26: ...Ethernet Switch Blade User s Guide release 3 2 2j page 26...
Страница 227: ...SEE ALSO ifconfig 8 Ethernet Switch Blade User s Guide release 3 2 2j page 227...
Страница 237: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 237...
Страница 239: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 239...
Страница 262: ...SEE ALSO zqosd iptables 8 tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 262...
Страница 265: ...SEE ALSO zconfig zl2d Ethernet Switch Blade User s Guide release 3 2 2j page 265...
Страница 318: ...be also reset SEE ALSO zspconfig Ethernet Switch Blade User s Guide release 3 2 2j page 318...
Страница 320: ...SEE ALSO ztmd tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 320...
Страница 335: ...Ethernet Switch Blade User s Guide release 3 2 2j page 335...
Страница 344: ...SEE ALSO zqosd iptables 8 tc 8 zfilterd Ethernet Switch Blade User s Guide release 3 2 2j page 344...
Страница 359: ...Index ztmd 301 zvlan 179 258 ZX4920 MIB 333 7100 User s Guide release 3 2 2j page 359...