Port-mirroring commands, Port-mirroring example – Extreme Networks Summit1 User Manual

Page 81

Advertising
background image

S

UMMIT

S

WITCH

I

NSTALLATION

AND

U

SER

G

UIDE

4-9

P

ORT

-M

IRRORING

P

ORT

-M

IRRORING

C

OMMANDS

Port-mirroring commands are described in

Table 4-7

.

P

ORT

-M

IRRORING

E

XAMPLE

The following example selects port 3 as the mirror port, and sends all traffic coming
into or out of the switch on port 1 to the mirror port:

enable mirroring port 3

config mirroring add port 1

The following example sends all traffic coming into or out of the switch on port 1 and
the VLAN default to the mirror port:

config mirroring add port 1 vlan default

Table 4-7: Port-Mirroring Configuration Commands

Command

Description

enable mirroring port <port>

Dedicates a port on the switch to be the mirror port.

config mirroring add [mac <mac_address>
| vlan <name> | port <port> | vlan
<name> port <port>]

Adds a single mirroring filter definition. Up to eight
mirroring definitions can be added. You can mirror
traffic from a MAC address, a VLAN, a physical
port, or a specific VLAN/port combination.

config mirroring delete [mac
<mac_address> | vlan <name> | port
<port> | vlan <name> port <port> | all}

Deletes a particular mirroring filter definition, or all
mirroring filter definitions.

disable mirroring

Disables port-mirroring.

show mirroring

Displays the port-mirroring configuration.

Summit.bk : 4PORTS.FM Page 9 Thursday, June 18, 1998 9:27 AM

Advertising