Quick Reference Guide

388 Syslog Commands
Syntax
logging
{ip4-address
|
ip6-address
|
hostname}
[
port
port
]
[
severity
level
] [
facility
facility
]
[
description
text
]
no logging
{ip4-address
|
ip6-address
|
hostname}
ip4-address
— Host IPv4 address to be used as a syslog server.
ip6-address
— Host IPv6 address to be used as a syslog server. When the IPv6 address is a Link
Local address (IPv6Z address), the outgoing interface name must be specified. Refer to the usage
guidelines for the interface name syntax.
hostname
— Hostname of the host to be used as a syslog server. (Range: 1 - 158 characters)
port
— Port number for syslog messages. If unspecified, the port number defaults to 514. (Range:
1 - 65535)
severity
level
— Limits the logging of messages to the syslog servers to a specified level:
emergencies
,
alerts
,
critical
,
errors
,
warnings
,
notifications
,
informational
and
debugging
. If
unspecified, the default level is
errors
.
facility
— The facility that is indicated in the message. Can be one of the following values:
local0,
local1, local2, local3, local4, local5, local 6, local7
. If unspecified, the port number defaults to
local7
.
text
— Syslog server description. (Range: 1 - 64 characters)
Default Configuration
As described in the field descriptions.
Command Mode
Global Configuration mode.
User Guidelines
Multiple syslog servers can be used.
If no specific severity level is specified, the global values apply to each server.
The IPv6Z address format: <
ipv6-link-local-address
>%<
interface-name
>
interface-name
vlan
<
integer
> |
ch
<
integer
> |
isatap
<
integer
> | <
physical-port-name
> | 0
integer
— <
decimal-number
> | <
integer
><
decimal-number
>
decimal-number
— 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
physical-port-name
— Designated port number, for example g1.
If the egress interface is not specified, the default interface is selected. Specifying interface zone=0 is
the same as not defining an egress interface.
5400_CLI.book Page 388 Wednesday, December 17, 2008 4:33 PM