1-12
z After the switches form a fabric, you can use the info-center switch-on command to enable the
information output for the switches 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 Be sure to set the correct IP address when using the info-center loghost command. A loopback IP
address will cause an error message prompting that this address is invalid.
Setting to Output System Information to the Trap Buffer
Follow these steps to set to output system information to the trap buffer:
To do… Use the command… Remarks
Enter system view system-view
Enable the information
center info-center enable Optional
Enabled by default.
Enable system
information output to the
trap buffer
info-center trapbuffer [channel
{ channel-number | channel-name } |
size buffersize]*
Optional
By default, the switch uses
information channel 3 to output
trap information to the trap
buffer, which can holds up to
256 items by default.
Configure the output
rules of system
information
info-center source { modu-name |
default } channel { channel-number |
channel-name } [ { log | trap | debug }
{ level severity | state state } ]*
Optional
Refer to Table 1-4 for the
default output rules of system
information.
Set the format of time
stamp in the output
information
info-center timestamp { log | trap |
debugging } { boot | date | none }
Optional
By default, the time stamp
format of the output trap
information is date.
Setting to Output System Information to the Log Buffer
Follow these steps to set to output system information to the log buffer:
To do… Use the command… Remarks
Enter system view system-view
Enable the information
center info-center enable Optional
Enabled by default.