CBWRED Using DSCP with CBWFQ

来源:互联网 发布:sklearn 知乎 编辑:程序博客网 时间:2024/06/13 03:52

R1(config)#class-map Mission-critical
R1(config-cmap)#match ip dscp af11 af12 af13 cs1
R1(config-cmap)#exit

R1(config)#class-map Bulk
R1(config-cmap)#match ip dscp af11 af12 af13 cs1
R1(config-cmap)#exit

R1(config)#policy-map Policy1

R1(config-pmap)#class Mission-critical

R1(config-pmap-c)#bandwidth percent 30

R1(config-pmap-c)#random-detect dscp-based

R1(config-pmap-c)#random-detect dscp af21 32 40 10

R1(config-pmap-c)#random-detect dscp af22 20 40 10

R1(config-pmap-c)#random-detect dscp af23 24 40 10

R1(config-pmap-c)#random-detect dscp cs2 24 40 10
R1(config-pmap-c)#exit
R1(config-pmap)#class Bulk

R1(config-pmap-c)#bandwidth percent 20

R1(config-pmap-c)#random-detect dscp-based

R1(config-pmap-c)#random-detect dscp af11 32 36 10

R1(config-pmap-c)#random-detect dscp af12 28 36 10

R1(config-pmap-c)#random-detect dscp af13 24 36 10

R1(config-pmap-c)#random-detect dscp cs1 22 36 10
R1(config-pmap-c)#exit
R1(config-pmap)#class class-default
R1(config-pmap-c)#fair-queue
R1(config-pmap-c)#random-detect dscp-based


R1(config)#int f0/0
R1(config-if)#ip add 12.0.0.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#service-policy output Policy1

 

调试信息:

R1#show policy-map int f0/0
FastEthernet0/0

