DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
105
Switch(config)# snmp-server enable traps loopback-detection.
22. Mirror Commands
22-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
Specifies the session number for the port monitor session. The valid
range is 1.
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
22-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.