Chapter 5 CLI – Layer 2
102 P332G-ML User’s Guide
Set intermodule port redundancy off Command
Use the set intermodule port redundancy off command to clear the
intermodule redundancy.
The syntax for this command is:
set intermodule port redundancy off
Set port mirror Command
Use the set port mirror command to define a port mirroring source-
destination pair in the stack.
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:
P330-N# 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
Set port spantree
Use the set port spantree command to enable or disable the spanning tree
mode for specific switch ports.
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
tx Keyword to copy only outgoing traffic
both Keyword to copy both incoming and outgoing traffic