D-Link DIS-200G-12PS [77/172] Mirror commands

D-Link DIS-200G-12PS [77/172] Mirror commands
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
74
19. Mirror Commands
19-1
monitor session destination interface
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
destination interface
INTERFACE-ID
no monitor session
SESSION-NUMBER
Parameters
session SESSION-NUMBER
Specifies the session number for the port monitor session. The
valid range is 1.
interface INTERFACE-ID
Specifies the destination interface for the port monitor session.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to configure the destination interface for a local monitor session. For a monitor session,
multiple source interfaces can be specified, but only one destination interface can be specified.
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)#
19-2
monitor session source interface
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 I
NTERFACE-ID
[, | -]

Содержание

Скачать