Configuring the Switch
3-30
3
CLI
– Enable system logging and then specify the level of messages to be logged to
RAM and flash memory. Use the
show logging
command to display the current
settings.
Remote Log Configuration
The Remote Logs page allows you to configure the logging of messages that are
sent to syslog servers or other management stations. You can also limit the error
messages sent to only those messages below a specified level.
Command Attributes
•
Remote Log Status
– Enables/disables the logging of debug or error messages
to the remote logging process. (Default: Enabled)
•
Logging Facility
– Sets the facility type for remote logging of syslog messages.
There are eight facility types specified by values of 16 to 23. The facility type is
used by the syslog server to dispatch log messages to an appropriate service.
The attribute specifies the facility type tag sent in syslog messages. (See RFC
3164.) This type has no effect on the kind of messages reported by the switch.
However, it may be used by the syslog server to process messages, such as
sorting or storing messages in the corresponding database. (Range: 16-23,
Default: 23)
•
Logging Trap
– Limits log messages that are sent to the remote syslog server for
all levels up to the specified level. For example, if level 3 is specified, all messages
from level 0 to level 3 will be sent to the remote server. (Range: 0-7, Default: 6)
•
Host IP List
– Displays the list of remote server IP addresses that receive the
syslog messages. The maximum number of host IP addresses allowed is five.
•
Host IP Address
– Specifies a new server IP address to add to the Host IP List.
Console(config)#logging on
4-54
Console(config)#logging history ram 0
4-55
Console(config)#end
Console#show logging flash
4-58
Syslog logging: Enabled
History logging in FLASH: level emergencies
Console#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......