Translate from cisco commands to Huawei commands---QOS Domain Highlighted

Latest reply: Dec 29, 2018 13:41:43 205 1 5 0
Cisco   Commands Huawei Commands
mls qos map   cos-dscp 0 8 16 24 32 40 46 56#
    diffserv domain default
     ip-dscp-outbound af1 green map   8
     ip-dscp-outbound af2 green map   2
     ip-dscp-outbound af3 green map   24
     ip-dscp-outbound af4 green map   32
     ip-dscp-outbound be green map   0
     ip-dscp-outbound ef green map 40
     ip-dscp-outbound cs6 gr
random-detectdrop-profile drop-profile-name
conform-action   transmitqos car inbound cir cir-value green pass
exceed-action   transmitqos car inbound cir cir-value yellow pass
fair-queuequeue wfq
match   direction ingresstraffic-policy policy-name [global] inbound
match ip   precedence ip-precedence-valueif-match   ip-precedence ip-precedence-value
mls qos map   cos-dscp dscp1 dscp2 dscp3 dscp4 dscp5 dscp6 dscp7 dscp8ip-dscp-outbound service-class color map dscp-value
priority   percent percentagequeue ef bandwidth   pct percentage
random-detectdrop-profile drop-profile-name
    wred { dscp | ip-precedence }
router(config-cmap)#match   [not] class-map class1-name[router-classifier]if-match   [not] classifier class1-name
router(config-if)#rate-limit   {input | output} {bps |   access-group acl-index   | [rate-limit] rate-limit-acl-index] |
    dscp dscp-value |   qos-group qos-group-number} burst-normal burst-max   conform-action
    conform-action   exceed-action exceed-action
[router-serial1/0/0]qos   car { cir cir-value [pir pir-value] } [ cbs cbs-value pbs pbs-value ] [ green { discard | pass   [ service-class class   color color ] } |   yellow { discard | pass [ service-class class color color ] } | red { discard | pass [ service-class class color color]}]* {inbound | outbound} [   vlan { vlan-id1 [to vlan-id2 ] &<1-10> }]
router(config-pmap-c)#random-detect   {discard-class-based|dscp-based |precedence-based}[router]port-wred wred-name
    [router-wred]{ green | yellow | red } low-limit 20 high-limit  50 discard-percentage
90
    and !!!!
    [router-ether1/0/0]port-queue cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage-value } | port-wred wred-name } outbound
router(config-pmap-c)#set   [ip] precedence ip-precedence[router-behavior]remark   ip-precedence ip-precedence
router(config-pmap-c)#shape   {average| peak} units  [burst-size] [burst-units][router-ether1/0/0]port   shaping shaping-value
router(config-pmap-c)#shape   {average| peak} units  [burst-size] [burst-units][router-ether1/0/0]port-queue   cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage shaping-percentage-value } |   port-wred wred-name } *   outbound
router(config-pmap)#bandwidth   {bandwidth-kbps | remaining percent percentage | percent percentage}[router-ether1/0/0]port-queue   cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value |   shaping-percentage shaping-percentage-value } | port-wred wred-name }   outbound
router(config-pmap)#priority   {bandwidth-kbps | percent percentage} [burst][router-ether1/0/0]port-queue   cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value |   shaping-percentage shaping-percentage-value } | port-wred wred-name} outbound
router(config-pmap)#random-detect   discard-class value min-threshold max-threshold mark-prob-denominator[router]port-wred wred-name
    [router-wred]{ green | yellow | red } low-limit 20 high-limit  50 discard-percentage
90
    and !!!!
    [router-ether1/0/0]port-queue cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage-value } | port-wred wred-name } outbound
router(config-pmap)#random-detect   dscp dscpvalue min-threshold max-threshold [mark-probability-denominator][router]port-wred wred-name
    [router-wred]{ green | yellow | red } low-limit 20 high-limit  50 discard-percentage
90
    and !!!!
    [router-ether1/0/0]port-queue cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage-value } | port-wred wred-name } outbound
router(config-pmap)#random-detect   exponential-weighting-constant exponent[router]port-wred wred-name
    [router-wred]{ green | yellow | red } low-limit 20 high-limit  50 discard-percentage
90
    and !!!!
    [router-ether1/0/0]port-queue cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage-value } | port-wred wred-name } outbound
