分享
 
 
 

构建新一代QOS设计与配置(4)

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

五、WAN Qos配置与远程办公室Qos配置

在路由器上使用模块化QOS命令行(MQC,12.2T),配置分为三部分:

class-map:对流量分类

policy-map:对每类流量分配queue,priority要害字表示使用LLQ。

server-policy:将policy-map绑定到接口上。

1、Policy-map配置

class-map match-all VOICE

match ip dscp ef

class-map match-all VIDEO

match ip dscp af41

class-map match-all VOICE-CONTROL

match ip dscp af31

class-map match-any GOLD-DATA

match ip dscp af21

match ip dscp af22

match ip dscp af23

class-map match-any SILVER-DATA

match ip dscp af11

match ip dscp af12

match ip dscp af13

!

policy-map WAN-EDGE

class VOICE

priority percent 17

class VIDEO

priority percent 16 30000

class VOICE-CONTROL

bandwidth percent 2

class GOLD-DATA

bandwidth percent 25

random-detect dscp-based

class SILVER-DATA

bandwidth percent 15

random-detect dscp-based

class class-default

fair-queue

random-detect dscp-based

random-detect dscp-based

random-detect dscp 0 96 128 10

random-detect dscp 2 70 128 10

random-detect dscp 4 58 128 10

random-detect dscp 6 44 128 10

2、PPP配置

interface Multilink 40

bandwidth 4096

ip address 10.200.40.1 255.255.255.252

service-policy output WAN-EDGE

ppp multilink

multilink-group 40

interface Serial1/0

description Link E1-A to BRANCH#40

bandwidth 2048

no ip address

encapsulation ppp

ppp multilink

multilink-group 40

interface Serial1/1

description Link E1-B to BRANCH#40

bandwidth 4096

no ip address

encapsulation ppp

ppp multilink

multilink-group 40

3、FR配置:

interface Serial0/1

description Parent FR Link

no ip address

encapsulation frame-relay

!

interface Serial0/1.50 point-to-point

description FR Link to BRANCH#50

bandwidth 3000

ip address 10.200.50.1 255.255.255.252

frame-relay interface-dlci 211

class REMOTE-BRANCH-3000kbps

map-class frame-relay REMOTE-BRANCH-3000kbps

frame-relay cir 3000000

frame-relay bc 30000

frame-relay be 0

frame-relay mincir 3000000

no frame-relay adaptive-shaping

service-policy output WAN-EDGE

4、ATM配置

interface ATM4/0

bandwidth 3000

no ip address

no atm ilmi-keepalive

!

interface ATM4/0.60 point-to-point

bandwidth 3000

ip address 10.210.60.1 255.255.255.252

pvc BRANCH#60 0/60

vbr-nrt 3000 3000

tx-ring-limit 3

service-policy output WAN-EDGE

5、远程分支办公室配置

ip cef

!

class-map match-all VOICE

match ip dscp ef

class-map match-all VIDEO

match ip dscp af41

class-map match-all VOICE-CONTROL

match ip dscp af31

class-map match-any GOLD-DATA

match ip dscp af21

match ip dscp af22

match ip dscp af23

class-map match-any SILVER-DATA

match ip dscp af11

match ip dscp af12

match ip dscp af13

class-map match-all SAP

match Access-group 100

class-map match-all SQLNET

match protocol sqlnet

class-map match-all CITRIX

match protocol citrix

class-map match-any EMAIL

match protocol pop3

match protocol imap

match protocol smtp

class-map match-all TELNET

match protocol telnet

class-map match-all RCMD

match protocol rcmd

class-map match-all FTP

match protocol ftp

class-map match-all BACKUPS

match access-group 101

class-map match-any P2P

match protocol napster

match protocol fasttrack

!

policy-map WAN-EDGE

class VOICE

priority percent 17

class VIDEO

priority percent 16 30000

class VOICE-CONTROL

bandwidth percent 2

class GOLD-DATA

bandwidth percent 25

random-detect dscp-based

class SILVER-DATA

bandwidth percent 15

random-detect dscp-based

class class-default

fair-queue

random-detect dscp-based

random-detect dscp-based

random-detect dscp 0 96 128 10

random-detect dscp 2 70 128 10

random-detect dscp 4 58 128 10

random-detect dscp 6 44 128 10

!

policy-map REMOTE-LAN-EDGE-OUT

class VOICE

set cos 5

class VOICE-CONTROL

set cos 3

class VIDEO

set cos 4

class GOLD-DATA

set cos 2

class SILVER-DATA

set cos 1

class class-default

set cos 0

!

policy-map REMOTE-LAN-EDGE-IN

class SAP

set ip dscp af21

class SQLNET

set ip dscp af22

class CITRIX

set ip dscp af23

class EMAIL

set ip dscp af11

class TELNET

set ip dscp af12

class RCMD

set ip dscp af13

class FTP

set ip dscp 2

class BACKUPS

set ip dscp 4

class P2P

set ip dscp 6

!

!

interface FastEthernet0/0

description CAT3500 REMOTE-BRANCH ACCESS-SWITCH

no ip address

load-interval 30

speed auto

duplex auto

!

interface FastEthernet0/0.50

description NATIVE SUBNET 10.1.50.0 DATA

encapsulation dot1Q 50

ip address 10.1.50.1 255.255.255.0

service-policy output REMOTE-LAN-EDGE

service-policy input REMOTE-LAN-EDGE-IN

!

!

interface FastEthernet0/0.150

description NATIVE SUBNET 10.1.150.0 VOICE

encapsulation dot1Q 150

ip address 10.1.150.1 255.255.255.0

service-policy output REMOTE-LAN-EDGE

interface Multilink1

bandwidth 4096

ip address 10.200.40.2 255.255.255.252

service-policy output WAN-EDGE

ppp multilink

multilink-group 1

!

interface Serial1/0

bandwidth 2048

no ip address

encapsulation ppp

ppp multilink

multilink-group 1

!interface Serial1/1

bandwidth 2048

no ip address

encapsulation ppp

ppp multilink

multilink-group 1

access-list 100 permit tcp any any eq 3200

access-list 101 permit tcp any host 10.1.100.100

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有