
C613-50186-01 Rev B
Command Reference for AR2050V
2598
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
F
IREWALL
C
OMMANDS
CONNECTION
-
LOG
EVENTS
connection-log events
Overview
Use this command to enable extra logging for indicating the start and the end of
connections passing through the firewall.
Use the
no
variant of this command to turn off the extra logging of connections
passing through the firewall.
Syntax
connection-log events [new|end|all]
no connection-log events [new|end|all]
Default
Connection logging is not enabled by default.
Mode
Global Configuration.
Usage
There are two types of messages you can log: new connections and connections
that ended. You can control the amount of messages you log by choosing to log
either type of message or all of the message types.
Messages contain the following information:
•
time
•
source and destination addresses (NATed and unNATed)
•
protocol
•
source and destination ports (NATed and unNATed)
•
bytes and packets passed (found in the connection end message)
Example
To log all of the new connections and all of the closed connections, use the
commands:
awplus#
configure terminal
awplus(config)#
connection-log events all
Related
Commands
Command
changes
Version 5.4.7-1.1: command added.
Parameter
Description
new
New connection
end
Connections closed
all
All new connections and connections closed. Default.