Mirror Commands - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

27. Mirror Commands

27-1
This command is used to configure the destination interface for a port monitor session, allowing
packets on source ports to be monitored via a destination port. Use the no form of this command to
delete a port monitor session or remove the destination interface of the session.
monitor session SESSION-NUMBER destination interface INTERFACE-ID
no monitor session SESSION-NUMBER
Parameters
session SESSION-NUMBER
interface INTERFACE-ID
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to configure the destination interface for a local monitor session.
Both physical ports and port channels are valid as destination interfaces for monitor sessions. For a
monitor session, multiple source interfaces can be specified, but only one destination interface can be
specified. An interface cannot be a source interface of one session and destination port of another
session simultaneously. An interface can be configured as the destination interface of multiple
sessions, but it can be a source interface of only one session.
Example
This example shows how to create a port monitor session with the session number 1. It assigns a
physical port ethernet1/0/1 as the destination port and three physical ports (ethernet1/0/2 to
ethernet1/0/4) as monitor source ports.
Switch# configure terminal
Switch(config)#monitor session 1 destination interface ethernet 1/0/1
Switch(config)# monitor session 1 source interface ethernet 1/0/2-4
Switch(config)#
27-2
This command is used to configure the source port of a port monitor session. Use the no form of this
command to remove a port monitor session or remove a source port from the port monitor session.
monitor session SESSION-NUMBER source interface INTERFACE-ID [, | -] [both | rx | tx]
no monitor session SESSION-NUMBER source interface INTERFACE-ID [, | -]
no monitor session SESSION-NUMBER
DXS-1210 Series Smart Managed Switch CLI Reference Guide
monitor session destination interface
Specifies the session number for the port monitor session. The valid
range is 1 to 2.
Specifies the destination interface for the port monitor session.
monitor session source interface
210

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents