Mirror Port simply, the flow of one (several) port (source port) of the switch is completely copied, from another port (destination port), so that the network administrator from the destination port through the analysis of the source port traffic to find out the cause of the network problems.
Configure the switch port mirroring, you can easily use network post Internet Behavior Management software to monitor your network, the use of network posts can monitor the Internet management Company records, monitoring QQ chat content, MSN Chat content, mail send and receive records. Now let's take a look at how the Huawei switch is configured for Port mirroring:
Configuration environment Parameters: PC1 and PC2 IP addresses are 10.10.1.1/24, 10.10.1.2/24, respectively.
Network requirements: Configure the port image on the SwitchA, and monitor the message from the PC2 on the PC1.
Huawei Switch: S2000ei, S2000C Series Port mirroring configuration process
Mirroring-port is used to define a mirrored port, which monitor-port to define the monitoring port.
"SwitchA Related Configuration"
1. Configure the port E0/2 as the monitoring port
[Switcha]monitor-portethernet0/2no-filt
2. Configure the port E0/1 as a mirrored port
[Switcha]mirroring-portethernet0/1both
"Supplementary Notes"
Supports a many-to-many port image, but the mirrored port must be in the same chip as the monitoring port (one chip per 8 port).
When configuring a mirrored port, you can use parameters to define the direction of the monitored message. For example: parameter both, which indicates the reception of the monitor port at the same time and sends the paper, the parameter inbound, represents only the monitor port receives the message, the parameter outbound, represents only the monitoring port sends the message.
When configuring the monitoring port, you can use parameters to define the monitoring port type. For example: Parameter no-filt, means to monitor all messages, parameter Filt-da, indicating only the message that monitors the specified destination MAC address, and the parameter Filt-sa, which represents only the message that monitors the specified source MAC address.
Specific models for this series of switches include: S2008-ei, S2016-ei and s2403h-ei,s2008c, s2016c and s2024c.
Huawei switches: S2000-si and S3000-SI Series Port mirroring configuration process
Mirroring-port is used to define a mirrored port, which monitor-port to define the monitoring port.
"SwitchA Related Configuration"
1. Configure the port E0/2 as the monitoring port
[SWITCHA]MONITOR-PORTETHERNET0/2
2. Configure the port E0/1 as a mirrored port
[Switcha]mirroring-portethernet0/1both
"Supplementary Notes"
Supports multi-pair port mirroring, hao352 Internet homepage.
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/
When configuring a mirrored port, you can use parameters to define the direction of the monitored message. For example: parameter both, which indicates the reception of the monitor port at the same time and sends the paper, the parameter inbound, represents only the monitor port receives the message, the parameter outbound, represents only the monitoring port sends the message.
Specific models for this series of switches include: S2026c/z-si, S3026c/g/s-si and E026-si.
Huawei Switch: S3050C series Port Mirroring configuration process
Mirroring-port is used to define a mirrored port, which monitor-port to define the monitoring port.
"Switch-related configuration"
1. Configure the port E0/2 as the monitoring port
[SWITCHA]MONITOR-PORTETHERNET0/2
2. Configure the port E0/1 as a mirrored port
[Switcha]mirroring-portethernet0/1both
"Supplementary Notes"
Supports multiple-pair port mirroring.
When configuring a mirrored port, you can use parameters to define the direction of the monitored message. For example: parameter both, which indicates the reception of the monitor port at the same time and sends the paper, the parameter inbound, represents only the monitor port receives the message, the parameter outbound, represents only the monitoring port sends the message.
From chip productivity considerations, S3050C provides 1 mirrored destination ports and 3 mirrored source ports. It should be noted that the s3050c mirror source can be divided into mirrored and output mirrors, the so-called 3 mirror source is calculated in accordance with the direction of Independent. For example, the port E0/1 configuration mirror Direction is both, because it contains in and out two orientations, so it is calculated by two sources.
Huawei switches: s3026e, s3526e, S3526 series Port mirroring configuration process
The monitor-port is used to define the monitoring port, combining the ACL configuration and using the Mirroed-to command in the system view to mirror the data message matching the ACL rule to the monitoring port.
"SwitchA Related Configuration"
1. Configure the port E0/2 as the monitoring port
[SWITCHA]MONITOR-PORTETHERNET0/2
2. Configure ACLs to define data flow rules that conform to monitoring
[switcha]aclnumber4000 [Switcha-acl-link-4000]rulepermitingressinterfacee0/1egressany [SwitchA-acl-link-4000] Rulepermitingressanyegressinterfacee0/1
3. Mirroring the message of the matching ACL rule to the monitoring port E0/2
[SWITCHA]MIRROED-TOLINK-GROUP4000INTERFACEETHERNET0/2
"Supplementary Notes"
This series of switches uses stream mirroring, not port mirroring. Therefore, a message that matches the ACL rule must be mirrored in conjunction with the ACL configuration.
Specific models for this series of switches include: s3026e/c/g/t,s3526e/c,s3026fs/fm,s3526 and S3526FS/FM.
Huawei Switch: S5012, S5024 Series Port mirroring configuration process
Mirroring-port is used to define a mirrored port, which monitor-port to define the monitoring port.
"Supplementary Notes"
Supports both port mirroring and streaming mirroring. The configuration method for streaming mirrors is consistent with the mirrored configuration method of the S3026E series switches.
When configuring a mirrored port, you can use parameters to define the direction of the monitored message. For example: parameter both, which indicates the reception of the monitor port at the same time and sends the paper, the parameter inbound, represents only the monitor port receives the message, the parameter outbound, represents only the monitoring port sends the message.
When configuring the monitoring port, you can use parameters to define the message direction monitored by the mirrored port. For example: parameter both, which indicates the reception of the monitor port at the same time and sends the paper, the parameter inbound, represents only the monitor port receives the message, the parameter outbound, represents only the monitoring port sends the message.
Specific models for this series of switches include: s3528g/p and s3552g/p/f.
Huawei Switch: S3900, S5600 Series Port mirroring configuration process
The monitor-port is used to define the monitoring port, combining the ACL configuration and using the Mirroed-to command in the Ethernet physical port configuration view to mirror the data packets matching the ACL rules to the monitoring port. Or configure a physical port directly as a mirrored port. Good web site good Internet hao352.com.
Method one, Stream mirroring
"SwitchA Related Configuration"
1. Configure the port G1/0/2 as the monitoring port
[SWITCHA]INTERFACEGIGABITETHERNET1/0/2 [Switcha-gigabitethernet1/0/2]monitor-port
2. Configure ACLs to define data flow rules that conform to monitoring
[switcha]aclnumber3000 [Switcha-acl-link-3000]rulepermitipsource10.10.1.10destinationany [SwitchA-acl-link-3000] rulepermitipsourceanydestination10.10.1.10
3. Will pass through the port G1/0/1, matches the ACL rule the message to mirror to the monitoring port
[SWITCHA]INTERFACEGIGABITETHERNET1/0/1 [SWITCHA-GIGABITETHERNET1/0/1] Mirrored-toinboundip-group3000monitor-interface [SWITCHA-GIGABITETHERNET1/0/1] Mirrored-tooutboundip-group3000monitor-interface
Method two, port mirroring
"SwitchA Related Configuration"
1. Configure the port G1/0/2 as the monitoring port
[SWITCHA]INTERFACEGIGABITETHERNET1/0/2 [Switcha-gigabitethernet1/0/2]monitor-port
2. Configure the port G1/0/1 as a mirrored port
[SWITCHA]INTERFACEGIGABITETHERNET1/0/1 [Switcha-gigabitethernet1/0/1]mirroring-portboth
Huawei 6502 do Port mirroring
[cur]mirroring-group1local Create Group [cur-gigabitethernet1/0/8]mirroring-group1monitor-port Monitor Port [cur-GigabitEthernet0/0/ 1]mirroring-group1mirroring-portboth is monitored by the port [Cur]dismirroring-groupall mirroring-group1:type:local status:active Mirroringport:gigabitethernet0/0/1both
Huawei switch Port mirroring configuration of all the content of the introduction of the several common switches of the port mirroring configuration process is to let everyone see more convenient, I hope to help you.