16 port monitor commands, 1 port monitor, Syntax – PLANET WGSD-1022 User Manual

Page 224: Default configuration, Command mode, User guidelines

Advertising
background image

5.16 Port Monitor Commands

5.16.1 port monitor

The port monitor interface configuration command starts a port monitoring session. To stop a port

monitoring session, use the no form of this command.

Syntax

port monitor src-interface [rx | tx]

no port monitor src-interface

ƒ src-interface — Valid Ethernet port or port-channel number.

ƒ rx — Monitors received packets only. If no option specified, monitors both rx and tx.

ƒ tx — Monitors transmitted packets only. If no option specified, monitors both rx and tx.

Default Configuration

This command has no default configuration.

Command Mode

Interface Configuration 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 (the port being configured). Only a single target port can be defined

per system.

The port being monitored cannot be set faster than the monitoring port.

The following restrictions apply to ports configured to be 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 in any 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:

Port monitoring Source Ports must be simple ports, and not port-channels.

The port cannot be already configured as a destination port.

All the frames are transmitted as either always tagged or always untagged. Refer to the port-monitor

vlan-tagging command below.

General Restrictions:

Advertising