Log External - Allied Telesis IE220 Series Manual

Industrial ethernet layer 2+ switches, command reference for alliedware plus version 5.5.3-0.x
Table of Contents

Advertisement

L
C
OGGING
OMMANDS

LOG EXTERNAL

log external
Overview
Use this command to enable external logging. External logging sends syslog
messages to a file on a USB storage device.
If the file does not already exist on the storage device, it (and any specified
subdirectory) will be automatically created. If the file already exists, messages are
appended to it.
Use the no variant of this command to disable external logging.
log external <filename>
Syntax
no log external
Default
External logging is disabled by default.
Mode
Global Configuration
Usage notes
We strongly recommend using ext3 or ext4 as the file system on the external
storage device. These file systems have a lower risk of file corruption occurring if
the switch or firewall loses power.
You should also unmount the storage device before removing it from the switch
or firewall, to avoid corrupting the log file. To unmount the device, use the
unmount command.
Example
To save messages to a file called "messages.log" in a directory called "log" on a USB
storage device, use the command:
awplus#
awplus(config)#
Related
clear log external
commands
default log external
log external (filter)
log external exclude
log external rotate
log external size
show log config
show log external
unmount
C613-50644-01 Rev B
Parameter
Description
<filename>
The file and optionally directory path to store the log messages in.
See
configure terminal
log external usb:/log/messages.log
Command Reference for IE220 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
Introduction
on page 104 for valid syntax.
399

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie220-6ghxIe220-10ghx

Table of Contents