Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
Port Mirroring and Monitoring Commands
OmniSwitch CLI Reference Guide
September 2009
page 48-7
port monitoring source
Configures a port monitoring session.
port monitoring port_monitor_sessionid source slot/port 
[{no file | file 
filename [size filesize] | [overwrite {on | off}]}]
[inport | outport | bidirectional] [timeout 
seconds] [enable | disable]
Syntax Definitions
port_monitor_sessionid
Monitoring session identifier.
slot/port
Enter the slot number for the module and the physical port number on 
that module (e.g., 3/1 specifies port 1 on slot 3).
file filename
Specifies a file name for the monitoring session (e.g., /flash/port2).
filesize
Specifies the size of the file in 16K (16384) byte increments. For exam-
ple, a value of 3 would specify a size of 49152 bytes. The file size can 
be up to 160 K (163840 bytes).
no file
Specifies that no file will be created for the monitoring session.
on
Specifies that any existing port monitoring file in flash memory will be 
overwritten if the total data exceeds the specified file size.
off
Specifies that any existing port monitoring file in flash memory will not 
be overwritten if the total data exceeds the specified file size.
inport
Specifies incoming unidirectional port monitoring.
outport
Specifies outgoing unidirectional port monitoring.
seconds
Specifies the number of seconds after which the session is disabled. The 
range is 0–2147483647 where 0 is forever.
enable
Enables the port monitoring status.
disable
Disables the port monitoring status.
Defaults
Platforms Supported
OmniSwitch 6400, 6800, 6850, 6855, 9000
parameter
default
filesize
1
on | off
on
bidirectional | inport | outport
bidirectional
seconds
0
enable | disable
disable