OcNOS-RON-6.3.1 : System Management Guide : System Management Command Reference : Traffic Mirroring Commands : show monitor
show monitor
Use this command to display states of all monitor sessions. If a session is down, the reason is displayed.
Command Syntax
show monitor
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show monitor
Session State Reason Description
------- ----------- ---------------------- --------------------------------
1 down No sources configured
2 down Dst in wrong mode
Table 27-77 explains the output fields.
 
Table 27-77: show monitor fields
Entry
Description
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.
 
Last modified date: 07-14-2023