Management and Configuration Guide K/KA/KB.15.15

Adding a description for a Syslog server
You can associate a user-friendly description with each of the IP addresses (IPv4 only) configured
for syslog using the CLI or SNMP.
CAUTION: Entering the no logging command removes ALL the syslog server addresses without
a verification prompt.
NOTE: The HP enterprise MIB hpicfSyslog.mib allows the configuration and monitoring of syslog
for SNMP (RFC 3164 supported.)
The CLI command is:
Syntax
logging ip-addr [control-descr text_string ]
no logging ip-addr [control-descr]
An optional user-friendly description that can be associated with a server IP address.
If no description is entered, this is blank. If text_string contains white space,
use quotes around the string. IPv4 addresses only.
Use the no form of the command to remove the description. Limit: 255 characters
NOTE: To remove the description using SNMP, set the description to an empty
string.
Example
Example 115 logging command with a control description
HP Switch(config)# logging 10.10.10.2 control-descr syslog_one
Adding a priority description
This description can be added with the CLI or SNMP. The CLI command is:
Syntax
logging priority-descr text_string
no logging priority-descr
Provides a user-friendly description for the combined filter values of severity and
system module. If no description is entered, this is blank.
If text_string contains white space, use quotes around the string.
Use the no form of the command to remove the description.
Limit: 255 characters
Example
Example 116 The logging command with a priority description
HP Switch(config)# logging priority-descr severe-pri
NOTE: A notification is sent to the SNMP agent if there are any changes to the syslog parameters,
either through the CLI or with SNMP.
Debug/syslog operation 423