5. Using the CLI Shell
ROS® v3.11User Guide
102
RMC30
5.6. Tracing Events
The CLI trace command provides a means to trace the operation of various protocols
supported by the device. Trace provides detailed information including RSTP packet decodes,
IGMP activity and MAC address displays.
Tracing has been designed to provide detailed information to expert users. Note
that all tracing is disabled upon device startup.
In order to display the current trace settings and discover the systems that are being traced,
enter the CLI command “trace ?”.
trace ?
Supported commands:
noclear Starts the log without clearing it first
alloff Disables all trace subsystems from tracing
allon Enables all flags in all trace subsystems
stp Traces STP operations
link Displays switch fabric statistics
mac Displays MAC Events
forward Forwards trace messages to an IP:UDP address
igmp Displays IGMP Snooping events
gvrp Displays GVRP events
webs Traces Web Server connections
dhcpra Traces DHCP Relay Agent
802.1X Traces 802.1X PAE
ip Traces IP communications
Enter "trace command ?" for more information on a particular command.
STP : Logging all conditions on port(s) 1-10
LINK : Logging is disabled
MAC : Logging is disabled
FORW : IP: 0.0.0.0 UDP: 0 (OFF)
IGMP : Logging is disabled
GVRP : Logging is disabled
WEBS : Logging is disabled
DHCPRA : Logging is disabled
802.1X : Logging is disabled
IP : Logging is disabled
Figure 5.6. Displaying Trace Settings
5.6.1. Enabling Trace
Tracing can be enabled on a per subsystem basis. Obtain detailed information about
individual subsystems by entering “trace subsystem_name ?<CR>”. Some subsystems offer
a mechanism to enable tracing only on certain ports.