Chapter 6: Log Commands
102 Section II: Switch Management
SET LOG OUTPUT
Syntax
set log output[=permanent|syslog] [server=
ip_address
]
[listenport=
port_number
] [severity=[
operator
]
severity
]
[facility=
facility
|default]
Parameters
output
Specifies the permanent or syslog keyword. By default, the
permanent keyword is specified.
permanent
Specifies the permanent log to set the parameters.
syslog
Specifies the syslog to set the parameters.
ip_address
Specifies the IPv4 address of the sysLog server. This is only
available for the syslog.
port_number
Specifies the number of UDP port for the sysLog server. The port
number is from 1 to 65535. By default, the UDP port for the sysLog
server is 514. This is only available for the syslog.
operator
Specifies one of the operators shown in Table 11 on page 103.
severity
Specifies the severity level of log messages to be sent. The
severity level are 0 to 7. See Table 10 on page 103.
facility
Specifies the sysLog facility. You can specify using a facility
keyword or code as shown in Table 12 on page 103. This is only
available for syslog.
default
Specifies the sysLog facility to be the default value.
Description
Use this command to configure the permanent log and syslog.