24-2
www.hp.com
HP PC Blade Switch CLI Reference Guide
Syslog Commands
logging
The
logging
Global Configuration mode command logs messages to a syslog server. To delete
the syslog server with the specified address from the list of syslogs, use the
no
form of this
command.
Syntax
logging
{
ip-address
|
hostname
}
[
port
port
]
[
severity
level
] [
facility
facility
]
[
description
text
]
no logging
{
ip-address
|
hostname
}
Parameters
n
ip-address — IP address of the host to be used as a syslog server.
n
hostname
— Specifies the host name of the syslog server. (Range: 1-158 characters)
n
port
— Specifies the port number for syslog messages. (Range: 1-65535)
n
level
— Specifies the severity level of logged messages sent to the syslog servers.
Possible values:
emergencies
,
alerts
,
critical
,
errors
,
warnings
,
notifications
,
informational
and
debugging
.
n
facility
— Specifies the facility that is indicated in the message. Possible values:
local0
,
local1
,
local2
,
local3
,
local4
,
local5
,
local6
,
local7
.
n
text
— Syslog server description. (Range: 1-64 characters)
Default Setting
The default port number is 514.
The default logging message level is
informational
.
The default facility is local7.
Command Mode
Global Configuration mode
Command Usage
Up to 8 syslog servers can be used.
If no severity level is specified, the global values apply to each server.
Example
The following command limits logged messages sent to the syslog server with IP address
10.1.1.1 to severity level
critical
.
Console(config)#
logging
10.1.1.1
severity critical
Summary of Contents for BladeSystem bc2000 - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...