A SERVICE OF

logo

logging
OVERVIEW
Switch ManagementCategory:
configPrimary context:
log (page 361)Related Commands
the section called logging (page 567)
Usage: [no] logging <IP-ADDR> [control-descr <text string>]
[no] logging priority-descr <text-string>
[no] logging facility <facility>
[no] logging severity <severity>
[no] logging system-module <module>
Description: Add an IP address to the list of receiving syslog servers.
Use of 'no' without an IP address specied will remove all
IP addresses from the list of syslog receivers. If an IP
address is specied, that receiver will be removed.
- Specify syslog server facility with <facility>. 'no
logging facility <facility>' sets facility back to defaults.
- Specify severity for event messages to be ltered to the
syslog server with <severity>. 'no logging severity
<severity>' sets severity back to default.
- Event messages of specied system module will be sent to
the syslog server. 'no' sends messages from all system
modules. Messages are 1st ltered by selected severity.
NOTES
Maximum Number of Entries
Starting in software release K.13.xx, the maximum number of entries supported in the Event
Log is increased from 1000 to 2000 entries. Entries are listed in chronological order, from the
oldest to the most recent. Once the log has received 2000 entries, it discards the oldest
message each time a new message is received. The Event Log window contains 14 log entry
lines. You can scroll through it to view any part of the log.
COMMAND STRUCTURE
[no] logging facility < kern | user | mail | ... > -- Specify the syslog facility value that will be used
for all syslog servers (p. 364)
[no] logging ip-address -- Add an IP address to the list of receiving syslog servers (IP-ADDR) (p.
365)
control-descr -- A text string associated with the given IP-ADDr (p. 364)
control-descr -- A text string associated with the given IP-ADDr (ASCII-STR) (p. 364)
[no] logging priority-descr -- A text string associated with the values of facility, severity, and
system-module (p. 365)
priority-descr -- A text string associated with the values of facility, severity, and system-module
(ASCII-STR) (p. 365)
[no] logging severity < major | error | warning | ... > -- Event messages of the specified severity
or higher will be sent to the syslog server (p. 366)
[no] logging system-module < all-pass | vlan | ip | ... > -- Event messages of the specified system
module (subsystem) will be sent to the syslog server (p. 366)
363© 2009 Hewlett-Packard Development Company, L.P.