16 port monitor commands, 1 port monitor, User guidelines – Planet Technology WGSD-8000 User Manual

Page 254: Example, Syntax, Default configuration, Command mode

Advertising
background image

User’s Manual of WGSD-1022/WGSD-8000

- 254 –

User Guidelines

There are no user guidelines for this command.

Example

The following example shows how all port-channel information is displayed.

Console (config)# show interfaces port-channel

Channel Ports

------------ -----------------

ch1 Active: g2

ch2 Active: e3, e7 Inactive: g1

ch3 Active: e4, e8

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.

Advertising