Diagnostics
12.4 Port Mirroring
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
931
Parameter
Description
Range of values / note
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
It can happen that data packets
are visible on the monitor port that
were not received in the defined
VLAN. These data packets come
from functions that are enabled on
the device, e.g. SIMATIC time
client. To avoid these data pack-
ets when VLAN mirroring, disable
the relevant functions on the de-
vice before a recording.
vlan-id
Number of the VLAN
1 ... 4094
mac-acl
Keyword for a MAC access control list -
ip-acl
Keyword for an IP access control list
-
acl-id
Number of the Access Control List
-
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
If you do not select any parameters from the parameter list, the default value (both) is used.
Note
VLAN and ACL mirroring
Tx mirroring is not supported with VLAN or ACL mirroring.
Result
As soon as you have configured the settings for the port to be monitored and the destination
port, the session is complete and active.
Further notes
You delete the source for mirroring a port with the
no monitor session ... source
command.
You end and delete a session with the
no monitor session
command.
You display the configuration settings with the
show monitor session
command.