beautypg.com

Network diagram, Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual

Page 758

background image

1-28

Network diagram

Figure 1-10 Network diagram for priority marking and queue scheduling configuration

PC 3

PC 2

PC 1

Switch

Eth1/0/1

Server 1

192.168.0.1

PC 6

Eth1/0/2

Server 2

192.168.0.2

Server 3

192.168.0.3

PC 5

PC 4

Eth1/0/3

Configuration procedure

1) Define an ACL for traffic classification

# Create ACL 3000 and enter advanced ACL view.

system-view

[Sysname] acl number 3000

# Define ACL rules for identifying packets based on destination IP addresses.

[Sysname-acl-adv-3000] rule 0 permit ip destination 192.168.0.1 0

[Sysname-acl-adv-3000] rule 1 permit ip destination 192.168.0.2 0

[Sysname-acl-adv-3000] rule 2 permit ip destination 192.168.0.3 0

[Sysname-acl-adv-3000] quit

2) Configure priority marking

# Mark priority for packets received through Ethernet 1/0/2 and matching ACL 3000.

[Sysname] interface Ethernet1/0/2

[Sysname-Ethernet1/0/2] traffic-priority inbound ip-group 3000 rule 0 local-precedence 4

[Sysname-Ethernet1/0/2] traffic-priority inbound ip-group 3000 rule 1 local-precedence 3

[Sysname-Ethernet1/0/2] traffic-priority inbound ip-group 3000 rule 2 local-precedence 2

[Sysname-Ethernet1/0/2] quit

3) Configure queue scheduling

# Apply SP queue scheduling algorithm.

[Sysname] queue-scheduler strict-priority

This manual is related to the following products: