264
C
HAPTER
15: S
YSTEM
M
AINTENANCE
AND
D
EBUGGING
Table 287
Defining information source
modu-name
specifies the module name; default represents all the modules; level
refers to the severity levels; severity specifies the severity level of information. The
information with the level below it will not be output. channel-number specifies
the channel number and channel-name specifies the channel name.
When defining the information sent to the loghost, channel-number or
channel-name must be set to the channel that corresponds to loghost direction.
Every channel has been set with a default record, whose module name is default
and the module number is 0xffff0000. However, for different channels, the default
record may have different default settings of log, trap and debugging. When
there is no specific configuration record for a module in the channel, use the
default one.
If you want to view the debugging information of some modules on the switch,
you must select debugging as the information type when configuring information
source, meantime using the debugging command to turn on the debugging
switch of those modules.
You can use the following commands to configure log information, debugging
information and the time-stamp output format of trap information.
Perform the following operation in system view:
Table 288
Configuring the output format of time-stamp
4
Configuring loghost
The configuration on the loghost must be the same with that on the switch. For
related configuration, see the configuration examples in the later part.
Sending the Information
to Control Terminal
To send information to the control terminal, follow the steps below:
1
Enabling info-center
Perform the following operation in System View.
Operation
Command
Define information source
info
-
center source
{
modu
-
name
|
default
}
channel
{
channel
-
number
| channel
-
name
} [ {
log
|
trap
|
debug
}* {
level
severity
|
state
state
}* ]
Cancel the configuration of
information source
undo info
-
center source
{
modu
-
name
|
default
}
channel
{
channel
-
number | channel
-
name
}
Operation
Command
Configure the output format of
the time-stamp
info-center timestamp { log | trap
| debugging } { boot | date | none
}
Output time-stamp is disabled
undo info-center timestamp { log |
trap | debugging }
Содержание Switch 4500 26-Port
Страница 16: ...14 ABOUT THIS GUIDE...
Страница 58: ...56 CHAPTER 2 PORT OPERATION...
Страница 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Страница 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Страница 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Страница 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Страница 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Страница 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Страница 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Страница 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Страница 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...