Switch mirror, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 514: Parameters, Example, Switch mirror -4

Advertising
background image

Chapter 21: Switch Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 21-4

Efficient Networks

®

switch mirror

Configures port traffic mirroring. Switch mirroring allows traffic from an Ethernet
port(s) to be mirrored to another Ethernet port. Switch mirroring is disabled by default.

NOTE:

Port 9 is the uplink of the switch to the WAN/router.

Mgmt Class

Network (R/W)

Input Format

switch mirror [on | off | capture <port> | map <port>| unmap

<port>]

Parameters

Example

The following example will enable port mirroring; traffic from ports 3 and 4 will be
mirrored to the capture port 6:

***

When entered with no parameters, the current port mirroring state
information is displayed; see

Response

below.

on

Enables port mirroring function. If no additional parameters are
supplied, the current mirroring configuration is used.

off

Disables port mirroring function. Mirror settings are not changed.

capture <port>

1

1

Integer

Specifies the port that will capture traffic from the mirrored port.

2

2

When a capture <port> parameter is specified on the command line, port mirroring is auto-enabled.

map <port>

1

Specifies the port that will to be mirrored. Multiple ports can be
mapped to the capture port.

unmap <port>

1

Un-maps the specified port.

-> switch mirror capture 6

-> switch mirror map 3

-> switch mirror map 4

Advertising