Enabling tcp/udp session logging – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 257

Advertising
background image

Brocade Virtual ADX Server Load Balancing Guide

241

53-1003247-01

Sample show commands

4

The time value in this example is in the format for devices on which the system time add date have
not been set.

NOTE

The feature description and command syntax use the terms “session” and “connection”. A
connection consists of multiple sessions, for the send and receive directions.

NOTE

Because the log messages are generated when the software creates a session table entry, features
that do not use session table entries do not result in log messages. For example, if you configure a
TCP or UDP port to be stateless, the Brocade Virtual ADX does not create session table entries for
the port and therefore does not generate log messages for the port.

Enabling TCP/UDP session logging

When TCP/UDP session logging is enabled, the Brocade Virtual ADX sends a message to the
external Syslog servers when the software creates a session table entry. You can enable session
logging globally for all ports or on an individual basis for TCP or UDP ports.

To globally enable logging for all new session table entries, enter the following command.

Virtual ADX(config)#server connection-log all

To enable logging only for new sessions that are used for Source NAT, enter the following command.

Virtual ADX(config)#server connection-log src-nat

To enable session logging for a specific TCP or UDP port, enter the following command.

Virtual ADX(config)#server port 80

Virtual ADX(config-port-80)#connection-log all url cookie

Syntax: [no] server connection-log all | src-nat [url] [cookie]

The all option enables logging for all sessions.

The src-nat option enables logging only for sessions that are used for Source NAT.

The url option enables logging of URL information for sessions that contain a URL.

The cookie option enables logging of cookie information for sessions that contain a cookie.

NOTE

The URL logging option applies only when URL switching is enabled. The cookie logging option
applies only when cookie switching is enabled.

Advertising