
Diagnostics
12.4 Port Mirroring
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
932
Configuration Manual, 06/2016, C79000-G8976-C252-11
12.4.2.8
no monitor session source
Description
With this command, you delete the source for mirroring a port or a VLAN.
Requirement
You are in the Global configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call up the command for the port to be monitored with the following parameter assignment:
no 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:
no monitor session <session-id (1-1)> source
{vlan <vlan-id> | mac-acl <acl-id>} | ip-acl <acl-id>}
The parameters have the following meaning:
Parameter
Description
Range of values / note
session-id
Number of the session
7 parallel sessions are possible only
with port-based mirroring and their
ports must not overlap.
1 ... 7
interface
Keyword for a an interface description -
interface-type
Type or speed of the interface
Enter a valid interface.
interface-id
Module no. and port no. of the interface
port-channel
Keyword for a port channel connection -
port-channel-id
Number of the addressed port channel 1 ... 8
rx
Received data traffic will be mirrored
(received)
-
tx
Transmitted data traffic will be mirrored
(transmitted)
-
both
Received and sent data traffic will be
mirrored
-
vlan
Keyword for a VLAN connection
-
vlan-id
Number of the VLAN
1 ... 4094
mac-acl
Keyword for a MAC access control list -