5 logging host, 6 logging host remove, 7 logging port – Kontron AT8402 CLI User Manual
Page 161: Logging host - 21, Logging host remove - 21, Logging port - 21, At8402 utility commands
AT8402
Utility Commands
Page 4 - 21
AT8402 CLI Reference Manual
keywords:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), or
debug
(7).
Default
disabled; critical when enabled
Format
logging console
[severitylevel]
Mode
Global Config
4.4.4.1
no logging console
This command disables logging to the console.
Format
no logging console
Mode
Global Config
4.4.5
logging host
This command enables logging to a host. You can configure up to eight hosts. The
<ipaddr> is the IP address of the logging host. The <port> value is a port number
from 1 to 65535. You can specify the <severitylevel> value as either an integer from 0
to 7 or symbolically through one of the following keywords:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), or
debug
(7).
Default
port—514
level—critical (2)
Format
logging host
<ipaddr> [<port>][<severitylevel>]
Mode
Global Config
4.4.6
logging host remove
This command disables logging to host. See 4.4.11 “show logging hosts“ on page 4 -
23 for a list of host indexes.
Format
logging host remove
<hostindex>
Mode
Global Config
4.4.7
logging port
This command sets the local port number of the LOG client for logging messages. The
<portid> can be in the range from 1 to 65535.
Default
514
Format
logging port
<portid>
Mode
Global Config
4.4.7.1
no logging port
This command resets the local logging port to the default.
Format
no logging port
Mode
Global Config