Configuring Port Monitoring Direction - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

Port Monitoring
-> 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 does 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.
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 select the the type of port monitoring information captured, use the
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 the capture-type keyword followed by the keywords, full or brief.
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), and port monitoring capture-type full, enter:
-> port-monitoring 6 source 2/3 file /flash/user_port capture-type full
To prevent more recent packets from overwriting older packets in the data file, if the file size is exceeded,
use the
port-monitoring source
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 off.
For example, to configure port monitoring session 6 on port 2/3 with a data file called "user_port" in the
/flash directory that does 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
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.
For example, to configure port monitoring session 6 on port 2/3 with a data file called "user_port" in the
/flash directory that does not overwrite older packets if the file size is exceeded, enter:
-> port-monitoring 6 source 2/3 file /flash/user_port overwrite on
Note. The size and no overwrite options can be entered on the same command line.

Configuring Port Monitoring Direction

By default, port monitoring sessions are bidirectional. To configure the direction of a port mirroring
session between a mirrored port and a mirroring port, use the
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, and inport, outport, or bidirectional.
For example, to configure port monitoring session 6 on port 2/3 as unidirectional and inward bound, enter:
page 26-26
port-monitoring source
CLI command by entering port-monitoring, followed by the
port-monitoring source
OmniSwitch AOS Release 7 Network Configuration Guide
CLI command by entering port-
port-monitoring source
CLI command by entering port-monitoring, followed by
port-monitoring source
Diagnosing Switch Problems
CLI
CLI command by
March 2011

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents