Options, Wildcards – Znyx Networks bh5700 User Manual

Page 312

Advertising
background image

zmirror zre1, zre2, zre3 cpu

Is the same as:

zmirror zre1 cpu

zmirror zre2 cpu

zmirror zre3 cpu

Multiple mirroring setups can be made. The following example will mirror port 1 traffic to port
11 and port 2 traffic to port 12.

zmirror zre1 zre10

zmirror zre2 zre11

Setting a different to port will overwrite the previous setting. Given the last setup the following
will change port 1 traffic to be forwarded to port 10.

zmirror zre1 zre10

The following example results in ingress mirroring from port 0 to port 1and from port 2 and 3 to
port 18.

zmirror zre0 zre1

zmirror zre2 zre12

zmirror zre3 zre18

The to port of 12 was over written with the to port 18 .

Use zmirror –a to query the hardware to display the current configuration.

zmirror -a

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:

Ethernet Switch Blade User's Guide

release 3.2.2j

page 312

Advertising