Example For Configuring Policy-Based Routing - Huawei S3700HI Configuration Manual - Qos

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS

1.7.3 Example for Configuring Policy-based Routing

After packet redirection based on complex traffic classification is configured, the S3700 redirects
packets with different IP priorities to different interfaces so that the S3700 provides different
bandwidth services.
Networking Requirements
The Layer 2 switch of a company is connected to the ISP device through the Switch; one is a 1-
Gbit/s link with the gateway as 20.20.20.1/24 and the other is a 10-Gbit/s link with the gateway
as 20.20.30.1/24. The company requires that the 10 Gbit/s links send only the packets with
priorities as 4, 5, 6, and 7 and 1 Gbit/s links send packets of lower priorities to the ISP. See
Figure
Figure 1-3 Policy-based routing networking
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
Issue 01 (2012-03-15)
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 300
#
return
1-3.
GE0/0/1
L2 Switch
Create VLANs and configure interfaces so that the Switch can ping the ISP device.
Create ACL rules to match the packets with priorities as 4, 5, 6, and 7 and priorities as 0,
1, 2, and 3.
Create traffic classifiers to match the preceding ACL rules.
Create traffic behaviors to redirect matching packets to 20.20.20.1/24 and 20.20.30.1/24.
Create a traffic policy, bind traffic classifiers to traffic behaviors in the traffic policy, and
apply the traffic policy to an interface.
VLAN 20 and VLAN 30 that all of GE0/0/1, GE0/0/2 and GE0/0/3 are added to
ACL rules 3001 and 3002
Traffic classifiers c1 and c2
Traffic behaviors b1 and b2
Traffic policy p1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
20.20.20.2/24
GE0/0/2
20.20.20.1/24
GE0/0/3
20.20.30.1/24
Switch
20.20.30.2/24
1 Class-based QoS Configuration
Core
network
Router
45

Advertisement

Table of Contents
loading

Table of Contents