61
Configuration examples
Remarking local precedence configuration example
Network requirements
As shown in Figure 18, configure priority marking on Device to satisfy the following requirements:
Traffic source Destination
Processin
riorit
Host A, B Data server High
Host A, B Mail server Medium
Host A, B File server Low
Figure 18 Network diagram
Configuration procedure
# Create advanced ACL 3000, and configure a rule to match packets with destination IP address
192.168.0.1.
<Device> system-view
[Device] acl number 3000
[Device-acl-adv-3000] rule permit ip destination 192.168.0.1 0
[Device-acl-adv-3000] quit
# Create advanced ACL 3001, and configure a rule to match packets with destination IP address
192.168.0.2.
[Device] acl number 3001
[Device-acl-adv-3001] rule permit ip destination 192.168.0.2 0
[Device-acl-adv-3001] quit
# Create advanced ACL 3002, and configure a rule to match packets with destination IP address
192.168.0.3.
[Device] acl number 3002
[Device-acl-adv-3002] rule permit ip destination 192.168.0.3 0
[Device-acl-adv-3002] quit
# Create a traffic class named classifier_dbserver, and use ACL 3000 as the match criterion in the traffic
class.
Internet
Host A
Host B
Device
Data server
192.168.0.1/24
Mail server
192.168.0.2/24
File server
192.168.0.3/24
XGE1/0/1 XGE1/0/2