久久久久无码精品,四川省少妇一级毛片,老老熟妇xxxxhd,人妻无码少妇一区二区

思科認(rèn)證QOS配置案例

時(shí)間:2024-10-02 08:40:20 思科認(rèn)證 我要投稿
  • 相關(guān)推薦

思科認(rèn)證QOS配置案例

  思科認(rèn)證QOS怎么配置?下面yjbys小編為大家?guī)淼氖亲钚耤iscoQOS配置案例,希望對(duì)大家學(xué)習(xí)有所幫助!

  典型QoS配置案例

  一般的QoS配置不外乎四個(gè)步驟:

  1,設(shè)置ACL匹配應(yīng)用流量;

  2,設(shè)置class-map匹配相應(yīng)ACL或者相應(yīng)端口等等,不過一般式匹配ACL;

  3,設(shè)置policy-map匹配class-map,然后定一規(guī)則動(dòng)作;

  4,將policy-map綁定到相應(yīng)的接口上。下面使用一個(gè)比較典型的案例來說明QoS的配置步驟:需求:路徑帶寬為622Mbps,四種應(yīng)用流量,需要保證如下幾點(diǎn):

  流量1,某一具體應(yīng)用流量,永遠(yuǎn)優(yōu)先傳輸,最小帶寬保證為365Mbps;

  流量2,某一具體應(yīng)用流量,次優(yōu)先傳輸,最小帶寬保證為200Mbps;

  流量3,此為業(yè)務(wù)流量,保證在1和2后的其余帶寬下傳輸即可;

  流量4,某一具體應(yīng)用流量,保證在123流量外的帶寬下傳輸即可。具體配置如下:

  第一步,定義ACL匹配應(yīng)用流量:

  ip access-list extended tra1_acl

  permit tcp 1.1.1.0 0.0.0.255 1.1.2.0 0.0.0.255 eq 8818

  ip access-list extended tra2_acl

  permit tcp 1.1.3.0 0.0.0.255 1.1.4.0 0.0.0.255 eq 901

  ip access-list extended tra4_acl

  permit ip 1.1.5.0 0.0.0.255 1.1.6.0 0.0.0.255

  第二步,定義class-map匹配相關(guān)ACL:

  class-map match-all tra1_cmap

  match access-group name tra1_acl

  class-map match-all tra2_cmap

  match access-group name tra2_acl

  class-map match-all tra4_cmap

  match access-group name tra4_acl

  第三步,定義policy-map:

  policy-map tra_pmap

  class tra1_cmap

  set precedence 5

  plicy cir 365000000 bc 8500000 be 13500000 conform-action transmit exceed-action set-prec-transmit 3 violate-action set-prec-transmit 2

  bandwitch 365000

  class tra2_cmap

  set precedence 4

  policy cir 200000000 bc 10000000 be 13000000 conform-action transmit exceed-action set-prec-transmit 3 violate-action set-prec-transmit 2 bandwidth 200000

  class tra4_cmap

  set precedence 1

  class class-default

  set precedence 2

  第四步,綁定policy-map于相應(yīng)的接口:

  int pos1/0/0

  service-policy output tra_pmap

  至此,配置完畢。通過命令查看policy-map的匹配情況:

  switch-a#sh policy-map interface pos1/0/0

  POS1/0/0 Service-policy output: tra_map Class-map: tra1_cmap (match-all)

  66639423781 packets, 74849682635166 bytes

  30 second offered rate 260369000 bps, drop rate 0 bps //匹配此class-map的流量速率

  Match: access-group name tra1_acl

  Queueing

  queue limit 91250 (packets)

  (queue depth/total drops/no-buffer drops) 0/0/0

  (pkts queued/bytes queued) 66639405294/74849695040832

  QoS Set

  ip precedence 5

  Packets marked 66639423781

  police:

  cir 365000000 bps, bc 8500000 bytes, be 13500000 bytes //注意cir、bc和be的單位

  conformed 66191701966 packets, 74341131469597 bytes; action: transmit

  exceeded 218369922 packets, 232627302399 bytes; action: set-prec-transmit 4

  violated 229208950 packets, 275718927918 bytes; action: set-prec-transmit 3

  conformed 256761000 bps, exceed 1656000 bps, violate 1939000 bps //每個(gè)action的流量速率,注意這三個(gè)值總和應(yīng)該大致等于上面的總速率;

  bandwidth 365000 kbps Class-map: tra2_cmap (match-all)

  11315788699 packets, 7283900643868 bytes

  30 second offered rate 10753000 bps, drop rate 0 bps

  Match: access-group tra2_acl

  Queueing

  queue limit 50000 (packets)

  (queue depth/total drops/no-buffer drops) 1/0/0

  (pkts queued/bytes queued) 11315783713/7283897663316

  QoS Set

  ip precedence 4

  Packets marked 11315788699

  police:

  cir 200000000 bps, bc 10000000 bytes, be 13000000 bytes

  conformed 11315784826 packets, 7283898283723 bytes; action: transmit

  exceeded 0 packets, 0 bytes; action: set-prec-transmit 3

  violated 0 packets, 0 bytes; action: set-prec-transmit 2

  conformed 10753000 bps, exceed 0 bps, violate 0 bps

  bandwidth 200000 kbps Class-map: tra4_cmap (match-all)

  1751296887 packets, 2633425803184 bytes

  30 second offered rate 149000 bps, drop rate 0 bps

  Match: access-group name tra4_acl

  QoS Set

  ip precedence 1

  Packets marked 1751296887 Class-map: class-default (match-any)

  22956539608 packets, 17721898306471 bytes

  30 second offered rate 196094000 bps, drop rate 528000 bps

  Match: any

  queue limit 14250 (packets)

  (queue depth/total drops/no-buffer drops) 0/9004701/0

  (pkts queued/bytes queued) 24700897941/20350618920708

  QoS Set

  ip precedence 2

  Packets marked 22958504481

  switch-a#必要命令解釋:

  plicy cir 365000000 bc 8500000 be 13500000 conform-action transmit exceed-action set-prec-transmit 3 violate-action set-prec-transmit 2

  cir為承諾的帶寬速率,即需要保證的帶寬速率,單位為bps;

  bc為普通突發(fā),單位為bytes;

  be為最高突發(fā),單位為bytes;

  set-prec-transmit,表示設(shè)置IP優(yōu)先級(jí)并轉(zhuǎn)發(fā)數(shù)據(jù)包;

  上面整體命令解釋為:承諾帶寬365Mbps,普通突發(fā)為8.5Mbytes,最高突發(fā)為13.5Mbytes。當(dāng)速率小于450Mbps(365+85)是轉(zhuǎn)發(fā)數(shù)據(jù)包,當(dāng)超過450Mbps小于500Mbps(365+135)是重寫IP優(yōu)先級(jí)為3并轉(zhuǎn)發(fā)數(shù)據(jù)包,當(dāng)超過500Mbps是重寫IP優(yōu)先級(jí)為2并轉(zhuǎn)發(fā)數(shù)據(jù)包。

【思科認(rèn)證QOS配置案例】相關(guān)文章:

思科認(rèn)證級(jí)別01-12

思科認(rèn)證的含金量11-24

思科認(rèn)證流程01-12

思科認(rèn)證方向07-14

思科認(rèn)證分類01-11

思科認(rèn)證介紹06-17

思科認(rèn)證詳解和思科未來05-22

思科認(rèn)證輔導(dǎo):交換機(jī)配置和電腦開機(jī)自檢06-24

思科認(rèn)證CCNA認(rèn)證考試簡(jiǎn)介06-08

H3C認(rèn)證GRE典型配置案例12-28