Chapter 5 | CLI – Layer 2 |
|
|
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 {alwaysdisable} direction {rxtxboth}
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 |
Example:
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.
102 |