Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 240

Advertising
background image

Chapter 13: Port Mirroring Commands

240

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

direction

receive|transmit|both

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

interface

source_ports

no mirror interface

Mode

Port Interface mode

Description

To stop port mirroring with the AlliedWare Plus commands and to return
the destination port to normal network operations, remove all of the source
ports.

Examples

This example creates a port mirror that copies the ingress traffic on port 3,
the source port, to port 5, the destination port. If port 5 is already acting as
a destination port of a port mirror, these commands add port 3 to the port
mirror:

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

These commands remove ports 7 and 8 from the port mirror. If these are
the only source ports in the mirror, the port mirror is disabled and the
destination port resumes normal network operations

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

Advertising