beautypg.com

Chapter 22. port monitor commands, Port monitor, Chapter 22.port monitor commands – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 207: Chapter 22. "port monitor commands

background image

Port Monitor Commands

Page 206

Chapter 22.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)

rxMonitors received packets only.

txMonitors 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