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

Outputting system information to the trap buffer

Page 50 highlights

Step Command Remarks 5. Specify the source IP address for the log information. info-center loghost source interface-type interface-number Optional. By default, the source IP address of output log information is the primary IP address of the matching route's egress interface. 6. Configure the format of the time stamp for system info-center timestamp loghost { date | Optional. information output to the iso | no-year-date | none } log host. date by default. 7. Set the format of the system information sent to a log host to UNICOM. info-center format unicom Optional. HP by default. 8. Specify a log host and configure the related output parameters. info-center loghost [ vpn-instance vpn-instance-name ] { host-ipv4-address | ipv6 host-ipv6-address } [ port port-number ] [ dscp dscp-value ] [ channel { channel-number | channel-name } | facility local-number ] * By default, no log host is specified. If you specify to output system information to a log host, the system uses channel 2 (loghost) by default. The value of the port-number argument should be the same as the value configured on the log host Otherwise, the log host cannot receive system information. Outputting system information to the trap buffer The trap buffer only receives trap information, and discards log and debug information. To output system information to the trap 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 info-center channel channel-number specified channel number. name channel-name Optional. See Table 2 for default channel names. 4. Configure the channel Optional. through which system information can be output to the trap buffer and specify the buffer size. info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] * By default, system information is output to the trap buffer through channel 3 (known as trapbuffer) and the default buffer size is 256. info-center source { module-name | 5. Configure a system default } channel { channel-number | Optional. information output rule for the trap buffer. channel-name } [ debug { level severity | state state } * | log { level See "Default output rules of system severity | state state } * | trap { level information." severity | state state } * ] * 43

  • 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

43
Step
Command
Remarks
5.
Specify the source IP
address for the log
information.
info-center loghost source
interface-type interface-number
Optional.
By default, the source IP address of
output log information is the primary
IP address of the matching route's
egress interface.
6.
Configure the format of
the time stamp for system
information output to the
log host.
info-center timestamp
loghost
{
date
|
iso
|
no-year-date
|
none
}
Optional.
date
by default.
7.
Set the format of the
system information sent
to a log host to
UNICOM.
info-center format unicom
Optional.
HP
by default.
8.
Specify a log host and
configure the related
output parameters.
info-center loghost
[
vpn-instance
vpn-instance-name
]
{
host-ipv4-address
|
ipv6
host-ipv6-address
} [
port
port-number
] [
dscp
dscp-value
]
[
channel
{
channel-number
|
channel-name
} |
facility
local-number
] *
By default, no log host is specified. If
you specify to output system
information to a log host, the system
uses channel 2 (loghost) by default.
The value of the
port-number
argument should be the same as the
value configured on the log host
Otherwise, the log host cannot
receive system information.
Outputting system information to the trap buffer
The trap buffer only receives trap information, and discards log and debug information.
To output system information to the trap 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 trap buffer and
specify the buffer size.
info-center trapbuffer
[
channel
{
channel
-
number
|
channel
-
name
} |
size
buffersize
] *
Optional.
By default, system information is
output to the trap buffer through
channel 3 (known as trapbuffer)
and the default buffer size is 256.
5.
Configure a system
information output rule for
the trap 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
."