3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1788 CHAPTER 108: DEFINING CLASS COMMANDS
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 3101
# Define a class to match the ACL named flow.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl name flow
# Define a class to match IPV6 ACL 3101.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match ipv6 acl 3101
# Define a class to match the IPv6 ACL named flow.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match ipv6 acl name flow
# Define matching rule for all packets.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match any
# Define match rule of class2 and class1 must be used. Therefore, class1 is
configured first. The match rule of class1 is the IP precedence is 5.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match ip-precedence 5
# Define the packet whose class is class2, match rule is class1 and destination
MAC address is 0050-BA27-BED3.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match classifier class1
[Sysname-classifier-class2] if-match destination-mac 0050-BA27-BED3
# Define the match rule of class1 as matching the packets with the DSCP value as
1, 6 or 9.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match dscp 1 6 9
# Define that the class matches the packets entering from Ethernet1/0.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match inbound-interface Ethernet1/0