华为ENSP-QOS服务质量实验配置
创作时间:
作者:
@小白创作中心
华为ENSP-QOS服务质量实验配置
引用
CSDN
1.
https://blog.csdn.net/m0_61979535/article/details/140205547
本文详细介绍了华为ENSP(Enterprise Network Simulation Platform)中的QoS(Quality of Service)服务质量实验配置。通过具体的实验拓扑、步骤和配置命令,展示了如何实现流分类、流量监管、拥塞避免、拥塞管理和流量整形等功能。对于网络工程技术人员和对QoS配置感兴趣的读者具有较高的参考价值。
一、实验拓扑
二、实验步骤
- 配置基本的IGP互联。
- 接入设备上配置流分类,将不同的业务流量区分开。
- 入方向配置流量监管。
- 出方向配置拥塞避免、拥塞管理和流量整形。
三、实验具体配置
1. SW1
vlan batch 10 20 30 100
interface Vlanif10
ip address 192.168.10.254 255.255.255.0
interface Vlanif20
ip address 192.168.20.254 255.255.255.0
interface Vlanif30
ip address 192.168.30.254 255.255.255.0
interface Vlanif100
ip address 10.10.100.1 255.255.255.252
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100
interface GigabitEthernet0/0/3
port link-type access
port default vlan 10
interface GigabitEthernet0/0/4
port link-type access
port default vlan 20
interface GigabitEthernet0/0/5
port link-type access
port default vlan 30
ospf 10 router-id 10.10.10.10
import-route direct
area 0.0.0.1
network 10.10.100.0 0.0.0.3
**配置流分类:**
acl number 3001
rule 5 permit ip source 192.168.10.0 0.0.0.255
acl number 3002
rule 5 permit ip source 192.168.20.0 0.0.0.255
acl number 3003
rule 5 permit ip source 192.168.30.0 0.0.0.255
traffic classifier data
if-match acl 3003
traffic classifier video
if-match acl 3002
traffic classifier voice
if-match acl 3001
traffic behavior data
remark 8021p 4
traffic behavior video
remark 8021p 5
traffic behavior voice
remark 8021p 6
traffic policy data
classifier data behavior data
traffic policy video
classifier video behavior video
traffic policy voice
classifier voice behavior voice
interface GigabitEthernet0/0/3
traffic-policy voice inbound
interface GigabitEthernet0/0/4
traffic-policy video inbound
interface GigabitEthernet0/0/5
traffic-policy data inbound
2. SW2
vlan batch 100 200
interface Vlanif100
ip address 10.10.100.2 255.255.255.252
interface Vlanif200
ip address 10.10.200.2 255.255.255.252
interface GigabitEthernet0/0/1
port link-type access
port default vlan 200
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100
ospf 10 router-id 20.20.20.20
area 0.0.0.0
network 10.10.200.0 0.0.0.3
area 0.0.0.1
network 10.10.100.0 0.0.0.3
**流量监管:**
traffic classifier tc1
if-match any
traffic behavior tb1
car cir 100000 pir 300000 cbs 12500000 pbs 37500000
traffic policy tp1
classifier tc1 behavior tb1
interface GigabitEthernet0/0/2
traffic-policy tp1 inbound
**拥塞避免:**
diffserv domain dd1
8021p-inbound 4 phb ef red
8021p-inbound 5 phb ef yellow
8021p-inbound 6 phb ef green
drop-profile wred1
color green low-limit 80 high-limit 100 discard-percentage 80
color yellow low-limit 70 high-limit 80 discard-percentage 90
color red low-limit 50 high-limit 70 discard-percentage 100
interface GigabitEthernet0/0/1
qos queue 4 wred wred1
qos queue 5 wred wred1
qos queue 6 wred wred1
**拥塞管理:**
interface GigabitEthernet0/0/1
qos pq
**流量整形:**
interface GigabitEthernet0/0/1
qos queue 4 shaping cir 100000 pir 100000 cbs 150000 pbs 150000
qos queue 5 shaping cir 200000 pir 200000 cbs 250000 pbs 250000
qos queue 6 shaping cir 100000 pir 200000 cbs 400000 pbs 800000
3. AR1
interface GigabitEthernet0/0/1
ip address 10.10.200.1 255.255.255.252
interface LoopBack10
ip address 1.1.1.1 255.255.255.255
ospf 10 router-id 1.1.1.1
import-route direct
area 0.0.0.0
network 10.10.200.0 0.0.0.3
**接口限速:**
interface GigabitEthernet0/0/1
qos lr pct 95
四、配置检查
- 检查流策略的应用记录(以SW1为例)
- 检查接口上应用的流策略(以SW1的g0/0/3接口为例)
- 检查DS域(以SW2为例)
- 检查接口下的QoS配置信息(display qos configuration,以SW2的g0/0/1为例)
热门推荐
5种颜色食物提升专注力和学习能力 彩虹饮食法促进SEN儿童健康与发展
煤气灶不打火,别太慌,可以按这5种方法来处置,分分钟就排障
考研备战攻略:如何减轻学习压力,轻松备考
实验室常用干燥剂及其特性详解
入户门材质有哪些
深度分析:2024杭州中考,地表最强44所初中出炉!
金条和金首饰的区别:从纯度、价格到用途的全面解析
如何分析生猪期货的价格波动?这些波动对相关行业有什么影响?
海口以教育提质为全面育人“加码”
挪威首相访华“带货”三文鱼,挪威海产如何占领全球市场?
《文明7》二柄全球首发评测:亲手书写自己的文明史
阿比西尼亚猫的饲养指南:从喂养到训练的全方位护理
曹丕与曹叡托孤司马懿:背后的考量与必然
南酸枣:一种多功能的南方特色植物
《张黑女墓志》高清修复字帖—碑刻放大版367字全(繁简释文并注音)
校友会发布2024湖州市大学排名:湖州师范学院居首
长期居住证明怎么开?办理指南及范本详解
十天干解读之壬水
核心高管离职、监事不为业绩"背书",众泰汽车重整两年多后业绩再受疑
柳州2天自驾游去哪里好玩:精选行程推荐
足弓锻炼多久能看到效果
如何有效查询美国公司营业额:全面指南
染发有害伤身体?安全染发的关键其实就 3 个
一帆风顺——探讨植物开花的时间和频率(了解开花规律,让植物生长更健康)
经济师是干什么:十大专业职业全景与发展指南
执法人员态度恶劣的应对策略与建议
如何理解医保费用的计算方式?医保费用计算过程中有哪些关键因素?
喝2L水,尿几次算正常?排尿大揭秘!
“非常方便!”在北京坐地铁可以刷境外银行卡了
真空包装机在食品行业的应用:保鲜与延长保质期