Cisco Cisco ASR 5000
Context Configuration Mode Commands I-M
logging ▀
Command Line Interface Reference, StarOS Release 18 ▄
2631
local6
local7
Multiple system log servers can share the logging options of a given local facility. This allows for the logical
grouping of system log servers and the options which affect all of those associated with the same local
facility.
grouping of system log servers and the options which affect all of those associated with the same local
facility.
pdu-data { none | hex | hex-ascii }
Specifies output format for packet data units when logged. Format must be one of the following:
none
: Displays data in raw format.
hex
: Displays data in hexadecimal format.
hex-ascii
:Displays data in hexadecimal and ASCII format (similar to a main-frame dump).
pdu-verbosity
pdu_level
Specifies the level of verboseness to use in logging of packet data units as a value from 1 through 5, where 5
is the most detailed.
is the most detailed.
rate value
Specifies the rate at which log entries are allowed to be sent to the system log server. No more than the
number specified by
number specified by
value
will be sent to a system log server within any given one-second interval.
value
must be an integer from 0 through 100000. Default: 1000
Usage
Set the log servers to enable remote review of log data.
Example
The following sets the logging for events to the maximum for the local7 facility:
logging syslog 10.2.3.4 event-verbosity full
The following command sets the logging for packet data units to level 3 and sets the output format to the
main-frame style hex-ascii for the local3 facility:
main-frame style hex-ascii for the local3 facility:
logging syslog 10.2.3.4 facility local3 pdu-data hex-ascii pdu-verbosity
3
3
The following sets the rate of information for the local1 facility:
logging syslog 10.2.3.4 facility local1 rate 100
The following disables internal logging to the system log server specified:
no logging syslog 10.2.3.4