Port mirroring commands, Port mirroring example – Allied Telesis AT-8550 User Manual

Page 65

Advertising
background image

AT-9108, AT-8518, AT-8525, and AT-8550 User’s Guide

3-11

Port Mirroring

Commands

Port mirroring commands are described in

Table 3-6

.

Port Mirroring

Example

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 3-6 Port Mirroring Configuration Command

Command

Description

enable mirroring to <port>

Dedicates a port to be the mirror output 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.

Advertising
This manual is related to the following products: