To do…

 

Use the command…

 

Remarks

 

Set the time

Log host

 

info-center timestamp

 

 

 

stamp format

direction

 

loghost date

 

 

 

in the output

 

 

 

 

Required

 

 

 

 

 

 

direction of

 

 

 

 

 

the

Non log host

 

info-center timestamp { log

 

Use either command

 

information

direction

 

trap debugging } date

 

 

 

center to

 

 

 

 

 

 

 

 

 

 

date

 

 

 

 

 

 

 

 

 

 

 

 

 

Set to display the UTC time zone

 

 

 

Required

 

 

 

 

By default, no UTC time zone

 

in the output information of the

 

info-center timestamp utc

 

 

 

 

is displayed in the output

 

information center

 

 

 

 

 

 

 

information

 

 

 

 

 

 

 

 

 

 

 

 

 

Setting to Output System Information to the Console

Setting to output system information to the console

Follow these steps to set to output system information to the console:

 

To do…

Use the command…

Remarks

 

 

Enter system view

system-view

 

 

 

 

 

 

 

Enable the information center

info-center enable

Optional

 

 

Enabled by default.

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

Enable system information

info-center console channel

By default, the device uses

 

 

{ channel-number

information channel 0 to output

 

 

output to the console

 

 

channel-name }

log/debugging/trap information

 

 

 

 

 

 

 

to the console.

 

 

 

 

 

 

 

 

info-center source

Optional

 

 

Configure the output rules of

{ modu-name default }

 

 

channel { channel-number

Refer to Table 1-4 for the

 

 

system information

channel-name } [ { log trap

default output rules of system

 

 

 

debug } { level severity state

information.

 

 

 

state } ]*

 

 

 

 

 

Optional

 

 

Set the format of time stamp in

info-center timestamp { log

By default, the time stamp

 

 

format of the log and trap

 

 

trap debugging } { boot

 

 

the output information

output information is date, and

 

 

date none }

 

 

 

that of the debugging output

 

 

 

 

 

 

 

 

information is boot.

 

 

 

 

 

 

To view the debugging information of some modules on the device, you need to set the type of the output information to debug when configuring the system information output rules, and use the debugging command to enable debugging for the corresponding modules.

1-8

Page 572
Image 572
3Com WX3000 Setting to Output System Information to the Console, Setting to output system information to the console