![Huawei V100R006C00 Скачать руководство пользователя страница 108](http://html.mh-extra.com/html/huawei/v100r006c00/v100r006c00_configuration-manual_169533108.webp)
Networking Requirements
, GigabitEthernet0/0/1 is connected to PC1; GigabitEthernet0/0/2 is
connected to PC2. PC1 and PC2 belong to VLAN 10. Now, incoming traffic of all active
interfaces in VLAN 10 needs to be monitored. In this case, you can configure local VLAN
mirroring.
GigabitEthernet0/0/3 serves as an observing port.
Figure 7-5
Networking diagram of local VLAN mapping
PC1
PC2
GE0/0/2
GE0/0/3
GE0/0/1
PC3
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure GigabitEthernet0/0/3 as an observing port.
2.
Configure VLAN 10 as a mirrored VLAN.
Data Preparation
None.
Configuration Procedure
1.
Add GigabitEthernet0/0/1 and GigabitEthernet0/0/2 to VLAN 10 as access interfaces.
# Add GigabitEthernet0/0/1 to VLAN 10 as an access interface.
<Switch>
system-view
[Switch]
interface gigabitethernet 0/0/1
[Switch-GigabitEthernet0/0/1]
port link-type access
[Switch-GigabitEthernet0/0/1]
port default vlan 10
[Switch-GigabitEthernet0/0/1]
quit
Add GigabitEthernet0/0/2 to VLAN 10 as an access interface in the same way.
2.
Configure an observing port.
# Set GigabitEthernet0/0/3 as an observing port.
[Switch]
observing-port 1 interface gigabitethernet 0/0/3
3.
Configure a mirrored VLAN.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
7 Mirroring
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
99