Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 230

Advertising
background image

Chapter 13: Port Mirroring Commands

230

Section I: Basic Operations

AlliedWare Plus

Command

Syntax

To create a port mirror or to add ports to an existing port mirror:

interface

destination_port

mirror interface

source_ports

rx|tx|both

To disable port mirroring or to remove ports from a port mirror:

interface

destination_port

no mirror interface

source_ports

Mode

Port Interface mode

Description

To stop port mirroring with the AlliedWare Plus commands, remove all of
the source ports. The destination port resumes normal network operations
after all the source ports are removed.

Examples

These commands create a port mirror. The ingress traffic on port 3, the
source port, is copied to port 5, the destination port. If port 5 is already
acting as the destination port of a port mirror, these commands add port 3
to the mirror:

awplus> enable
awplus# configure terminal
awplus(config)# interface 5
awplus(config-if)# mirror interface 3 rx

These commands remove ports 7 and 8 from port mirroring. The
destination port is port 11. If ports 7 and 8 are the only source ports in the
mirror, than port 11 no longer acts as the destination port and resumes
normal network operations

awplus> enable
awplus# configure terminal
awplus(config)# interface 11
awplus(config-if)# no mirror interface 7,8

Advertising