Options, Wildcards, See also – Znyx Networks bh5700 User Manual

Page 232

Advertising
background image

zmirror is cumulative:

zmirror zre1, zre2, zre3 cpu

Is the same as:

zmirror zre1 cpu

zmirror zre2 cpu

zmirror zre3 cpu

Setting a different to port will overwrite the previous setting and direct previously mirrored ports
to a new to port. Given the last setup the following will change port 1 traffic to be forwarded to
port 10.

zmirror zre1 zre10

OPTIONS

-a

Display the current mirroring setup

-e

Set egress port mirroring for the specified from port

-t

Teardown or disable the mirroring

WILDCARDS

Wildcard characters can be included to simplify the process of creating larger, more complex
configurations. Wild card characters for zconfig include:

, (comma)

Use for creating lists

.. (dot-dot)

Specifies an inclusive range

Below are some examples for the correct usage of the comma (,) and dot-dot (..). Each line below
produces the same results:

zre1, zre2, zre3, zre4

zre1..4

zre1, zre2..4

zre1..2, zre3..4

SEE ALSO

tcpdump(1M)

Ethernet Switch Blade User's Guide

release 3.2.2j

page 232

Advertising