Port Mirroring Configuration

Source: Internet
Author: User

Common brand Switch Port Mirroring) Configuration

Port Mirroring ing) allows you to copy all traffic from a specific Port to an Image Port.

> If your vswitch provides a port image, you can set a Monitoring Management port to monitor the data of the monitored port. The monitored data can be viewed through the network analysis software installed on the PC. By analyzing the data, you can view the status of the monitored port in real time. As shown in:

Most three-tier switches and some two-tier switches have the Port Mirroring function. Different switches or different models have different image configuration methods. Below we provide the image configuration methods for common switches:

Cisco CATALYST Switch Port Monitoring Configuration
3COM Switch Port Monitoring Configuration
DELL switch port monitoring configuration
NetCore switch port monitoring configuration
Intel switch port monitoring configuration
Avaya switch port monitoring configuration
Port monitoring configuration of Huawei Switches

Cisco CATALYST Switch Port Monitoring Configuration

Cisco catalyst switches are divided into two types, which are called analysis ports in the CATALYST family ).
1. Catalyst 2900XL/3500XL/2950 series switch port monitoring configuration (based on CLI)
Run the following command to configure a port listener:

Port monitor

For example, F0/1 and F0/2 and F0/5 belong to the same VLAN1 and F0/1 Listen to ports F0/2 and F0/5:

interface FastEthernet0/1
port monitor FastEthernet0/2
port monitor FastEthernet0/5
port monitor VLAN1

2. Configure port listening for the Catalyst 4000/5000/6000 series switches (based on IOS)
Run the following command to configure a port listener:
Set span
For example, in Module 6, Port 1 and Port 2 belong to the same VLAN1, Port 3 in VLAN2, port 4 and 5 in VLAN2, and Port 2 listen to ports 1, 3, 4, and 5,

Set span 6/1, 6/3-5 6/2
Note:
We provide formal users with a more detailed Cisco IOS Software Configuration Guide
If you are an official user, please contact us.

3COM Switch Port Monitoring Configuration
In a 3COM Switch, port monitoring is called "Roving Analysis ". The listening Port is called the "listening Port" Monitor Port), and the Port connecting to the listening device is called the "analysis Port" Analyzer Port ).
Run the following command to configure a port listener:
Specified analysis Port

Feature rovingAnalysis add, or f r
For example:

Select menu option: feature rovingAn alysis add
Select analysis slot: 1
Select analysis port: 2
Specify the listener port and start the listener
Feature rovingAnalysis start, or f r sta

For example:

Select menu option: feature rovingAn alysis start
Select slot to monitor (1-12): 1
Select port to monitor & nb sp; (1-8): 3
Stop port listening
Feature rovingAnalysis stop, or f r sto

DELL switch port monitoring configuration
In a Dell switch, Port monitoring is called "Port Mirroring ). Use the vswitch management interface with the following parameters:
Destination Port): defines the Port number for Port communication to be mirrored;
Source Port): defines the Port number of the mirrored Port.
Add): Add a port image.
Type): Specifies the port communication Type to be mirrored. Possible field values include "RX"-indicates the data from the image to the network; "TX"-indicates the data from the image to the network; and Both)-indicates all the data from the image.
Status): indicates the port Status. Possible field values include: "Active"-indicates that the port is enabled; "Not Active"-indicates that the port is disabled.
Remove delete): deletes a port image session. Possible field values include: "selected"-delete port image session; "not selected"-retain port image session.
Specific settings:
1. Select the Destination Port in the Port Mirroring ing dialog box), and then click the Add button;
2. on the "Add Source Port" Add Source Port "Page, define the" Source Port "Source Port) and" Type "fields, and click "Apply Changes" to make the system receive the Changes.
Note: To delete a copy Port from a Port image session, open the "Port Mirroring" Port image) page and select the "Remove" delete) check box, click Apply Changes to Apply Changes ). The system will delete the port image session and update the device .)
Run the following command to configure a port listener:
Specified analysis Port

CLI command instance:

Console(config)# interface ethernet 1/e1
Console(config-if)# port monitor 1/e8
Console# show ports monitor
Source port Destination Port Type Status

1/e1 1/e8 RX, TX Active
NetCore switch port monitoring configuration
In a NetCore switch, Port monitoring is called "Port Mirroring ).
The vswitch provides four monitoring statuses:

Off to disable the Mirror Function
Rx captures received data from the monitored Port
Tx captures sent data from the monitored Port
Both captures the received and sent data of the monitored Port

Enter the NetCore Super Terminal, enter "5" in the main menu to enter the port image setting interface, and enter "1" to set the port image status.
For example, if Port 1 is set to the Image Port and port 8 is the Image Port, the received and sent data of this port is captured.
The configuration command is as follows:

1. Select the configuration options (1, off, 2.Rx, 3.Tx, 4. Both): 4
2. Select capture port: 1
3. Select the port to be mirrored: 8
Press Esc to return to the image setting page. The setting is successful.

Intel switch port monitoring configuration
Intel calls port listening "Mirror Ports ". Network Traffic is called the "Source Port" of the listening Port, and the Port connecting to the listening device is called the "Mirror Port" of the Mirror Port ).
To configure a port listener, follow these steps:
● In the navigation menu, click Mirror Ports under Statistics to display the Mirror Ports information.
● Click the port in the Configure Source column to select the Source port. The Mirror Ports Configuration is displayed.
● Set the Source Port:
● The source port is the source port of the image traffic, and the mirror port is the port that receives the traffic from the source port.
● Click Apply.
You can select three listening methods:
1. Continuous Always): all traffic of the image.
2. Periodic): all traffic of images within a certain period. Set the image cycle in Sampling Interval configuration.
3. Disable Disabled): Disable traffic mirroring.

Avaya switch port monitoring configuration
In the Avaya switch user manual, Port monitoring is called "Port image" Port Mirror ).
Run the following command to configure a port listener:

{Set | clear} Port Mirror
Set port listening:
Set port mirror source-port
Mirror-portsampling {always} [max-packets-sec
] [Piggyback-port]
Disable port monitoring:
Clear port mirror
Command,
Mod-port-range specifies the port range;
Mod-port-spec specifies a specific port;
Piggyback-port specifies the port of the two-way image;
Sampling specifies the image cycle;
Max-packets-sec is only used when sampling is set to periodic,
Specifies the maximum number of data views per second for a listener.

Port monitoring configuration of Huawei Switches
In the Huawei switch user manual, Port monitoring is called "Port Mirroring ).
Use the Huawei Lanswitch View Management System to add an Image Port:

Select Device Setup or Stack Setup.
Click Port processing ing.
Click Add. For stack, click Switch and select a Switch from the list.
Click Reflect from and select the port on which traffic will be mirrored.
Click Reflect to and select

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.