User Event Logging Event Logging TRACE Commands
Software Reference for SwitchBlade x3100 Series Switches (Alarms and Troubleshooting)
8-36
ENABLE TRACE OUTPUT
Syntax
ENABLE TRACE [ OUTPUT={ CLI } [ FORMAT={ FULL | SUMMARY } ] ]
Description This allows Event Logs to be stored (in Event Log buffer) and to be displayed to the CLI
(optional). This will also generate an Event Log so that the user can see that logging was
enabled at this point.
This command can be called more that once. For example, the user could input ENABLE
TRACE to turn on tracing, then decide that the CLI needs to be enabled as well and
input ENABLE TRACE OUTPUT CLI.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example ENABLE TRACE OUTPUT CLI
The following output is the result of a DHCP Relay trace:
DHCPRELAY 2010-08-13 12:54:12.044 DST slot(5) 17
Discover Received: Instance=MAIN VID=512 Int=11.23 SrcMACAddr=00:02:02:00:AB:97
DHCPRELAY 2010-08-13 12:54:12.046 DST slot(5) 18
Discover Forwarded: Instance=MAIN VID=512 ClientInt=11.23 SrcMAC-
Addr=00:02:02:00:AB:97
DHCPRELAY 2010-08-13 12:54:12.749 DST slot(5) 19
Offer Forwarded: Instance=MAIN VID=512 ClientInt=11.23 SrcMAC-
Addr=00:02:02:00:AB:97
DHCPRELAY 2010-08-13 12:54:12.752 DST slot(5) 20
Discover Received: Instance=MAIN VID=512 Int=11.23 SrcMACAddr=00:02:02:00:AB:97
DHCPRELAY 2010-08-13 12:54:12.754 DST slot(5) 21
Discover Forwarded: Instance=MAIN VID=512 ClientInt=11.23 SrcMAC-
Addr=00:02:02:00:AB:97
DHCPRELAY 2010-08-13 12:54:12.760 DST slot(5) 22
Offer Forwarded: Instance=MAIN VID=512 ClientInt=11.23 SrcMAC-
Addr=00:02:02:00:AB:97
Option Description Default Value
OUTPUT CLI
FORMAT FULL
SUMMARY