Port Mirror; Cli Configuration - Tripp Lite NGI-M08C4POE8-2 Owner's Manual

Sfp slots managed industrial ethernet poe+ switch
Table of Contents

Advertisement

5.3. Port Mirror

Port-Based Mirroring
The Port-Based Mirroring is used on a network switch to send a copy of network packets
sent/received on one or a range of switch ports to a network monitoring connection on another
switch port (Monitor to Port). This is commonly used for network appliances that require
monitoring of network traffic, such as an intrusion-detection system.
Port Mirroring, together with a network traffic analyzer, helps to monitor network traffic. Users
can monitor the selected ports (Source Ports) for egress and/or ingress packets.
Source Mode:
Ingress
: The received packets will be copied to the monitor port.
Egress
: The transmitted packets will be copied to the monitor port.
Both
: The received and transmitted packets will be copied to the monitor port.
Notices:
 The monitor port cannot be a trunk member port.
 The monitor port cannot be ingress or egress port.
 If the Port Mirror function is enabled, the Monitor-to Port can receive mirrored packets
only.
 If a port has been configured as a source port and then user configures the port as a
destination port, the port will be removed from the source ports automatically.
5.3.1.

CLI Configuration

Node
Command
enable
show mirror
enable
configure terminal
configure mirror
(disable|enable)
configure mirror destination
port PORT_ID
configure mirror source ports
PORT_LIST mode
(both|ingress|egress)
configure no mirror source ports
PORT_LIST
Example:
L2SWITCH#configure terminal
L2SWITCH(config)#mirror destination port 9
Success!
L2SWITCH(config)#mirror source ports 1-8 mode ingress
Success!
L2SWITCH(config)#exit
Description
This command displays the current port mirroring
configurations.
This command changes the node to configure node.
This command disables / enables the port mirroring on
the switch.
This command specifies the monitor port for the port
mirroring.
This command adds a port or a range of ports as the
source ports of the port mirroring.
This command removes a port or a range of ports from
the source ports of the port mirroring.
51

Advertisement

Table of Contents
loading

Table of Contents