System information

Command Line Reference
System Logging Commands
Example
HP420(config)#logging on
HP420(config)#
logging host
This command specifies Syslog server hosts that will receive logging
messages. Use the no form to remove a Syslog server host.
Syntax
logging host <1 | 2 | 3 | 4> <host_name | host_ip_address> [udp_port]
no logging host <1 | 2 | 3 | 4>
1 - First syslog server.
2 - Second syslog server.
3 - Third syslog server.
4 - Fourth syslog server.
host_name - The name of a syslog server. (Range: 1-20 characters)
host_ip_address - The IP address of a syslog server.
udp_port - The UDP port used by the syslog server. (Range: 514 and
1024-65535; Default: 514)
Default Setting
None
Command Mode
Global Configuration
Example
HP420(config)#logging host 1 10.1.0.3
HP420(config)#
logging console
This command initiates logging of error messages to the console. Use the no
form to disable logging to the console.
Syntax
logging console
no logging console
8-29