Common switch Port mirroring configuration

Source: Internet
Author: User
Tags filter config include port number cisco switch

In the tree menu on the left of the switch management interface, select switch (switch) >>> Ports (port) >>> "portmirroring" (port mirroring), and the right opens "portmirroring" (Port Mirroring) page. The parameters in this page are explained as follows:

Port mirroring configuration of Dell

In the tree menu on the left side of the switch management interface, select switch (switch) >>> Ports (port) >>> "portmirroring" (port mirroring), and the right side will open "portmirroring" ( Port mirroring) page. The parameters in this page are explained as follows:

Add: Adding Port Mirroring operations

Destinationport (Destination port): Defines the port number to be mirrored to the ports traffic;

Sourceport (source port): Defines the port number of the mirrored ports. Up to 8 mirror ports can be mirrored to a mirrored port;

Type (type): Specifies the type of port traffic to mirror. Possible field values include: "RX"-Indicates data mirroring into the network; TX "-Represents the data that mirrors the network outflow; Both ()-Indicates that all data is mirrored.

Status: Indicates the status of the port. Possible field values include: "Active"-indicates that the port is enabled; Notactive "-Indicates that the port is disabled.

Remove: Deletes a port mirroring session. Possible field values include: "Selected"-Deletes a port mirroring session; The-Preserve port mirroring session is not selected.

Specific Port mirroring configuration:

1. Select the destination port (port mirroring) in the Destinationport in the Portmirroring dialog box, and then click the Add button;

2. In the system will open the "Addsourceport" (Add Source port) page, define the "Sourceport" (Source port) and type (type) field, and click ApplyChanges (Apply the changes), so that the system receives changes.

(Note: If you need to remove the replica port from the port mirroring session, open the Portmirroring (Port Mirroring) page, select the Remove check box, and then click ApplyChanges (Apply the changes). The system deletes the port mirroring session and updates the device. )

The following are instances of CLI commands:

Console (config) #interfaceethernet1/e1

Console (config-if) #portmonitor1/e8

Console#showportsmonitor

Sourceportdestinationporttypestatus

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

1/e11/e8rx,txactive

Let's look at how the specific types of switches are configured for Port mirroring:

Port mirroring configuration method for juniper switch

Juniperm series and T-series switch port mirroring configuration method

Usen@router#showforwarding-optionsport-mirroring{input{familyinet;rate;run-length;} Outputinterface{next-hop;} No-filter-check}}

Select which destination port to send the sampled traffic to

User@router#showfirewallfiltermirror-samplefrom{...} Then{sample;accept;}

Define sampling filters, select the flow of interest

User@router#showinterfaceunit0familyinetfilter{inputmirror-sample;}

Choose to apply a sampled filter to a port

Port mirroring configuration method for Nortel8000 switch

Software3.2.0.0 previous version, supported a set of port mirrors, 10 source, one destination

Software3.2.0.0 version, support 2 sets of mirrors, (note: usually 8 Ethernet port for a circuit integration board, destination can not be on the same board, that is, 1-8 ports only allow a destination), Supports 25 source.

Username/password: Rwa/rwa Super User

For example: 2/62/62/8 mirrored to 2/1

CONFIGDIAGMIRROR-BY-PORT1CREATEIN-PORT2/4OUT-PORT2/1 (1 is ID number, range 1-10)

Configdiagmirror-by-port1enableture

Configdiagmirror-by-port2createin-port2/6out-port2/1

Configdiagmirror-by-port2enableture

Configdiagmirror-by-port3createin-port2/8out-port2/1

Configdiagmirror-by-port3enableture

Configdiagmirror-by-port1modeboth TX Rx

Saveconfig

Diagmirror-by-portidinfo (view ID number mirror information)

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/

The mirroring function provided by the Nortel switch is usually RX and does not support the both mode (see CPU), so ping packets are not detected and only ping answers can be detected.

Port mirroring configuration method for Baystack450 switch

Veryeasy, as long as the installation menu step-by-step. Only 2 source and one destination are supported. Switch software version 3 or more.

Ssr8000

SSRCommandLineInterfaceReferenceManual551

Portmirroring

Command

Purpose

Applyportmirroringtooneormoretargetportsonanssrortotrafficspecifiedbyan

Aclprofile.

Format

Portmirroringmonitor-porttarget-port target-profilename>

Mode

Configure

Description

Theportmirroringcommandallowsyoutomonitorviaasingleporttheactivityofone

Ormoreportsonanssrorthetrafficthatisspecifiedbyanacl.

Parameters

Monitor-port

Theportyouwillusetomonitoractivity.

Target-port

Theport (s) forwhichyouwanttomonitoractivity. Youcanspecifyasingleportora

Comma-separatedlistofports.

Target-profile

Thenameoftheaclthatspecifiestheprofileofthetrafficthatyouwantto

Monitor. Theaclmustbeapreviouslycreatedipacl.theaclmaycontain

Eitherpermitordenykeywords. Theportmirroringcommandonlylooksatthe

Followingaclruleparametervalues:protocol,sourceipaddress,destinationip

Address,sourceport,destinationport,andtos.

Port mirroring is a classic switch configuration process, which lists several common switch brand and model port mirroring configuration instances, and of course the most common Huawei and Cisco switch configurations you can read the following recommended articles.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.