Brocade Communications Systems 8 Command Reference Manual page 766

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

2
portMirror
State
You must enable port mirroring on the port before you can configure mirror connections for that
port. Use portcfg mirrorport --enable to enable a port for port mirroring. Use the portCfgShow
command to display all mirror ports on a switch. The switchShow command displays the configured
port as "Mirror Port".
Use the portPerfShow command to display the total number of transmitted and received bytes for
each port. In the case of a mirror port, this command shows twice the amount of traffic, because
the mirror port transmits and receives the frames.
Notes
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
The port mirroring feature is supported in Virtual Fabric mode so long as the FC Routing service is
not enabled on the logical switch. Use the fosConfig command to disable the FC Routing service.
When in-order deliver (IOD) is enabled, deleting a mirror connection can cause frame loss between
the SID and DID. If IOD is disabled, deleting a mirror connection may introduce an "order of
delivery" error between the SID and DID.
Operands
This command has the following operands:
--show
--add
--delete
Examples
To configure a port as a mirror port:
734
The state of the mirror connection. The state can either be "Defined" or
"Enabled." In both cases, the port mirroring connection is persistently stored.
A connection that is "Defined" has not been hardware-configured because at
least one port is not online. A connection that is "Enabled" has been
configured in the hardware.
Displays all configured mirror connections.
Adds a mirror connection between a source port and a destination port.
slot
For bladed systems only, specifies the slot number of the port to be
configured, followed by a slash (/).
port
Specifies the number of the port to be configured, relative to its slot for
bladed systems. This port is the mirror port, in which the mirror traffic is
shown. Use switchShow for a listing of valid ports.
SID
Specifies the 3-byte source ID of the originator device in "0xDDAAPP" format,
where DD is the Domain ID, AA is the Area ID and PP is the AL_PA ID. For
example, 0x050200 has a domain ID of 5, an area ID of 2, and an AL_PA ID
of 0. The values for the SID and the DID cannot both be 0x000000.
DID
Specifies the 3-byte DID destination ID of the destination device, in
"0xDDAAPP" format, where DD is Domain ID, AA is Area ID and PP is AL_PA ID.
For example, 0x050200 has a domain ID of 5, an area ID of 2 and an AL_PA
ID of 0. The values for the SID and the DID cannot both be 0x000000.
Deletes a mirror connection between a source and a destination. You must
specify a SID and a DID when deleting a mirror connection.
switch:admin> portcfg mirrorport 18--enable
Please confirm enable of Mirror Port: 17 (Y,y,N,n): [n] y
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents