beautypg.com

Enable / disable log relay host, Specify the relay host – Allied Telesis AT-WA7400/NA User Manual

Page 296

background image

Appendix D: Command Line Interface (CLI) for Access Point Configuration

296

To view the current log settings:

AT-WA7400# get log

Field Value

--------------------------

depth 15

relay-enabled 0

relay-host

relay-port 514

When you start a new access point, the Log Relay Host is disabled. From
the above output for the

get log

command, you can identify the following

about the Log Relay Host (syslog server):

ˆ

The syslog server is disabled (because “relay-enabled” is set to “0”)

ˆ

No IP address or Host Name is specified for the syslog server.

ˆ

The access point is listening for syslog messages on the default port
514

Enable / Disable Log Relay Host

To enable the Log Relay Host:

AT-WA7400#

set log relay-enabled 1

To disable the Log Relay Host:

AT-WA7400#

set log relay-enabled 0

Specify the Relay Host

To specify the Relay Host, provide either the

IP address

or a

DNS

name for

the Log Relay Host as parameters to the

set log relay-host

command as shown below.

ˆ

To specify an IP address for the syslog server:

set log relay-host

IP_Address_Of_LogRelayHost

Where IP_Address_Of_LogRelayHost is the

IP address

of the Log

Relay Host.

For example:

AT-WA7400# set log relay-host 10.10.5.220

ˆ

To specify a Host Name for the syslog server: