14.11.2014 Views

Download complete user manual (PDF). - Brocade

Download complete user manual (PDF). - Brocade

Download complete user manual (PDF). - Brocade

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1<br />

ACL-based inbound mirroring<br />

Specifying the destination mirror port for physical ports<br />

You must specify a destination port for traffic that has been selected by ACL-based Inbound<br />

Mirroring. This configuration is performed at the Interface Configuration of the port whose traffic<br />

you are mirroring. In the following example, ACL mirroring traffic from port 1/1 is mirrored to port<br />

1/3.<br />

<strong>Brocade</strong>(config)# interface ethernet 1/1<br />

<strong>Brocade</strong>(config-if-e10000-1/1)# acl-mirror-port ethernet 1/3<br />

You can also use the ACL-mirroring feature to mirror traffic from multiple ports to a single port using<br />

the Multiple Interface Configuration (MIF) mode as shown in the following example.<br />

<strong>Brocade</strong>(config)# interface ethernet 1/1 to 1/2<br />

<strong>Brocade</strong>(config-mif-e10000-1/1-1/2)# acl-mirror-port ethernet 1/3<br />

Syntax: [no] acl-mirror-port ethernet [slot/port]<br />

The [slot/port] variable specifies port that ACL-mirror traffic from the configured interface will be<br />

mirrored to.<br />

Specifying the destination mirror port for a LAG<br />

You can mirror the traffic that has been selected by ACL-based inbound mirroring from all ports in a<br />

LAG by configuring a destination (monitor) port for the LAG at the interface configuration level of<br />

the LAG’s primary port. Configuring mirroring on the primary port of the LAG causes ACL-selected<br />

traffic from all ports in the LAG (including any ports subsequently added to the LAG dynamically on<br />

the <strong>Brocade</strong> NetIron XMR and <strong>Brocade</strong> MLX series) to be mirrored to the monitor port. For example,<br />

in the following configuration all traffic on LAG “mylag” will be mirrored to port 10/4:<br />

<strong>Brocade</strong>(config)# lag mylag static<br />

<strong>Brocade</strong>(config-lag-mylag)# ports ethernet 10/1 to 10/3<br />

<strong>Brocade</strong>(config-lag-mylag)# primary-port 10/1<br />

<strong>Brocade</strong>(config-lag-mylag)# deploy<br />

<strong>Brocade</strong>(config-lag-mylag)# exit<br />

<strong>Brocade</strong>(config)# interface ethernet 10/1<br />

<strong>Brocade</strong>(config-if-e1000-10/1)# acl-mirror-port ethernet 10/4<br />

Syntax: [no] acl-mirror-port ethernet slot/port<br />

The ethernet slot/port variable specifies the port that ACL-mirror traffic from the LAG will be<br />

mirrored to.<br />

The following considerations apply when configuring ACL-based mirroring with LAGs:<br />

• You must configure ACL-mirroring for an individual member port from the LAG configuration<br />

level. Attempting to configure ACL-mirroring at the interface level for an individual member port<br />

will fail and display the following message.<br />

Error: please use config level to configure ACL based mirroring on port.<br />

• If an individual port is configured for ACL-based mirroring, you cannot add it to a LAG. If you<br />

want to add it to a LAG, you must remove it from ACL-based mirroring first. Then you can add it<br />

to a LAG. It can then be configured for either ACL-based LAG mirroring or for mirroring an<br />

individual port within a LAG.<br />

If you attempt to add a port that is configured for ACL-based mirroring to a LAG, the following<br />

message will display.<br />

ACL port is configured on port 2/1, please remove it and try again.<br />

transaction failed: Config Vetoed<br />

18 Multi-Service IronWare Switching Configuration Guide<br />

53-1002820-02

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!