华为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为例)
热门推荐
春季野钓鲫鱼,钓位应该怎么选?地形跟着气温变
为什么 C 语言被广泛应用于嵌入式系统开发
库仑散射(量子)
假期饮食太油腻?这些清肠胃的食物修复你的美
“水花消失术”背后到底有什么秘密?入水姿势物理分析
二楼下水道反水由谁负责?一文详解责任归属与解决方案
孕妇洗澡水温40度合适吗
墨水屏优劣势详细解析
摄影作品集制作指南:从技术到创意的全方位提升
【后亚冬效应】谁说公交站只能等车?哈尔滨:这届首末站变身 “续航补给站”
初中数学教师高效制作试卷技巧探析
跳水观赛必备!“水花消失术”原理一看就会→
过碳酸钠清洁完整攻略:15个居家除臭漂白实用技巧【2025更新】
韩国vs约旦:亚洲足球强队之争
如何安全切割钢化玻璃?这种切割方法有哪些潜在风险?
提升内容质量的实用技巧与策略
江苏省哪个行业和地区工资最高?江苏省各行业和地区平均工资排名
把握幼儿体能发展黄金期,专家教你1-3岁幼儿大肌肉游戏
什么是让球
春季养生,中医教你科学保肝
农村围栏设计指南:5种围栏类型及10种绿篱植物推荐
把越南河粉打造成为全球美食象征
虚拟机ESXi防火墙关闭指南:三种实用方法详解
没有网络,照样联机!十五款SWITCH本地多人同屏游戏推荐
弹力带多少磅合适 弹力带如何选择
院里能种海棠花吗?千年庭院里的种植密码
毕业生就业协议书有哪些用
降息降准对楼市的影响及应对措施
如何科学除甲醛?掌握“通风六法”,半年实现安全入住
为什么物理里很多分析都用哈密顿量来分析?