Chapter 21. port monitor commands, Port monitor, Chapter 21.port monitor commands – Allied Telesis AT-S95 CLI User Manual

Page 200: Chapter 21. "port monitor commands" — s

Advertising
background image

Page 200

Allied Telesis
AT-S95 Management Software CLI User’s Guide

Chapter 21.Port Monitor Commands

port monitor

The port monitor Interface Configuration mode command starts a port monitoring session. Use the no form of
this command to stop a port monitoring session.

Syntax

port monitor src-interface [rx | tx]

no port monitor src-interface

Parameters

src-interface—Valid Ethernet port. (Full syntax: unit/port)

rx Monitors received packets only.

tx Monitors transmitted packets only.

Default Configuration

Monitors both received and transmitted packets.

Command Mode

Interface Configuration (Ethernet) mode

User Guidelines

This command enables traffic on one port to be copied to another port, or between the source port (src-interface)
and a destination port (port being configured).

The following restrictions apply to ports configured as destination ports:

The port cannot be already configured as a source port.

The port cannot be a member in a port-channel.

An IP interface is not configured on the port.

GVRP is not enabled on the port.

The port is not a member of a VLAN, except for the default VLAN (will automatically be removed from the default
VLAN).

The following restrictions apply to ports configured to be source ports:

The port cannot be already configured as a destination port.

Example

The following example copies traffic on port 1/e8 (source port) to port 1/e1 (destination port).

console(config)# interface ethernet 1/e1
console(config-if)# port monitor 1/e8

Advertising