Monitor Session Source Interface - Planet Networking & Communication SGS-6340-24T4S Command Manual

Layer 3 multi-port full gigabit stackable managed switch
Table of Contents

Advertisement

Chapter 57 Commands for Mirroring

57.1 monitor session source interface

Command:
monitor session <session> source {interface <interface-list> | cpu} {rx| tx| both}
no monitor session <session> source {interface <interface-list> | cpu}
Function:
Specify the source interface for the mirror. The no form command will disable this configuration.
Parameters:
<session> is the session number for the mirror. Currently only 1 is supported. <interface-list> is the list of source
interfaces of the mirror which can be separated by "-" and ";". cpu means the CPU on the board to be the source of
the mirror for debugging. Datagram received by or sent by the CPU. rx means to filter the datagram received by the
interface, while tx for the datagram sent out, and both means both of income and outcome datagram.
Command mode:
Global mode
Usage Guide:
This command is used to configure the source interfaces for the mirror. It is not restricted the source interface of the
mirror on the switch. The source can be one interface, or can be multiple interfaces. Both of the income and outcome
datagram can be mirrored, or they can be mirrored selectively. If no [rx | tx | both] is specified, both are made to be
the default. When multiple interfaces are mirrored, the direction of the mirror can be different, but they should be
configured separately.
Example:
Configure to mirror the datagram sent out by interface 1/1-4 and to mirror the datagram received by interface1/5
Switch(config)#monitor session 1 source interface ethernet 1/1-4 tx
Switch(config)#monitor session 1 source interface ethernet1/5 rx
Configuration
57-341

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents