HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 51

Outputting system information to the log buffer, Outputting system information to the SNMP module

Page 51 highlights

Step 6. Configure the timestamp format. Command info-center timestamp { debugging | log | trap } { boot | date | none } Remarks Optional. The time stamp format for system information is date by default. Outputting system information to the log buffer The log buffer only receives log information, and discards trap and debug information. To output system information to the log buffer: Step 1. Enter system view. Command system-view Remarks N/A 2. Enable the information center. info-center enable Optional. Enabled by default. 3. Name the channel with a specified channel number. info-center channel channel-number name channel-name Optional. See Table 2 for default channel names. 4. Configure the channel Optional. through which system information can be info-center logbuffer [ channel By default, system information is output output to the log buffer { channel-number | channel-name } | to the log buffer through channel 4 and specify the buffer size buffersize ] * (known as logbuffer) and the default size. buffer size is 512. 5. Configure a system formation output rule for the log buffer. 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." 6. Configure the timestamp format. info-center timestamp { debugging | log | trap } { boot | date | none } Optional. The time stamp format for log, trap and debugging information is date by default. Outputting system information to the SNMP module The SNMP module only receives trap information, and discards log and debug information. To monitor the device running status, trap information is usually sent to the SNMP network management system (NMS). For this purpose, you must configure output of traps to the SNMP module, and set the trap sending parameters for the SNMP module. For more information about SNMP, see "Configuring SNMP." To output system information to the SNMP module: Step 1. Enter system view. Command system-view Remarks N/A 44

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157

44
Step
Command
Remarks
6.
Configure the timestamp
format.
info-center timestamp
{
debugging
|
log
|
trap
} {
boot
|
date
|
none
}
Optional.
The time stamp format for system
information is
date
by default.
Outputting system information to the log buffer
The log buffer only receives log information, and discards trap and debug information.
To output system information to the log buffer:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the information
center.
info-center enable
Optional.
Enabled by default.
3.
Name the channel
with a specified
channel number.
info-center channel
channel-number
name
channel-name
Optional.
See
Table 2
for default channel names.
4.
Configure the channel
through which system
information can be
output to the log buffer
and specify the buffer
size.
info-center logbuffer
[
channel
{
channel
-
number
|
channel
-
name
} |
size
buffersize
] *
Optional.
By default, system information is output
to the log buffer through channel 4
(known as logbuffer) and the default
buffer size is 512.
5.
Configure a system
formation output rule
for the log buffer.
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
."
6.
Configure the
timestamp format.
info-center timestamp
{
debugging
|
log
|
trap
} {
boot
|
date
|
none
}
Optional.
The time stamp format for log, trap and
debugging information is
date
by
default.
Outputting system information to the SNMP module
The SNMP module only receives trap information, and discards log and debug information.
To monitor the device running status, trap information is usually sent to the SNMP network management
system (NMS). For this purpose, you must configure output of traps to the SNMP module, and set the trap
sending parameters for the SNMP module. For more information about SNMP, see "Configuring SNMP."
To output system information to the SNMP module:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A