Outputting system information to a log host, Outputting system information to the trap buffer – H3C Technologies H3C MSR 50 User Manual

Page 204

Advertising
background image

Outputting system information to a log host

Step Command

Remarks

485.

Enter system view.

system-view

N/A

Optional.

486.

Enable the information
center.

info-center enable

Enabled by default.

487.

Name the channel with a
specified channel

number.

Optional.

info-center channel channel-number
name channel-name

See

Table 6

for default channel names.

info-center source { module-name |
default } channel { channel-number

| channel-name } [ debug { level

severity | state state } * | log { level
severity | state state } * | trap { level

severity | state state } * ] *

Optional.

488.

Configure an output rule
for the log host.

See "Default output rules of system

information."

Optional.

489.

Specify the source IP

address for the log
information.

info-center loghost source
interface-type interface-number

By default, the source IP address of log
information is the primary IP address of

the matching route's egress interface .

490.

Configure the timestamp
format for system

information output to the
log host.

Optional.

info-center timestamp loghost { date
| iso | no-year-date | none }

date by default.

Set the format to UNICOM:
info-center format unicom

491.

Set the format of the
system information sent

to a log host.

Optional.

Set the format to H3C:

undo info-center format

H3C by default.

By default, no log host or related
parameters are specified.
If no channel is specified when
outputting system information to a log

host, the system uses channel 2
(loghost) by default.

info-center loghost [ vpn-instance
vpn-instance-name ]

{ host-ipv4-address | ipv6
host-ipv6-address } [ port

port-number ] [ channel

{ channel-number | channel-name }
| facility local-number ] *

492.

Specify a log host and
configure related

parameters.

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 system

information.

Outputting system information to the trap buffer

The trap buffer only receives trap information, and discards log and debug information.
To output system information to the trap buffer:

191

Advertising