3 monitor session destination interface, 4 show monitor, Monitor session destination interface – PLANET XGS3-24040 User Manual
Page 802: Show monitor
51-2
interfaces. For flow mirror, only datagram received can be mirrored. The parameters can be rx, tx, both.
The related access list should be prepared before this command is issued. For how to configure the
access list, please refer to ACL configuration. The mirror can only be created after the destination
interface of the corresponding session has been configured.
Example: Configure the mirror interface 1/6 to filter with access list 120 in session 2.
Switch(config)#monitor session 2 source interface 1/6 access-list 120 rx
51.3 monitor session destination interface
Command: monitor session
no monitor session
Function: Specify the destination interface of the mirror. The no form command will disable this
configuration.
Parameters: <session> is the session number of the mirror, which is currently limited to 1-4.
<interface-number> is the destination interface of the mirror.
Default: None.
Command Mode: Global mode
Usage Guide: 4 destination mirror interface is supported on the switch. To be mentioned. The interface
which is configured as the destination of the mirror should not be configured as the member of the
interface trunk. And the maximum throughput of the interface is recommended to be larger than the total
throughput of the interfaces to be mirrored. If the destination of a session is removed, the mirror path
configured in the session will be removed at the same time. And if the destination interface is
reconfigured, the interface, CPU and mirror path will be recovered. To be mentioned, the flow mirror can
only be recovered after the destination of the interface is re-configured.
Example: Configure interface 1/7 as the destination of the mirror.
Switch(config)#monitor session 1 destination interface ethernet 1/7
51.4 show monitor
Command: show monitor
Function: To display information about the source and destination ports of all the mirror sessions.
Command Mode: Admin Mode
Usage Guide: This command is used to display the source and destination ports for the configured
mirror sessions. For port mirroring, CPU mirroring, and flow mirroring, the mirror mode of the source can
be displayed. For MAC mirroring, MAC mirror configuration will be displayed for the supported switch
cards.
Example:
Switch#show monitor