Outputting Logs To A Log Host - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Step
2.
Enable the information center.
3.
Configure an output rule for
the monitor terminal.
4.
(Optional.) Configure the
timestamp format.
5.
Return to user view.
6.
Enable log output to the
monitor terminal.
7.
Enable the display of debug
information on the current
terminal.
8.
(Optional.) Set the lowest level
of logs that can be output to
the monitor terminal.

Outputting logs to a log host

Step
1.
Enter system view.
2.
Enable the information
center.
3.
Configure an output rule
for outputting logs to a
log host.
4.
(Optional.) Specify the
source IP address for
output logs.
5.
(Optional.) Specify the
format of logs output to a
log host.
6.
(Optional.) Configure
the timestamp format.
7.
Specify a log host and
configure related
parameters.
Command
info-center enable
info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost }
{ deny | level severity }
info-center timestamp { boot | date
| none }
quit
terminal monitor
terminal debugging
terminal logging level severity
Command
system-view
info-center enable
info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost } { deny
| level severity }
info-center loghost source
interface-type interface-number
info-center format { unicom |cmcc }
info-center timestamp loghost { date
| iso | no-year-date | none }
info-center loghost [ vpn-instance
vpn-instance-name ] { hostname |
ipv4-address | ipv6 ipv6-address }
[ port port-number ] [ facility
local-number ]
248
Remarks
By default, the information center is
enabled.
For information about default
output rules, see
"Default output
rules for
logs."
By default, the timestamp format is
date.
N/A
The default setting is enabled.
By default, the display of debug
information is disabled on the
current terminal.
The default setting is 6
(informational).
Remarks
N/A
By default, the information center is
enabled.
For information about default output
rules, see
"Default output rules for
logs."
By default, the source IP address of
output log information is the primary IP
address of the matching route's egress
interface.
By default, logs are output to a log host
in standard format.
By default, the timestamp format is
date.
By default, no log host or related
parameters are specified.
The value of the port-number argument
must be the same as the value
configured on the log host. Otherwise,
the log host cannot receive logs.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents