Chapter 21. port monitor commands, Port monitor, Chapter 21.port monitor commands – Allied Telesis AT-S95 CLI (AT-8000GS Series) User Manual
Page 204: Chapter 21. "port monitor commands" — s
Page 204
Allied Telesis
AT-8000GS Command Line Interface 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/g8 (source port) to port 1/g1 (destination port).
console(config)# interface ethernet 1/g1
console(config-if)# port monitor 1/g8