Service-policy output: Policy1

    Class-map: Mission-critical (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: ip dscp cs1 (8) af11 (10) af12 (12) af13 (14)
      Queueing
        Output Queue: Conversation 265
        Bandwidth 30 (%)
        Bandwidth 30000 (kbps)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0
         exponential weight: 9
         mean queue depth: 0

   dscp    Transmitted      Random drop      Tail drop    Minimum Maximum Mark
           pkts/bytes       pkts/bytes       pkts/bytes    thresh thresh prob
   af11       0/0               0/0              0/0           32      40 1/10
   af12       0/0               0/0              0/0           28      40 1/10
   af13       0/0               0/0              0/0           24      40 1/10
   af21       0/0               0/0              0/0           32      40 1/10
   af22       0/0               0/0              0/0           20      40 1/10
   af23       0/0               0/0              0/0           24      40 1/10
   af31       0/0               0/0              0/0           32      40 1/10
   af32       0/0               0/0              0/0           28      40 1/10
   af33       0/0               0/0              0/0           24      40 1/10
   af41       0/0               0/0              0/0           32      40 1/10
   af42       0/0               0/0              0/0           28      40 1/10
   af43       0/0               0/0              0/0           24      40 1/10
    cs1       0/0               0/0              0/0           22      40 1/10
    cs2       0/0               0/0              0/0           24      40 1/10
    cs3       0/0               0/0              0/0           26      40 1/10
    cs4       0/0               0/0              0/0           28      40 1/10
    cs5       0/0               0/0              0/0           30      40 1/10
    cs6       0/0               0/0              0/0           32      40 1/10
    cs7       0/0               0/0              0/0           34      40 1/10
     ef       0/0               0/0              0/0           36      40 1/10
   rsvp       0/0               0/0              0/0           36      40 1/10
default       0/0               0/0              0/0           20      40 1/10


    Class-map: Bulk (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: ip dscp cs1 (8) af11 (10) af12 (12) af13 (14)
      Queueing
        Output Queue: Conversation 266
        Bandwidth 20 (%)
        Bandwidth 20000 (kbps)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0
         exponential weight: 9
         mean queue depth: 0

   dscp    Transmitted      Random drop      Tail drop    Minimum Maximum Mark
           pkts/bytes       pkts/bytes       pkts/bytes    thresh thresh prob
   af11       0/0               0/0              0/0           32      36 1/10
   af12       0/0               0/0              0/0           28      36 1/10
   af13       0/0               0/0              0/0           24      36 1/10
   af21       0/0               0/0              0/0           32      40 1/10
   af22       0/0               0/0              0/0           28      40 1/10
   af23       0/0               0/0              0/0           24      40 1/10
   af31       0/0               0/0              0/0           32      40 1/10
   af32       0/0               0/0              0/0           28      40 1/10
   af33       0/0               0/0              0/0           24      40 1/10
   af41       0/0               0/0              0/0           32      40 1/10
   af42       0/0               0/0              0/0           28      40 1/10
   af43       0/0               0/0              0/0           24      40 1/10
    cs1       0/0               0/0              0/0           22      36 1/10
    cs2       0/0               0/0              0/0           24      40 1/10
    cs3       0/0               0/0              0/0           26      40 1/10
    cs4       0/0               0/0              0/0           28      40 1/10
    cs5       0/0               0/0              0/0           30      40 1/10
    cs6       0/0               0/0              0/0           32      40 1/10
    cs7       0/0               0/0              0/0           34      40 1/10
     ef       0/0               0/0              0/0           36      40 1/10
   rsvp       0/0               0/0              0/0           36      40 1/10
default       0/0               0/0              0/0           20      40 1/10


    Class-map: class-default (match-any)
      21 packets, 2163 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Queueing
        Flow Based Fair Queueing
        Maximum Number of Hashed Queues 256
        (total queued/total drops/no-buffer drops) 0/0/0
         exponential weight: 9

   dscp    Transmitted      Random drop      Tail drop    Minimum Maximum Mark
           pkts/bytes       pkts/bytes       pkts/bytes    thresh thresh prob
   af11       0/0               0/0              0/0           32      40 1/10
   af12       0/0               0/0              0/0           28      40 1/10
   af13       0/0               0/0              0/0           24      40 1/10
   af21       0/0               0/0              0/0           32      40 1/10
   af22       0/0               0/0              0/0           28      40 1/10
   af23       0/0               0/0              0/0           24      40 1/10
   af31       0/0               0/0              0/0           32      40 1/10
   af32       0/0               0/0              0/0           28      40 1/10
   af33       0/0               0/0              0/0           24      40 1/10
   af41       0/0               0/0              0/0           32      40 1/10
   af42       0/0               0/0              0/0           28      40 1/10
   af43       0/0               0/0              0/0           24      40 1/10
    cs1       0/0               0/0              0/0           22      40 1/10
    cs2       0/0               0/0              0/0           24      40 1/10
    cs3       0/0               0/0              0/0           26      40 1/10
    cs4       0/0               0/0              0/0           28      40 1/10
    cs5       0/0               0/0              0/0           30      40 1/10
    cs6       0/0               0/0              0/0           32      40 1/10
    cs7       0/0               0/0              0/0           34      40 1/10
     ef       0/0               0/0              0/0           36      40 1/10
   rsvp       0/0               0/0              0/0           36      40 1/10
default      21/2163            0/0              0/0           20      40 1/10

 

Cisco CCIE Security 2009 IOS防火墙合集

Cisco CCIE Security 2009最新整套视频合集

dada147 2009 ccnp新版交换视频集合

CCIE 路由与交换 CCIE SP 服务提供商
CCIE R&S v4.0 LAB 版本 k1 + k2 + k3 分享 转帖
Cisco PIX 分解实验 三 ACCESS_LIST_TYPT 第一集
wolf 语音视频:cvoice(Cisco Voice Over IP)下部分
wolf 语音视频:cvoice(Cisco Voice Over IP)上部分
思科网院--全新CCNA中文课程(CCNA Discovery 1-4)
ITAA马三友Catalyst 6500交换机架构 视频(三小时+)
广州wolf-CCIE(ISP)学习笔记

2010年WOLF老孟MPLS 40集全集附带LAB实验视频清晰版
彭定学老师共享CCNP V4 Switch1.0第二部分

 

Juniper视频如何购买

CCSP视频下载

Juniper 视频购买

Cisco CCNP+TSHOOT+642-832+中文 高清扫描版

新版 CCNP 学习用书 CCNP SWITCH 642-813

新版 CCNP 学习用书 CCNP ROUTE 642-902

新版 CCNP 学习用书 CCNP TSHOOT 642-832

老余CCVP视频分享第一集

老余CCVP视频分享第二集

信达 郑sir ccnp 视频分享 路由 第一集 TCP/IP

信达 郑sir ccnp 视频分享 路由 第二集 路由基础

Cisco PIX 分解实验 三 virtual_telnet_介绍 第十九集

信达 郑sir ccnp 视频分享 路由 第三集 eigrp1

 

Cisco PIX 分解实验 四 QOS基本功能介绍 第一集

Cisco PIX 分解实验 四 INSPECTION介绍 第二集

博锐教育 CCNA课堂实验全集

文章转载至http://bbs.net527.cn  无忧网客联盟

shop.net527.cn/

无忧网客联盟主站

无忧linux时代

原创粉丝点击