Show port monitor – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 353

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

303

53-1002581-01

Local Port Mirroring Commands

14

This example configures port 2 to monitor packets matching the MAC address 00-12-CF-XX-XX-XX
received by port 1.

Console(config)#access-list mac m1

Console(config-mac-acl)#permit 00-12-cf-00-00-00 ff-ff-ff-00-00-00 any

Console(config-mac-acl)#exit

Console(config)#interface ethernet 1/1

Console(config-if)#mac access-group m1 in

Console(config-if)#interface ethernet 1/2

Console(config-if)#port monitor access-list m1

Console(config-if)#

show port monitor

This command displays mirror information.

Syntax

show port monitor [interface | vlan vlan-id | mac-address mac-address]

interface - ethernet unit/port (source port)

unit - Unit identifier. (Range: 1)

port - Port number. (Range: 1-12)

vlan-id - VLAN ID (Range: 1-4093)

mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or xxxxxxxxxxxx.

Default Setting

Shows all sessions.

Command Mode

Privileged Exec

Command Usage

This command displays the currently configured source port, destination port, and mirror mode
(i.e., RX, TX, RX/TX).

Example

The following shows mirroring configured from port 6 to port 5:

Console(config)#interface ethernet 1/5

Console(config-if)#port monitor ethernet 1/6

Console(config-if)#end

Console#show port monitor

Port Mirroring

-------------------------------------

Destination Port (listen port):Eth1/5

Source Port (monitored port) :Eth1/6

Mode :RX/TX

Console#

Advertising