Logging Origin-Id - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Syslog Commands
78-21075-01 Command Line Interface Reference Guide
Example
switchxxxxxx(config)# logging aggregation aging-time 300

20.12 logging origin-id

Use the logging origin-id Global Configuration mode command to configure the
origin field of the SYSLOG message packet headers sent to the SYSLOG server.
Use the no form of this command to return to the default.
Syntax
hostname
logging origin-id {
no logging origin-id
Parameters
hostname—Message origin identifier.
IP—IP address of the sending interface that is used as the message origin
identifier.
IPv6—IPv6 address of the sending interface that is used as the message
origin identifier. If the sending interface is IPv4, the IPv4 address will be
used instead.
user-defined-id
string
user-defined-id
user. The
Default Configuration
No header is send apart from PRI field.
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)# logging origin-id string "Domain 1, router B"
IP
IPv6
string user-defined-id
|
|
|
—Specifies an identifying description chosen by the
argument is the identifying description string.
20
}
297

Advertisement

Table of Contents
loading

Table of Contents