HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 73

Views, Predefined user roles, Parameters, Usage guidelines, Examples, Table 18, Default output rules

Page 73 highlights

Table 18 Default output rules Destination Console Monitor terminal Log host Log buffer Log file Source modules All supported modules All supported modules All supported modules All supported modules All supported modules Log Enabled/disabled Enabled Enabled Enabled Enabled Enabled Level Debug Debug Informational Informational Informational Views System view Predefined user roles network-admin Parameters module-name: Specifies a module by its name. For instance, to output FTP information, specify this argument as FTP. You can use the info-center source ? command to view the modules supported by the device. default: Specifies all modules, which can be displayed by using the info-center source ? command. console: Outputs logs to the console. logbuffer: Outputs logs to the log buffer. logfile: Outputs logs to the log file. loghost: Outputs logs to the log host. monitor: Outputs logs to the monitor terminal. deny: Disables log output. level severity: Specifies a severity level, in the range of 0 to 7. See Table 13 for more information. With this keyword, you can specify the lowest severity level of the logs allowed/denied to be output. Usage guidelines This command sets an output rule for a specified module or all modules. For example, you can output IP log information with a severity of at least warning to the log host, and output IP log information with a severity of at least informational to the log buffer. If you do not set an output rule for a module, the module uses the default output rule or the output rule set by using the default keyword. If you use the command multiple times, only the most recent output rule takes effect for the specified module. After you set an output rule for a module, you must use the module-name argument to modify or remove the rule. A new output rule configured by using the default keyword does not take effect on the module. Examples # Output only VLAN module's information with a severity level of at least emergency to the console. system-view 71

  • 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
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207

71
Table 18
Default output rules
Destination
Source modules
Log
Enabled/disabled
Level
Console
All supported modules
Enabled
Debug
Monitor terminal
All supported modules
Enabled
Debug
Log host
All supported modules
Enabled
Informational
Log buffer
All supported modules
Enabled
Informational
Log file
All supported modules
Enabled
Informational
Views
System view
Predefined user roles
network-admin
Parameters
module
-
name
: Specifies a module by its name. For instance, to output FTP information, specify this
argument as FTP. You can use the
info-center source ?
command to view the modules supported by the
device.
default
: Specifies all modules, which can be displayed by using the
info-center source ?
command.
console
: Outputs logs to the console.
logbuffer
: Outputs logs to the log buffer.
logfile
: Outputs logs to the log file.
loghost
: Outputs logs to the log host.
monitor
: Outputs logs to the monitor terminal.
deny
: Disables log output.
level
severity
: Specifies a severity level, in the range of 0 to 7. See
Table 13
for more information. With
this keyword, you can specify the lowest severity level of the logs allowed/denied to be output.
Usage guidelines
This command sets an output rule for a specified module or all modules. For example, you can output IP
log information with a severity of at least warning to the log host, and output IP log information with a
severity of at least informational to the log buffer.
If you do not set an output rule for a module, the module uses the default output rule or the output rule set
by using the
default
keyword.
If you use the command multiple times, only the most recent output rule takes effect for the specified
module.
After you set an output rule for a module, you must use the
module-name
argument to modify or remove
the rule. A new output rule configured by using the
default
keyword does not take effect on the module.
Examples
# Output only VLAN module's information with a severity level of at least emergency to the console.
<Sysname> system-view