Alcatel-Lucent 6600 Switch User Manual


 
Port Monitoring Diagnosing Switch Problems
page 27-22 OmniSwitch 6600 Family Network Configuration Guide April 2006
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 CLI command by entering port monitoring followed by the user-speci-
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 CLI command by entering port 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, 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 port monitoring source CLI command by entering port
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 CLI command by entering port monitoring followed by the user-speci-
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 port monitoring source CLI command by entering port 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, and overwrite on.