Outputting system information to the trap buffer – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 52

Advertising
background image

44

Step Command

Remarks

2.

Enable the information
center.

info-center enable

Optional.
Enabled by default.

3.

Specify a name for a
channel identified by its

number.

info-center channel channel-number
name channel-name

Optional.
See

Table 2

for default channel names.

4.

Configure an output rule
for the log host.

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.
See "

Default output rules of system

information

."

5.

Specify the source IP
address for the log

information.

info-center loghost source
interface-type interface-number

Optional.
By default, the source interface is the
output interface of the matching route,

and the primary IP address of the
output interface is used as the source IP

address of log information.

6.

Configure the timestamp
format for system

information output to the

log host.

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

Optional.
date by default.

7.

Set the system
information format.

Set the format to UNICOM:
info-center format unicom

Set the format to H3C:

undo info-center format

Optional.
Use either approach.
H3C by default.

8.

Specify a log host and

configure related
parameters.

info-center loghost
host-ipv4-address [ port

port-number ] [ dscp dscp-value ]
[ channel { channel-number |

channel-name } | facility

local-number ] *

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.
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 receives the trap information only, and discards the log and debugging information.
To output system information to the trap buffer:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the information center. info-center enable

Optional.
Enabled by default.

Advertising