HP HSR6800 Command Reference Manual page 45

Acl and qos
Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

You can configure multiple VLAN IDs in one command line. If the same VLAN ID is specified
multiple times, the system considers them as one. If a packet matches one of the defined VLAN
IDs, it matches the if-match clause.
To delete a criterion that matches VLAN IDs, the specified VLAN IDs in the command must be
identical with those defined in the criterion (the sequence can be different).
On SAP modules operating in route mode, you can apply a QoS policy that is configured with the any
of the following match criteria by using the if-match command, but the QoS policy does not take effect:
customer-vlan-id
service-dot1p
service-vlan-id
Examples
# Define a criterion to match any packets other than IP packets.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match not protocol ip
# Define a match criterion for class class1 to match the packets with their destination MAC addresses
being 0050-ba27-bed3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define a match criterion for class class2 to match the packets with their source MAC addresses being
0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2
# Define a match criterion for class class1 to match the packets with their customer network 802.1p
priority values being 3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-dot1p 3
# Define a match criterion for class class1 to match the packets with their service provider network
802.1p priority values being 5.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match service-dot1p 5
# Define a match criterion for class class1 to match the advanced ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 3101
# Define a match criterion for class class1 to match the ACL named flow.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl name flow
# Define a match criterion for class class1 to match the advanced IPv6 ACL 3101.
39

Advertisement

Table of Contents
loading

Table of Contents