Avaya P130 사용자 설명서

다운로드
페이지 160
Chapter 6        Avaya P130 CLI
Avaya P130 User’s Guide
79
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}
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
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