OcNOS-RON-6.3.1 : System Management Guide : System Management Command Reference : Traffic Mirroring Commands : show monitor session
show monitor session
Use this command to display the configuration details of one or more monitor sessions.
Command Syntax
show monitor session (<1-18>|all|(range RANGE)) (brief|)
Parameters
<1-18>
Session number
all
All sessions
RANGE
Session number range (n1-n2)
brief
Brief information
Command Mode
Exec mode or Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show monitor session 1
session 1
---------------
type : local
state : down (Session admin shut)
source intf :
tx : xe1 xe3 xe4
rx : xe2 xe3 xe4
both : xe3 xe4
source VLANs :
rx : 2,5-10,15,18-20
destination ports : xe5
filter count :
 
Legend: f = forwarding enabled, l = learning enabled
#
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Table 27-78 explains the output fields.
 
Table 27-78: show monitor session output fields
Entry
Description
Type
Type of monitor session.
State
State of the security flow filter. There are different error messages when you do RSPAN configuration:
1. Session admin shut
2. Dst in wrong mode
3. No sources configured
4. No dest configured
5. No operational src/dst
6. No hardware resource
7. Hardware failure.
Session admin shut
If the monitoring session is administratively shutdown, session will be in this state. This is the default state for any newly created monitoring session. Monitoring sessions can be activated using the command ‘no shut’ on monitoring session mode.
Dst in wrong mode
If both source and destination is configured on monitoring session and session is activated, then:
 
1. In case of local monitoring, if the destination port is not configured with ‘switchport’ or the destination is associated with bridge, then session will be in this state. Destination port shouldn’t participate in regular switching. Hence this configuration state is mandatory.
 
2. In case of remote monitoring, if the reflector port is not configured with ‘switchport’ or the destination is associated with bridge and/or if remote VLAN is part of bridge then session will be in this state. Remote VLAN ID used for encapsulation should be unused VLAN ID by bridge on the mirroring node.
No sources configured
If no source configured on the monitoring session (either source VLAN or source ports) and monitoring session is activated, then the session will be in this state. In order to recover, source needs to be configured on the monitoring session. Multiple sources can be configured on a monitoring session.
No dest configured
If a session is not configured with destination (either destination port in case of local monitoring or with remote vlan and reflector port in case of remote monitoring) and if the monitoring session is activated, then session will be in this state. In order to recover, destination needs to be configured on the monitoring session. Only one destination can be configured per monitoring session.
No operational src/dst
If both source and destination configured on monitoring session, destination is configured in right mode and session is activated, but:
1. In case of local monitoring, if the destination port link state is down, then session will be in this state.
2. In case of remote monitoring, if the reflector port link state is down, then session will be in this state.
3. In case the sources configured are ports and none of them are in link up state, then session will be in this state.
4. In case the sources configured are VLAN and none of the VLANs are part of bridge forwarding, then session will be in this state.
No hardware resource
If all the configurations are correct and multiple sessions are configured and activated, then one of the hardware limitation may be reached:
1. Destination port exceeding maximum limit.
2. Filters exceeding maximum limit.
3. VLAN source ports exceeding maximum limit.
In these cases, effected sessions will be in this state.
Hardware failure
If all the configurations are correct and sessions are activated but due to some expected or unexpected cases if the configuration cannot be applied in hardware, then the session will be in this state. This is not accepted state for a session and the issue needs to be analyzed and fixed.
Rx
Incoming flow (source and destination IP addresses).
Tx
Reverse flow (source and destination IP addresses).
Both
Incoming and reverse flow (source and destination IP address)
Destination Port
Name of the destination port to be matched.
Source intf
Number of maximum intf central source session.
Source VLANs
Number of maximum VLANs central source session.
Filter count
Used to count number of lines in a file or table.
Last modified date: 07-14-2023