Brocade BigIron RX Series Configuration Guide User Manual

Page 229

Advertising
background image

BigIron RX Series Configuration Guide

151

53-1002484-04

Mirror ports for Policy-Based Routing (PBR) traffic

6

NOTE

You cannot monitor outbound traffic from one armed router traffic.

NOTE

Mirror (analyzer) ports cannot be assigned to the 16x10 card. You can monitor traffic on 16x10
ports.

The following example configures two mirror ports on the same module and one mirror port on
another module. It will illustrate how inbound traffic is mirrored to the two mirror ports on the same
module even if the traffic is configured to be mirrored to only one mirror port on the module.

BigIron RX(config)# mirror-port ethernet 1/1

BigIron RX(config)# mirror-port ethernet 1/2

BigIron RX(config)# mirror-port ethernet 2/1

BigIron RX(config)# interface ethernet 3/1

BigIron RX(config-if-e10000-3/1)# monitor ethernet 1/1 both

BigIron RX(config-if-e10000-3/1)# interface ethernet 4/1

BigIron RX(config-if-e10000-4/1)# monitor ethernet 1/2 both

This example configures two mirror ports 1/1 and 1/2 on the same module. It also configures input
and output traffic from port 3/1 to be mirrored to mirror port 1/1 and input and output traffic from
port 4/1 to be mirrored to mirror port 1/2. Because mirror ports 1/1 and 1/2 are configured on the
same module, mirror port 1/1 will receive the input traffic from port 3/1 as well as port 4/1 and
mirror port 1/2 will receive input traffic from port 4/1 as well as port 3/1 even if they are not
explicitly configured to do so. The outbound traffic from port 3/1 is mirrored to port 1/1 only, as
configured and the outbound traffic from port 4/1 is mirrored to port 1/2 only as configured.

This example also configures one mirror port 2/1 on another module, to which inbound traffic from
port 3/1 is mirrored. Because only one mirror port is configured on this module, the traffic is
mirrored as configured.

If input monitoring is enabled on two ports controlled by the same packet processor, then the input
traffic on these two ports will be mirrored to all the ports configured as mirror ports for these two
monitored ports. This restriction does not apply to outbound monitoring.

BigIron RX(config)# mirror-port ethernet 1/1

BigIron RX(config)# mirror-port ethernet 2/1

BigIron RX(config)# interface ethernet 3/1

BigIron RX(config-if-e1000-3/1)# monitor ethernet 1/1 both

BigIron RX(config-if-e1000-3/1)# interface ethernet 3/2

BigIron RX(config-if-e1000-3/2)# monitor ethernet 2/1 both

The above example configures two mirror ports 1/1 and 2/1 on different modules. Port 3/1 uses
port 1/1 for inbound and outbound mirroring. Port 3/2 uses port 2/1 for inbound and outbound
mirroring. If 3/1 and 3/2 are controlled by the same packet processor, inbound traffic from 3/1 will
be mirrored to 1/1 as well as 2/1 and similarly, inbound traffic from 3/2 will be mirrored to 2/1 as
well as 1/1. The outbound traffic on 3/1 and 3/2 are mirrored according to the configuration.

Mirror ports for Policy-Based Routing (PBR) traffic

You can mirror traffic on ports that have policy-based routing (PBR) enabled. This feature is useful
for monitoring traffic, debugging, and enabling application-specific mirroring.

Advertising