Management and Configuration Guide K/KA/KB.15.15

NOTE: When the syslog server receives messages from the switch, the IPv6 address of the switch
is partly displayed.
Configured Host Ipv6 Address: 2001::1
Expected Syslog message:
Syslog message: USER.INFO: Oct 11 02:40:02 2001::1 00025 ip:
ST1CMDR: VLAN60: ip address 30.1.1.1/24 configured on vlan 60
Actual Truncated syslog message:
Syslog message: USER.INFO: Oct 11 02:40:02 2001:: 00025 ip: ST1CMDR:
VLAN60: ip address 30.1.1.1/24 configured on vlan 60
Logging origin-id
Use the logging origin-id command to specify the content for the hostname field.
Syntax
logging origin-id [ip-address | hostname | none]
To reset the hostname field content back to default (IP-address), use the no form of
the command.
Example
Use the following command to set the origin-id to the hostname:
HP_Switch(config)# logging origin-id hostname
The following syslog message will occur:
<14> Jan 1 00:15:35 HP-2910al-24G 00076 ports: port 2 is now on-line
Example
Use the following command to set the origin-id to none (nilvalue):
HP_Switch(config)# logging origin-id none
The following syslog message will occur:
<14> Jan 1 00:15:35 - 00076 ports: port 2 is now on-line
Example
Use any of the following commands to set the origin-id to ip-address (default):
HP_Switch(config)# logging origin-id ip-address
HP_Switch(config)# no logging origin-id hostname
HP_Switch(config)# no logging origin-id none
The following syslog message will occur:
<14> Jan 1 00:15:35 169.254.230.236 00076 ports: port 2 is now
on-line
Example
HP_Switch(config)# show running-config
Default option is ip-address. The following output of show debugwill occur
when configured without loggin origin-id.
Debug/syslog operation 397