Example Log Configuration Setup Introduction
1-161
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
FIGURE 1-8 Example Log Configuration
1.11.4 Example Log Configuration Setup
An example sequence of setting up a log management system would be as follows:
• Create a log filter - Use the CREATE LOG FILTER=<filter name> command to create a name for a set of
logs, called the filterid, and set up a criteria so logs that meet that criteria are collected together and associ-
ated with that filterid.
• Create a log output - Use the CREATE LOG OUTPUT=<output name> command to create a name for the
destination for the logs (called an outputid), set up the attributes for that destination (such as an IP address),
and specify the log format.
• Associate the filterid with the outputid - Use the ADD FILTER OUTPUT=<output name> command to
associate the filterid with the outputid so that logs filtered in a certain way are sent to a certain destination.
The log format can be set to FULL, SUMMARY, or MSGONLY by using the FORMAT keyword with the
CREATE
LOG OUTPUT
or the SET LOG OUTPUT command. The FULL format displays the entire log message. The SUM-
MARY format displays only the category, timestamp, and log type. The MSGONLY format displays only the log
message. A comparison of the formats is shown in Figure 1-9.
TELNET/CLI
CFC control module (console port)
local
terminal
SYSLOG server
outputids for:
All logs (all Categories and Severities)
Physical Link
Critical Severity only
Categories CARD, SHLF only
SBx31CFC
SBx3112
SBx3100