4 logging host, 5 logging host remove, 6 logging port – Kontron AT890X Full-Size CLI User Manual

Page 219: Logging host - 21, Logging host remove - 21, Logging port - 21

Advertising
background image

AT8901/2/3

Utility Commands

Page 5 - 21

AT8901/2/3 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

5.5.3.1

no logging console

This command disables logging to the console.

Format

no logging console

Mode

Global Config

5.5.4

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

5.5.5

logging host remove

This command disables logging to host. See 5.5.10 “show logging hosts” on page 5 -
23
for a list of host indexes.

Format

logging host remove <hostindex>

Mode

Global Config

5.5.6

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

5.5.6.1

no logging port

This command resets the local logging port to the default.

Format

no logging port

Mode

Global Config

Advertising