DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
389
46.
Mirror Commands
46-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 to 4.
interface
INTERFACE-ID
Specifies the destination interface for the port monitor session.
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 ethernet1/0/1
Switch(config)# monitor session 1 source interface ethernet1/0/2-4
Switch(config)#
46-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
[forwarding]]
no monitor session
SESSION-NUMBER
source interface
INTERFACE-ID
[, | -]
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...