EasyManua.ls Logo

Cisco SPS2024 - Logging

Cisco SPS2024
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Syslog Commands
logging
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 421
30
Example
The following example enables logging error messages.
Console(config)# logging on
logging
The logging Global Configuration mode command logs messages to a syslog
server. Use the no form of this command to delete the syslog server with the
specified address from the list of syslogs.
Syntax
logging {
ip-address
|
hostname
} [port
port
] [severity
level
] [facility
facility
]
[description
text
]
no logging {
ip-address
|
hostname
}
Parameters
ip-address
— IP address of the host to be used as a syslog server.
hostname
— Specifies the host name of the syslog server. (Range: 1-158
characters)
port
— Specifies the port number for syslog messages. (Range: 1-65535)
level
— Specifies the severity level of logged messages sent to the syslog
servers. Possible values: emergencies, alerts, critical, errors, warnings,
notifications, informational and debugging.
facility
— Specifies the facility that is indicated in the message. Possible
values: local0, local1, local2, local3, local4, local5, local 6, ocal7.
text
— Syslog server description. (Range: 1-64 characters)
Default Configuration
The default port number is 514.
The default logging message level is informational.

Table of Contents

Related product manuals