41 mirror commands, 1 monitor session destination interface, 2 monitor session source interface – CANOGA PERKINS 9175 Command Reference User Manual

Page 739

Advertising
background image

CanogaOS Command Reference

41-1

41 Mirror

Commands

41.1 monitor session destination interface

Use this command to set mirror destination interface.

To remove this setting, use the no form of this command.

Command Syntax

monitor session < session > destination interface interface

no monitor session < session > destination

session: <1-4> mirror session number

interface: Mirror destination interface

Command Mode

Global configuration

Usage

The destination interface can only be physical port such as eth-0-1. It can be neither vlan interface nor

agg interface.

Examples

This example shows how to set the mirror destination port to eth-0-1 in session 1.

Switch(config)# monitor session 1 destination interface eth-0-1

This example shows how to remove this setting.

Switch(config)# no monitor session 1 destination

Related Commands

monitor session source interface

monitor session source vlan

show monitor

41.2 monitor session source interface

Use this command to set mirror source interface.

To remove this setting, use the no form of this command.

Command Syntax

monitor session < session > source interface interface [both | tx |rx]

no monitor session < session > source interface interface [both | tx |rx]

session: <1-4> mirror session number

interface: mirror source interface. It can be either physical port or agg interface. (I.e. eth-0-1, agg1)

both: monitor received and transmitted traffic on that interface

rx: monitor received traffic only on that interface

Advertising