Set port mirror – Avaya P460 User Manual

Page 102

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

92

Avaya P460 Reference Guide

set port mirror

User level: read-write, admin.
Use the set port mirror command to define a port mirroring pair in the switch.

The syntax for this command is:

set port mirror source-port

<module>/<port> mirror-port <module>/

<port> direction {rx|both}

Example:

module

Number of the module (3-6). If you do not specify a number, the
ports on all the modules are shown.

port

Number of the port on the module. If you do not specify a number,
all the ports on the module are shown.

always

Keyword to activate the port mirroring entry

disable

Keyword to change the status of the port mirroring entry to “not
active”

rx

Keyword to copy only incoming traffic

both

Keyword to copy both incoming and outgoing traffic

P460-1# set port mirror source-port 3/9 mirror-port 4/10

direction both

Mirroring both Rx and Tx packets from port 3/9 to port 4/10

is enabled

Advertising