EasyManuals Logo
Home>Cisco>Network Router>XR 1200 series

Cisco XR 1200 series User Manual

Cisco XR 1200 series
432 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
Page #341 background imageLoading...
Page #341 background image
logging hostnameprefix
To append a hostname prefix to system logging (syslog) messages logged to syslog servers, use the logging
hostnameprefix command in global configuration mode. To remove the logging hostnameprefix command
from the configuration file and disable the logging host name prefix definition, use the no form of this command.
logging hostnameprefix hostname
no logging hostnameprefix
Syntax Description
Hostname that appears in messages sent to syslog servers.
hostname
Command Default
No hostname prefix is added to the messages logged to the syslog servers.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 3.2
Usage Guidelines
Use the logging hostnameprefix command to append a hostname prefix to messages sent to syslog servers
from the router. You can use these prefixes to sort the messages being sent to a given syslog server from
different networking devices.
Use the logging, on page 308 command to specify a syslog server host as a destination for syslog messages.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to add the hostname prefix host1 to messages sent to the syslog servers from the
router:
RP/0/0/CPU0:router(config)# logging hostnameprefix host1
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 329
Logging Services Commands
logging hostnameprefix

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco XR 1200 series and is the answer not in the manual?

Cisco XR 1200 series Specifications

General IconGeneral
BrandCisco
ModelXR 1200 series
CategoryNetwork Router
LanguageEnglish

Related product manuals