beautypg.com

Configuring a port to be a mirror port, Adding a port mirror connection, Deleting a port mirror connection – Brocade Fabric OS Troubleshooting and Diagnostics Guide (Supporting Fabric OS v7.3.0) User Manual

Page 59

background image

Fabric OS Troubleshooting and Diagnostics Guide

43

53-1003141-01

Port mirroring

3

Configuring a port to be a mirror port

1. Connect to the switch and log in using an account with admin permissions.

2. Enter the portCfg mirrorport [slot number/] port number

--

enable command.

NOTE

The enable command enables the port as a mirror port. The disable command disables the mirror
port configuration.

Adding a port mirror connection

1. Connect to the switch and log in using an account with admin permissions.

2. Enter the portMirror

--

add slotnumber/portnumber SourceID DestID command.

The configuration database keeps information about the number of port mirror connections
configured on a switch, the number of chunks of port mirroring data that are stored, and the chunk
number.

Deleting a port mirror connection

1. Connect to the switch and log in using an account with admin permissions.

2. Enter the portMirror

--

del SourceID DestID command.

For example, to delete the port mirror connection on mirror port 2, you could enter the
following command:

switch:admin> portMirror --del 0x011400 0x240400

When removing a mirror connection, always use this method to ensure that the data is cleared.
Deleting a connection removes the information from the database.

FS8-18

3

FX8-24

3

TABLE 9

Maximum number of mirror connections (Continued)

Model

Maximum number of mirror connections (chassis-wide)