router(config-pmap)#random-detect   precedence {precedence | rsvp} min-threshold max-threshold
    mark-prob-denominator
[router]port-wred wred-name
    [router-wred]{ green | yellow | red } low-limit 20 high-limit  50 discard-percentage
90
    and !!!!
    [router-ether1/0/0]port-queue cos-value { { pq | wfq weight weight-value | lpq} | shaping { shaping-value | shaping-percentage-value } | port-wred wred-name } outbound
service-policy   policy-nametraffic-policy policy-name
set ip dscp dscp-nameremark dscp dscp-name
router(config-if)#rate-limit   {input | output} {bps | access-group acl-index | [rate-limit] rate-limit-acl-index] |
    dscp dscp-value |   qos-group qos-group-number} burst-normal burst-max conform-action
    conform-action   exceed-action exceed-action
[router]qos car car-name cir cir-value [ cbs cbs-value [ pbs pbs-value ] | pir pir-value [ cbs cbs-value pbs pbs-value ] ]
    [router-ether1/0/0]qos car inbound car-name
router(config-if)#rate-limit   {input | output} {bps | access-group acl-index | [rate-limit] rate-limit-acl-index] |
    dscp dscp-value |   qos-group qos-group-number} burst-normal burst-max conform-action
    conform-action   exceed-action exceed-action
[Quidway] traffic   classifier classifier-name   operator and
    [Quidway-classifier-c1] if-match any
    [Quidway] traffic behavior
behavior-name
    [Quidway-behavior-b1] car cir cir-value pir pir-value green pass yellow pass red discard
    [Quidway] traffic policy
policy-name
    [Quidway-trafficpolicy-p1] class
class-map   {match-any|match-all} classifier-nametraffic classifier classifier-name operator {or|and}
vlan   access-map name [ number ]traffic classifier classifier-name
   
    traffic behavior
behavior-name
   
    traffic policy
policy-name
   
    classifier classifier-name behavior behavior-name
match   access-group access-list-numberif-match acl access-list-number
match ip   address access-list-numberif-match acl access-list-number
match mac   address nameif-match acl access-list-number
router(config-cmap)#match   [not] access-group acl-number[router-classifier]if-match  [not] acl acl-number
match   access-group name acl-nameif-match acl acl-name
router(config-cmap)#match   [not] access-group name acl-name    (extended)[router-classifier]if-match  [not] acl acl-name
router(config-cmap)#match   [not] access-group name acl-name   (standard)[router-classifier]if-match  [not] acl acl-name
match   input-interface interface-type   interface-numberif-match   inbound-interface interface-type   interface-number
router(config-cmap)#match   [not] input-interface interface-type interface-number[router-classifier]if-match   [not] inbound-interface interface-type interface-number
match cos 8021p-valueif-match 8021p 8021p-value
router(config-cmap)#match   [not] cos  8021p-value[router-classifier]if-match  [not] 8021p 8021p-value
match   precedence ip-precedence-valueif-match   ip-precedence ip-precedence-value
router(config-cmap)#match   [not] precedence  ip-precedence-value[router-classifier]if-match   [not] ip-precedence ip-precedence-value
match dscp dscp-valueif-match dscp dscp-value
router(config-cmap)#match   [not] dscp  dscp-value[router-classifier]if-match  [not] dscp dscp-value
match dscp   mpls experimental topmost exp-valueif-match mpls-exp exp-value
router(config-cmap)#match   [not] mpls experimental topmost  exp-value[router-classifier]if-match  [not] mpls-exp exp-value
match anyif-match any
router(config-cmap)#match   [not] any[router-classifier]if-match   [not] any
vlan   access-map behavior-name
    action {drop|forward}
traffic behavior behavior-name
    {deny|permit}
mls qos cos 3#
    traffic behavior
behavior-name
     remark local-precedence af3
    #
action   {drop|forward}{deny|permit}
router(config-pmap-c)#police   {cir cir} [bc conform-burst] {pir pir} [be peak-burst] [conform-action action
    [exceed-action action   [violate-action action]]]
