Diagnostics
12.4 Port Mirroring
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
930
Configuration Manual, 06/2016, C79000-G8976-C252-11
Result
The destination for the mirroring of a port is deleted.
Further notes
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.
12.4.2.7
monitor session source
Description
With this command, you configure the source for mirroring a port or a VLAN.
Requirement
●
Monitoring is enabled.
●
You are in the Global configuration mode
.The command prompt is:
cli(config)#
Syntax
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:
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
Summary of Contents for SCALANCE XM-400
Page 882: ......