D-Link Dis-200G Series Cli Reference Manual page 110

Industrial gigabit ethernet switch
Hide thumbs Also See for Dis-200G Series:
Table of Contents

Advertisement

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
Parameters
session SESSION-NUMBER
interface INTERFACE-ID
,
-
Both
rx
tx
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Both physical ports and port channels are valid as source interfaces of monitor sessions.For a monitor session,
multiple source interfaces can be specified, but only one destination interface can be specified. If the direction
is not specified, both TX (transmitted)
and RX (received) traffic are monitored.
Example
This example shows how to create a port monitor session with the session number 1. It assigns a physical port
ethernet 1/0/1 as the destination port and three physical ports (ethernet 1/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)#
22-3 show monitor session
This command is used to display all or a specific port mirroring session.
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
Specifies the session number for the port monitor session. The valid
range is 1.
Specifies the source interface for a port monitor session.
(Optional) Specifies the number of interfaces, or separate a range
of interfaces from a previous range. No spaces before and after the
comma.
(Optional) Specifies a range of interfaces. No spaces before and
after the hyphen.
(Optional) Specifies to monitor the packets transmitted and
received on the port.
(Optional) Specifies to monitor the packets received on the port.
(Optional) Specifies to monitor the packets transmitted on the port
106

Advertisement

Table of Contents
loading

Table of Contents