beautypg.com

Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 539

background image

4. Open a monitor session and assign a session number

switch(config)# monitor session 1

5. Configure the source port and the destination port, with the both parameter for bidirectional port

mirroring.

By modifying the direction parameter, you can control whether this is an ingress, egress, or a
bidirectional SPAN.

In the case of RSPAN, the destination is the VLAN, instead of a destination interface.

switch(config-session-1)# source tengigabitethernet 1/0/15 destination rspan-vlan

100 direction both

6. Optional: Use the description command to add a label to the monitor session.

switch(config-session-1)# description Hello World!

7. Use the switchport command to add a port to the RSPANVLAN to access the mirrored packets.

switch(config-session-1)# exit

switch (config)# interface ten 1/0/15

switch(conf-if-te-1/0/15)# switchport access rspan-vlan 100

8. Display the results of the configuration.

switch(conf-if-te-1/0/15)# do show vlan rspan-vlan

Configuring Switched Port Analyzer

Network OS Administrator’s Guide

539

53-1003225-04