
KSwitch D10 MMT Managed Time Sensitive Ethernet Switch - Preliminary User Guide, Rev. 0.99
// 98
9.9.
Port Mirroring
9.9.1.
Port Mirroring Configuration
Port Mirroring allows the user to mirror (duplicate) Rx/Tx/Both traffic from one or more ports to another dedicated
debug port where a network analyzer can be attached to analyze the network traffic.
9.9.1.1.
Monitor Session
Description - Enable Port Mirroring.
monitor session <session_number = 1>
no monitor session <session_number = 1>
Parameter
Description
Parameter
<session_number= 1>
Mirror session number must be set as 1
Default
N.A
Mode
Global Configuration Mode
Usage
Enable traffic mirroring from one or more ports to a dedicated mirroring port. Use the no version
of the command to disable.
Examples
Example (Enable port mirroring)
# configure terminal (config)# monitor session 1
9.9.1.2.
Port Configuration
Description - Configure port mirroring parameters.
monitor session
<session_number>
[
destination
{ interface <port_type> [ <di_list> ] } |
source
{ interface <port_type> [ <si_list> ] [ both | rx | tx ]
| cpu
[ both | rx | tx ] } ]
Parameter
Description
Parameter
<session_number = 1>
Mirror session number must be set as 1
destination
Mirror destination port
<port_type>
Port type in GigaEthernet
<di_list>
Port ID, ex, 1/1
source
Mirror source ports
<si_list>
List of Port ID, ex, 1/1,3-5
both
Received and transmitted frames are mirrored on the destination
port.
rx
Only received frames are mirrored to the destination
tx
Only transmitted frames are mirrored to the destination port
cpu
Mirror source CPU
Default
N.A
Mode
Global Configuration Mode
Usage
Configure which Switch ports to mirror, and to which port to mirror it to. Disable MAC address
learning for the destination port.
Examples
Example (Set port 11 as a destination port to mirror received frames only on ports 1-5 )
# configure terminal
(config)# monitor session 1 destination interface GigabitEthernet 1/11