beautypg.com

16 port monitor commands, 1 port monitor, Command mode – Planet Technology WGSW-48040 User Manual

Page 243: User guidelines, Example, Syntax, Default configuration

background image

User’s Manual of WGSW-24020/WGSW-48040

-24

Command Mode

User EXEC mode

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.

This manual is related to the following products: