Introduction Logging Procedures
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
1-166
CREATE LOG OUTPUT
Syntax
CREATE LOG OUTPUT=outputid
[ { CLI [ FORMAT={ FULL | MSGONLY | SUMMARY } ] |
CONSOLE [ FORMAT={ FULL | MSGONLY | SUMMARY } ] |
SYSLOG SERVER={ ipaddress | hostname }
{ [ FACILITY={ 0..7 | DEFAULT } ] | [ CRITICALFACILITY={ 0..7 |
DEFAULT } ] [ MAJORFACILITY={ 0..7 | DEFAULT } ] [ MINORFACILITY={
0..7 | DEFAULT } ] [ INFOFACILITY={ 0..7 | DEFAULT } ] } |
FILE=unit:filename [ FORMAT={ FULL | MSGONLY | SUMMARY } ] } ]
Description Creates management log output destinations. Management log output destinations are
used to direct a filtered management log stream to a specific destination. Currently, sup-
ported destinations include a CLI session, the system console and a Syslog server. Note
that CLI session output destinations are not persisted. If a user sets up a management log
output destination and then subsequently logs out, that management log output destina-
tion is removed from the system. In addition, created log output destinations are disabled
upon creation. Execute the ENABLE LOG OUTPUT command to enable the manage-
ment log output destination for output.
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).
Option Description Default Value
OUTPUT
The outputid is a name
associated with the destina-
tion for the logs. The destination can be a terminal
or SYSLOG server. The outputid can also define
the log format.
N/A, but usually a
text string upto 23
characters long
CLI The output will go to the CLI session.
CONSOLE The output will go to the System Console.
SYSLOG
SERVER
The IP address or hostname of the Syslog server.
FACILITY The log facility that all levels of syslogs are sent to.
Refer to RFC3164 for details on the SYSLOG protocol.
2 (DEFAULT)
CRITICAL-
FACILITY
The log facility that critical syslogs are sent to. The pos-
sible values are 0-7, indicating LOCAL0-LOCAL7 or
DEFAULT.
LOCAL2
MAJORFA-
CILITY
The log facility that major syslogs are sent to. The pos-
sible values are 0-7, indicating LOCAL0-LOCAL7 or
DEFAULT.
LOCAL2