Monitoring a port, Monitoring an individual trunk port – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 459

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

425

53-1003053-01

Configuring port mirroring and monitoring

TurboIron(config)#mirror ethernet 24

TurboIron(config)#mirror ethernet 48

TurboIron(config)#interface ethernet 1

TurboIron(interface ethernet 1)#monitor ethernet 48 both

The analyzer port (48) is set to all devices in the system

TurboIron#interface ethernet 2

TurboIron(interface ethernet 2)#ip access-group 101 in

TurboIron#exit

TurboIron#interface ethernet 1

TurboIron(interface ethernet 1)#acl-mirror-port ethernet 48

The previous command is required even though the analyzer port is already set globally by the
port mirroring command.

TurboIron#interface ethernet 3

TurboIron(interface ethernet 3)#ip access-group 101

TurboIron(interface ethernet 3)#acl-mirror-port ethernet 48

TurboIron(interface ethernet 3)#permit ip any any mirror

TurboIron(interface ethernet 3)#ip access-group 102

TurboIron(interface ethernet 3)#deny ip any any log

Monitoring a port

This section describes how to configure port mirroring and monitoring.

To configure port monitoring on an individual port on a device, enter commands similar to the
following.

TurboIron(config)#mirror-port ethernet 4

TurboIron(config)#interface ethernet 11

TurboIron(config-if-e10000-11)#monitor ethernet 4 both

Traffic on port e 11 will be monitored, and the monitored traffic will be copied to port e 4, the mirror
port.

Syntax: [no] mirror-port ethernet <portnum> [input | output]

Syntax: [no] monitor ethernet<portnum> both | in | out

The <portnum> parameter for mirror-port ethernet specifies the port to which the monitored traffic
will be copied. The <portnum> parameter for monitor ethernet specifies the port on which traffic
will be monitored.

The input and output parameters configure the mirror port exclusively for ingress or egress traffic.
If you do not specify one, both types of traffic apply.

The both, in, and out parameters specify the traffic direction you want to monitor on the mirror port.
There is no default.

To display the port monitoring configuration, enter the show monitor and show mirror commands.

Monitoring an individual trunk port

You can monitor the traffic on an individual port of a static trunk group. Note that monitoring an
LACP trunk port is not supported.

Advertising