Huawei Quidway S3700 Series Configuration Manual page 121

V100r006c00
Hide thumbs Also See for Quidway S3700 Series:
Table of Contents

Advertisement

Quidway S3700 Series Ethernet Switches
Configuration Guide - Device Management
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
6.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Configuration Procedure
1.
2.
3.
4.
Issue 01 (2011-07-15)
Set Ethernet 0/0/24 as an observing port.
Create a traffic classifier and set the traffic classification rule that only the packets with the
802.1p priority as 6 can be matched.
Create a traffic behavior and configure flow mirroring in the traffic behavior.
Create a traffic policy and bind the traffic classifier to the traffic behavior.
Apply the traffic policy to Ethernet 0/0/1 and Ethernet 0/0/5.
Create a VLAN on the Switch. Add Ethernet 0/0/1, Ethernet 0/0/3, and Ethernet 0/0/5 to
the same VLAN in trunk mode.
Name of the traffic classifier: c1
Name of the traffic behavior: b1
Name of the traffic policy: p1
ID of the VLAN created on the Switch: 10
Create a VLAN on the Switch and add interfaces to the VLAN in trunk mode.
# Add Ethernet 0/0/1, Ethernet 0/0/3, and Ethernet 0/0/5 to the same VLAN in trunk mode.
The following takes the configuration of Ethernet 0/0/1 as an example. The configurations
of Ethernet 0/0/3 and Ethernet 0/0/5 are the same as the configuration of Ethernet 0/0/1 and
are not mentioned here.
<Switch> system-view
[Switch] vlan 10
[Switch-vlan10] quit
[Switch] interface ethernet 0/0/1
[Switch-Ethernet0/0/1] port link-type trunk
[Switch-Ethernet0/0/1] port trunk allow-pass vlan 10
[Switch-Ethernet0/0/1] quit
Configure an observing port.
# Set Ethernet 0/0/24 as the observing port.
[Switch] observe-port 1 interface ethernet 0/0/24
# Create a traffic classifier.
# Create traffic classifier c1 and set the traffic classification rule that only the packets with
the 802.1p priority as 6 can be matched.
[Switch] traffic classifier c1
[Switch-classifier-c1] if-match 8021p 6
[Switch-classifier-c1] quit
# Create a traffic behavior.
# Create traffic behavior b1 and configure flow mirroring in the traffic behavior.
[Switch] traffic behavior b1
[Switch-behavior-b1] mirroring to observe-port 1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 Mirroring
111

Advertisement

Table of Contents
loading

Table of Contents