Avaya P330-ML-ML Switch User Manual


 
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
94 Avaya P330-ML Reference Guide
Example:
set port mirror
User level: privileged, supervisor.
Use the set port mirror command to define a port mirroring pair in the stack.
Note: Ensure that the VLAN binding parameters are identical on the source and
destination ports.
The syntax for this command is:
set port mirror source-port <module/port> mirror-port
<module/port> sampling <activate> direction <direction>
Example:
port Number of the port on the module.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on switch 4.
value Priority level (0-7)
P330-N# set port level 3/1 5
Port 3/1 level set to 5
module Number of the switch.
port Number of the port on the switch.
activate always - keyword to activate the port mirroring entry
direction rx - keyword to copy only incoming traffic
both - keyword to copy both incoming and outgoing traffic
P330-N# set port mirror source-port 3/9 mirror-port 4/10
sampling always direction both
Mirroring both Rx and Tx packets from port 3/9 to port 4/10
is enabled