beautypg.com

3 enabling information output to the console, 3 enabling information output to the console -8 – H3C Technologies H3C S3100 Series Switches User Manual

Page 559

background image

Operation Manual – Information Center

H3C S3100-52P Ethernet Switch

Chapter 1 Information Center

1-8

Operation

Command

Description

Set the format of

the time stamp to

be sent to the log

host

info-center timestamp
loghost

{ date |

no-year-date

| none }

Optional

Note:

z

After the switches form a fabric, you can use the info-center switch-on command
to enable the information output for the switch to make the log, debugging and trap
information of each switch in the fabric synchronous. Each switch sends its own
information to other switches in the fabric and receives information sent by other
switches at the same time to update the information on itself. In this way, the switch
ensures the synchronization of log, debugging and trap information in the whole
fabric.

z

To view the debugging information of specific modules, you need to set the
information type as debug in the info-center source command, and enable
debugging for corresponding modules through the debugging command.

1.2.3 Enabling Information Output to the Console

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

Table 1-6

Enable information output to the console

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 the

console

info-center console
channel

{ channel-number |

channel

-name }

Required
By default, the switch uses

information channel 0 to

output log/debugging/trap

information to the console.

Define an

information source

info

-center source

{ modu-name | default }
channel

{ channel-number |

channel

-name } [ { log | trap

| debug } { level severity |
state

state } ]*

Required