Configuring Port Monitoring Session Persistence; Configuring A Port Monitoring Data File - Alcatel OmniSwitch 6600 Family Network Configuration Manual

Omniswitch 6600 series
Hide thumbs Also See for OmniSwitch 6600 Family:
Table of Contents

Advertisement

Port Monitoring

Configuring Port Monitoring Session Persistence

By default, a port monitoring session will never be disabled. To modify the length of time before a port
monitoring session is disabled from 0 (the default, where the session is permanent) to 2147483647 seconds
use the
port monitoring source
fied session ID number, source, the slot number of the port to be monitored, a slash (/), the port number of
the port, timeout, and the number of seconds before it is disabled.
For example, to configure port monitoring session 6 on port 2/3 that will last 12000 seconds before it is
disabled enter:
-> port monitoring 6 source 2/3 timeout 12000

Configuring a Port Monitoring Data File

By default, a file called pmonitor.enc is created in the /flash directory when you configure and enable a
port monitoring session. This file can be FTPed for later analysis. To configure a user-specified file use the
port monitoring source
session ID number, source, the slot number of the port to be monitored, a slash (/), the port number of the
port, file, and the name of the file.
For example, to configure port monitoring session 6 on port 2/3 with a data file called "user_port" in the
/flash directory enter:
-> port monitoring 6 source 2/3 file /flash/user_port
Optionally, you can also configure the size of the file and/or you can configure the data file so that more-
recent packets will not overwrite older packets in the data file if the file size is exceeded.
To create a file and configure its size use the
monitoring followed by the user-specified session ID number, source, the slot number of the port to be
monitored, a slash (/), the port number of the port, file, the name of the file, size, and the size of the file in
16K byte increments. (The maximum size is 160 K bytes.)
For example, to configure port monitoring session 6 on port 2/3 with a data file called "user_port" in the
/flash directory with a size of 49152 (3 * 16K) enter:
-> port monitoring 6 source 2/3 file /flash/user_port size 3
To prevent more recent packets from overwriting older packets in the data file if the file size is exceeded
use the
port monitoring source
fied session ID number, source, the slot number of the port to be monitored, a slash (/), the port number of
the port, file, the name of the file, and overwrite off.
For example, to configure port monitoring session 6 on port 2/3 with a data file called "user_port" in the
/flash directory enter that will not overwrite older packets if the file size is exceeded enter:
-> port monitoring 6 source 2/3 file user_port overwrite off
To allow more recent packets from overwriting older packets in the data file if the file size is exceeded
(the default) use the
user-specified session ID number, source, the slot number of the port to be monitored, a slash (/), the port
number of the port, file, the name of the file, and overwrite on.
page 27-22
CLI command by entering port monitoring followed by the user-speci-
CLI command by entering port monitoring followed by the user-specified
port monitoring source
CLI command by entering port monitoring followed by the user-speci-
port monitoring source
OmniSwitch 6600 Family Network Configuration Guide
CLI command by entering port
CLI command by entering port monitoring followed by the
Diagnosing Switch Problems
April 2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents