Diagnostics
12.4 Port Mirroring
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
930 Configuration Manual, 06/2016, C79000-G8976-C252-11
The destination for the mirroring of a port is deleted.
You configure the destination for mirroring a port with the monitor session ... destination
command.
You end and delete a session with the
no monitor session command.
You display the configuration settings with the
show monitor session command.
monitor session source
Description
With this command, you configure the source for mirroring a port or a VLAN.
● Monitoring is enabled.
● You are in the Global configuration mode
.The command prompt is:
cli(config)#
Call up the command for the port to be monitored with the following parameter assignment:
monitor session<session-id(1-7)> source
{interface {<interface-type><interface-id> | port-channel <port-channel-id (1-8)>}
[{rx|tx|both}]}
or
Call up the command for the VLAN to be monitored with the following parameter assignment:
monitor session <session-id (1-1)> source
{vlan <vlan-id> | mac-acl <acl-id>} | ip-acl <acl-id>}
The parameters have the following meaning:
Number of the session
7 parallel sessions are possible only
with port-based mirroring and their
1 ... 7
Keyword for a an interface description -
Type or speed of the interface
Enter a valid interface.
Module no. and port no. of the interface