HP procurve 2500 Manuale Utente
19
Enhancements in Release F.05.05 through F.05.70
Enhancements in Release F.05.05 through F.05.60
Enhancements in Release F.05.05 through F.05.60
Viewing the Syslog Configuration
Configuring Syslog Logging
1.
If you want to use a Syslog server for recording Event Log messages:
a.
Use this command to configure the Syslog server IP address and enable Syslog logging:
ProCurve(config)# logging
< ip-addr >
Using this command when there are no Syslog server IP addresses already configured
enables messaging to a Syslog server.
enables messaging to a Syslog server.
b.
Use the command in step “a” to configure any additional Syslog servers you want to use, up
to a total of six.
to a total of six.
Example:
Suppose there are no Syslog servers configured on the switch (the default). Configuring
one Syslog server enables Event Log messages to be sent to that server. (Refer to Figure 5 below.)
Figure 5.
Example of Configuring Syslog Operation
Syntax: show debug
This command displays the currently configured Syslog log-
ging destination(s) and logging facility. For examples of
ging destination(s) and logging facility. For examples of
show
debug output, refer to figure 5 on page 19.
ProCurve(config)# show debug
Debug Logging
Destination: None
Enabled debug types:
Debug Logging
Destination: None
Enabled debug types:
None are enabled.
ProCurve(config)# logging 10.250.125.69
ProCurve(config)# show debug
ProCurve(config)# show debug
Debug Logging
Destination:
Destination:
Logging --
10.250.125.69
Facility = user
10.250.125.69
Facility = user
Enabled debug types:
event
Displays the default debug
configuration. (There are no
Syslog server IP addresses
configuration. (There are no
Syslog server IP addresses
When the logging command
configures a Syslog IP address, the
switch automatically enables
sending Event Log messages to the
Syslog address and the user
facility on the Syslog server.
configures a Syslog IP address, the
switch automatically enables
sending Event Log messages to the
Syslog address and the user
facility on the Syslog server.