car cir cir-value [ pir pir-value ] [ cbs cbs-value pbs pbs-value ] [ mode { color-blind |   color-aware } ] [ green { discard | pass [ service-class class color color ] } | yellow { discard | pass   [ service-class class   color color ] } | red {   discard | pass [ service-class class color color ] } ]*
router(config-pmap-c)#police   bps [burst-normal] [burst-max]   conform-action action   exceed-action action
    [violate-action action]
car cir cir-value [ pir pir-value ] [ cbs cbs-value pbs pbs-value ] [ mode { color-blind |   color-aware } ] [ green { discard | pass [ service-class class color color ] } | yellow { discard | pass   [ service-class class   color color ] } | red {   discard | pass [ service-class class color color ] } ]*
router(config-pmap-c)#police   cir percent percent [bc conform-burst-in-msec] [pir percent percent][be peak-burst-in-msec]car cir cir-value [ pir pir-value ] [ cbs cbs-value pbs pbs-value ] [ mode { color-blind |   color-aware } ] [ green { discard | pass [ service-class class color color ] } | yellow { discard | pass   [ service-class class   color color ] } | red {   discard | pass [ service-class class color color ] } ]*
router(config-pmap-c)#set  [ip] dscp    dscp-value[router-behavior]remark   dscp dscp-value
router(config-pmap-c)#set   cos 8021p-value[router-behavior]remark   8021p 8021p-value
router(config-pmap-c)#set   mpls experimental {imposition| topmost} exp-value[router-behavior]remark   mpls-exp exp-value
set cos 8021p-valueremark 8021p 8021p-value
set dscp {dscp-name | dscp-value }remark dscp {dscp-name | dscp-value }
police cir-valuecar cir value
set [ip]   precedence ip-precedence-valueremark ip-precedence ip-precedence-value
bandwidth bandwidthqueue af bandwidth bandwidth
bandwidth   percent percentagequeue af bandwidth   pct percentage
priority bandwidth-kbpsqueue ef bandwidth bandwidth-kbps
shape average   cir-valuegts cir cir-value
shape average   percent percentagegts cir bandwidth*percentage%
router(config-pmap-c)#police   rate {value [units] | percent percentage} [burst burst-size [burst-units]][peak-rate value [units]] [peak-burst peak-burst [burst-units]]car cir cir-value [ pir pir-value ] [ cbs cbs-value pbs pbs-value ] [ mode { color-blind |   color-aware } ] [ green { discard | pass [ service-class class color color ] } | yellow { discard | pass   [ service-class class   color color ] } | red {   discard | pass [ service-class class color color ] } ]*
class class-nametraffic behavior behavior-name
   
    classifier classfier-name behavior behavior-name
vlan filter access-map-name vlan-list vlan-idvlan vlan-id
    traffic-policy policy-name inbound
router(config-if)#service-policy   input  policy-nametraffic-policy policy-name inbound
router(config-if)#service-policy   output policy-nametraffic-policy policy-name outbound
service-policy   { inbound | outbound } policy-nametraffic-policy policy-name { inbound | outbound }
mls qos trust   {cos|dscp|ip-precedence}trust   {8021p|dscp|ip-precedence}
ip   access-group acl-name intraffic-filter   inbound acl acl-name
ip   access-group acl-number intraffic-filter   inbound acl acl-number
router(config-if)#rate-limit   {input | output} {bps | access-group acl-index | [rate-limit] rate-limit-acl-index] |
    dscp dscp-value |   qos-group qos-group-number} burst-normal burst-max conform-action
    onform-action   exceed-action exceed-action
qos car { inbound |   outbound } cir cir-value [ pir   pir-value ] [ cbs cbs-value pbs pbs-value ] [ green { discard | pass   [ remark-8021p 8021p-value | remark-dscp dscp-value | remark-mpls-exp exp-value ] } ] [ yellow { discard | pass [ remark-8021p 8021p-value]}]
bandwidth bandwidthqos gts cir cir-value
ip   access-group {access-list-number|name} intraffic-filter   inbound acl {access-list-number|name name}
ip   access-group {access-list-number|name} outtraffic-filter   outbound acl {access-list-number|name name}
mac   access-group acl-name intraffic-filter   inbound acl name acl-name
match ip   address acl-number *if-match acl acl-number

  • x
  • convention:

Finn92 Created Dec 29, 2018 13:41:43 Helpful(0) Helpful(0)

good article , it's for translating configuration for QoS , learnt .
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top