Example For Configuring Traffic Statistics Based On Complex Traffic Classification - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - QoS
1.7.4 Example for Configuring Traffic Statistics Based on Complex
Traffic Classification
Networking Requirements
PC1 with the MAC address as 0000-0000-0003 is connected to other devices through GE 2/0/1
on the S9300. It is required that the S9300 should take the statistics on the packets with the
source MAC address as 0000-0000-0003. See
Figure 1-4 Networking diagram for configuring traffic statistics based on complex traffic
classification
MAC:0000-0000-0003
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
Data Preparation
To complete the configuration, you need the following data:
Issue 03 (2009-08-20)
#
interface Vlanif20
ip address 20.20.20.2 255.255.255.0
#
interface Vlanif30
ip address 20.20.30.2 255.255.255.0
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 30
#
interface GigabitEthernet3/0/1
port link-type trunk
port trunk allow-pass vlan 20 30
traffic-policy p1 inbound
#
interface GigabitEthernet3/0/2
port link-type trunk
port trunk allow-pass 20
#
return
GE 2/0/1
PC1
S9300
Configure interfaces so that the S9300 is connected to PC1 and the router.
Create an ACL to match the packets with the source MAC address as 0000-0000-0003.
Create a traffic classifier to match the ACL.
Create a traffic behavior to take the statistics on the matching packets.
Create a traffic policy, bind the traffic classifier to the traffic behavior in the traffic policy,
and apply the traffic policy to GE 2/0/1 in the inbound direction.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Figure
GE 3/0/1
Core
network
Router
1 Class-based QoS Configuration
1-4.
1-35

Advertisement

Table of Contents
loading

Table of Contents