Troubleshooting Tools
Sending Logs to an External Server
CLI Maintenance Guide
6-31
Sending Logs to an External Server
You can configure the ARX to send its syslog messages to one or more external
servers. The external server receives log messages as they are generated and appends
them to its local syslog file.
From cfg mode, use the
logging destination
command to add a server to the list of
logging destinations:
logging destination
target
[udp | tcp] [port
port
]
where
target
(1-80 characters) identifies an external server. This can be an IP
address or, if you have a DNS lookups configured, a hostname. (To
configure the switch for hostname lookups, see
“Configuring DNS
Lookups” on page 4-35
of the
CLI Network-Management Guide
.)
udp | tcp
(optional) chooses a transport protocol to reach the external server.
This defaults to UDP if you omit it.
port
port
(optional, 1-65,535) selects a particular UDP or TCP port to
receive the log messages. The default is port 514.
You can use this command multiple times to configure multiple destination servers.
For example, the following command sequence configures two servers to receive
syslog messages:
bstnA6k(cfg)#
logging destination 172.16.202.8
bstnA6k(cfg)#
logging destination 10.1.1.90 tcp port 9999
bstnA6k(cfg)#
...
Removing a Logging Destination
Use the no form of the
logging destination
command to remove one log server from
the list:
no logging destination
target
where
target
(1-80 characters) identifies the server to remove. This can be an IP
address or a hostname.
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...