Comware

 View Only
  • 1.  HP 1920 - QoS policy

    Posted Feb 07, 2017 07:57 PM

    Hello,

    I have a QoS policy that applies to all traffic belonging to a particular VLAN ID (VOICE 100).

    The policy applies behavior of dot1p with a value of 6.

    When I tried to apply the polcy to a port(s), a failure was reported advising that an ACL was missing from the policy. So I introduced a catch-all ACL into the traffic classifier and the policy is now being applied correctly.

    My question is - The policy I want to apply is layer 2 and only needs to be classified by VLAN ID, why do I need to have an ACL ?

    Please review the config below and advise if I am doing this correctly.

    Many thanks

     

    #
     version 5.20.99, Release 1114
    #
     sysname HPE
    #
     domain default enable system
    #
     ipv6
    #
     telnet server enable
    #
     ssl version ssl3.0 disable
    #
     mirroring-group 1 local
    #
     password-recovery enable
    #
    acl number 4000
     rule 0 permit
    #
    vlan 1
    #
    vlan 10
     description DATA
    #
    vlan 100
     description VOICE
    #
    domain system
     access-limit disable
     state active
     idle-cut disable
     self-service-url disable
    #
    traffic classifier VOICE_TRAFFIC operator and
     if-match customer-vlan-id 100
     if-match acl 4000
    #
    traffic behavior DOT1P_6
     remark dot1p 6
    #
    qos policy VOICE_POLICY
     classifier VOICE_TRAFFIC behavior DOT1P_6
    #
    user-group system
     group-attribute allow-guest
    #
    local-user admin
     authorization-attribute level 3
     service-type telnet terminal
     service-type web
    #
     stp mode rstp
     stp enable
    #
    interface NULL0
    #
    interface Vlan-interface1
     ip address 192.168.0.2 255.255.255.0
    #
    interface Vlan-interface10
     ip address 192.168.10.1 255.255.255.0
    #
    interface GigabitEthernet1/0/1
     port link-type hybrid
     undo port hybrid vlan 1
     port hybrid vlan 100 tagged
     port hybrid vlan 10 untagged
     port hybrid pvid vlan 10
     port auto-power-down
     poe enable
     stp edged-port enable
     qos apply policy VOICE_POLICY inbound
    #



  • 2.  RE: HP 1920 - QoS policy

    Posted Feb 08, 2017 05:03 AM

    No answer...but at least I can confirm the same happens over here



  • 3.  RE: HP 1920 - QoS policy

    Posted Feb 09, 2017 04:02 AM

    6 is wrong anyway, the correct value is 5.

     



  • 4.  RE: HP 1920 - QoS policy

    Posted Feb 10, 2017 08:32 AM

    5 or 6?     In QoS you can assign priorities yourself,  6 might not confirm to standard....but should work.  (unlike values outside <0...7> range)



  • 5.  RE: HP 1920 - QoS policy

    Posted May 16, 2017 12:44 PM

    I use QoS for DSCF EF on HP v1910 switches


    QoS

    #
    Traffic behavior VOICE
      Filter permit
    Traffic behavior Permit
      Filter permit
    Traffic behavior VOZ_VLAN
      Filter permit
    Deny traffic behavior
      Filter deny
    #
    Qos policy VOICE
      Classifier VOZ behavior VOICE
    Qos policy MAC
      Classifier Permit behavior Permit
      Classifier Deny behavior Deny
    #

    Interface

    #
    Interface GigabitEthernet1 / 0/1
      Undo voice vlan mode auto
      Voice vlan 29 enable
      Stpe edged-port enable
      Qos apply policy VOICE inbound
      Qos trust dscp
    #



  • 6.  RE: HP 1920 - QoS policy

    Posted May 17, 2017 12:42 PM

    That config snippet makes sense at first sight....except the inbound statement.   I'd always apply QoS outbound