beautypg.com

2 enabling information output to a log host, 2 enabling information output to a log host -7 – H3C Technologies H3C S3100 Series Switches User Manual

Page 558

background image

Operation Manual – Information Center

H3C S3100-52P Ethernet Switch

Chapter 1 Information Center

1-7

Note:

Running the info-center synchronous command during debugging information
collection may result in a command prompt echoed after each item of debugging
information. To avoid unnecessary output, you are recommended to disable
synchronous terminal output in such cases.

1.2.2 Enabling Information Output to a Log Host

Table 1-5 lists the related configurations on the switch.

Table 1-5

Enable information output to a log host

Operation

Command

Description

Enter system view system-view

Enable the

information center

info-center enable

Optional
By default, the information

center is enabled.

Enable information

output to a log host

info-center loghost
host

-ip-addr [ channel

{ channel-number |
channel

-name } | facility

local

-number | language

{ chinese | english } ]*

Required
By default, the switch does

not output information to the

log host.
After you configure the switch

to output information to the log

host, the switch uses

information channel 2 by

default.
Be sure to set the correct IP

address. A loopback IP

address will cause an error

message prompting that this

address is invalid.

Configure the

source interface

through which log

information is sent

to the log host

info-center loghost source

interface-type
interface-number

Optional

Define an

information source

info

-center source

{ modu-name | default }
channel

{ channel-number |

channel

-name } [ { log | trap

| debug } { level severity |
state

state } ]*

Required