Chapter 6 Avaya P130 CLI

Set port mirror Command

Use the set port mirror command to define a port mirroring source- destination pair in the switch.

The syntax for this command is:

set port mirror source-port <mod_num>/<port_num> mirror-port <mod_num>/<port_num> sampling {always disable} direction {rx tx both}

always

Keyword to activate the port mirroring entry

disable

Keyword to change the status of the port mirroring entry to

 

"not ready"

rx

Keyword to copy only incoming traffic

tx

Keyword to copy only outgoing traffic

both

Keyword to copy both incoming and outgoing traffic

Example:

P130-1# set port mirror source-port 1/9 mirror-port 1/10 sampling always direction both

Mirroring both Rx and Tx packets from port 1/9 to port 1/10 is Enabled

Clear port mirror Command

Use the clear port mirror command to cancel port mirroring.

The syntax for this command is:

clear port mirror <source-module>/<source-port>/<dest- module>/<dest-port>

Example:

P130-1# clear port mirror 1/2/1/4

this command will delete the port mirror entry - do you want to continue (Y/N)? y

Mirroring packets from port 1/2 to port 1/4 is cleared

Set port vlan Command

See Set port vlan Command on page 90.

Avaya P130 User’s Guide

79

Page 93
Image 93
Avaya P130 manual Set port mirror Command, Clear port mirror Command, Set port vlan Command