beautypg.com

Configuration example – H3C Technologies H3C S3100 Series Switches User Manual

Page 597

background image

1-18

Table 1-15 Mark the priority for packets that are of a VLAN and match specific ACL rules

Operation

Command

Description

Enter system view

system-view

Mark the priorities for
packets matching specific
ACL rules

traffic-priority vlan vlan-id inbound
acl-rule { dscp dscp-value | cos
cos-value | local-precedence
pre-value }*

Required

Table 1-16 Mark the priority for packets that are of a port group and match specific ACL rules

Operation

Command

Description

Enter system view

system-view

Enter port group view

port-group group-id

Mark the priorities for
packets matching specific
ACL rules

traffic-priority inbound acl-rule { dscp
dscp-value
| cos cos-value |
local-precedence pre-value }*

Required

Table 1-17 Mark the priority for packets passing a port and matching specific ACL rules

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Mark the priorities for
packets matching specific
ACL rules

traffic-priority inbound acl-rule { dscp
dscp-value
| cos cos-value | local-precedence
pre-value }*

Required

The priority marking function configured on a VLAN is only applicable to packets tagged with 802.1Q

header.

Configuration example

z

Ethernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.0/24 network segment.

z

Mark the DSCP precedence as 56 for the packets from the 10.1.1.0/24 network segment.

1) Method

I

system-view

[Sysname] acl number 2000

[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255

[Sysname-acl-basic-2000] quit

[Sysname] interface Ethernet1/0/1

[Sysname-Ethernet1/0/1] traffic-priority inbound ip-group 2000 dscp 56

2) Method

II

system-view