Displaying The Interface Name In Syslog Messages - HP ProCurve 9304M Installation And Configuration Manual

Routing switches
Hide thumbs Also See for ProCurve 9304M:
Table of Contents

Advertisement

HP9300(config)# logging facility local0
Syntax: logging facility <facility-name>
The <facility-name> can be one of the following:
kern – kernel messages
user – random user-level messages
mail – mail system
daemon – system daemons
auth – security/authorization messages
syslog – messages generated internally by Syslog
lpr – line printer subsystem
news – netnews subsystem
uucp – uucp subsystem
sys9 – cron/at subsystem
sys10 – reserved for system use
sys11 – reserved for system use
sys12 – reserved for system use
sys13 – reserved for system use
sys14 – reserved for system use
cron – cron/at subsystem
local0 – reserved for local use
local1 – reserved for local use
local2 – reserved for local use
local3 – reserved for local use
local4 – reserved for local use
local5 – reserved for local use
local6 – reserved for local use
local7 – reserved for local use
USING THE WEB MANAGEMENT INTERFACE
See the section "Displaying and Configuring Syslog Buffer Parameters Using the Web Management Interface" on
page A-7.

Displaying the Interface Name in Syslog Messages

By default, an interface's slot number (if applicable) and port number are displayed when you display Syslog
messages. If you want to display the name of the interface instead of its number, enter the following command:
HP9300(config)# ip show-portname
This command is applied globally to all interfaces on Routing Switches.
Syntax: [no] Ip show-portname
When you display the messages in the Syslog, you see the interface name under the Dynamic Log Buffer section.
The actual interface number is appended to the interface name. For example, if the interface name is "lab" and its
port number is "2", you see "lab2" displayed as in the example below:
Using Syslog
A - 11

Advertisement

Table of Contents
loading

Table of Contents