No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
traffic-remark (AP wired port profile view)

traffic-remark (AP wired port profile view)

Function

The traffic-remark command configures ACL-based priority re-marking on an AP's wired interface.

The undo traffic-remark command cancels the ACL-based priority re-marking configuration on an AP's wired interface.

By default, ACL-based priority re-marking is not configured on an AP's wired interface.

Format

traffic-remark { inbound | outbound } { ipv4 | ipv6 | l2 } acl { acl-number | name acl-name } { dot1p dot1p-value | dscp dscp-value }

undo traffic-remark { inbound | outbound } { ipv4 | ipv6 | l2 } acl { acl-number | name acl-name }

traffic-remark { inbound | outbound } ipv4 acl { acl-number | name acl-name } l2 acl { acl-number | name acl-name } { dot1p dot1p-value | dscp dscp-value }

undo traffic-remark { inbound | outbound } ipv4 acl { acl-number | name acl-name } l2 acl { acl-number | name acl-name }

Parameters

Parameter

Description

Value

inbound

Configures ACL-based priority re-marking in the inbound direction.

-

outbound

Configures ACL-based priority re-marking in the outbound direction.

-

ipv4

Configures priority re-marking for IPv4 packets.

-

ipv6

Configures priority re-marking for IPv6 packets.

-

l2

Configures priority re-marking for Layer 2 packets.

-

acl acl-number

Specifies the number of an ACL.

The value is an integer that ranges from 3000 to 3031 for IPv4 ACLs and IPv6 ACLs, and from 4000 to 4031 for Layer 2 ACLs.
  • 3000 to 3031: advanced ACLs
  • 4000 to 4031: Layer 2 ACLs

name acl-name

Re-marks packet priorities based on a specified named ACL. acl-name indicates an ACL name.

The value is a string of 1 to 32 case-sensitive characters without spaces and must begin with a letter.

The value range of acl-number corresponding to acl-name is 3000 to 3031 and 4000 to 4031.

dot1p dot1p-value

Re-marks the 802.1p priority of packets.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

dscp dscp-value

Re-marks the DSCP priorities of packets.

The value is an integer that ranges from 0 to 63. A larger value indicates a higher priority.

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The user wants to re-mark packet priorities based on ACLs to provide differentiated services. The traffic-remark command can be used to configure ACL-based priority re-marking.

Prerequisites

An ACL rule has been created before this command is run.

Precautions

The traffic-remark command can reference a numbered ACL rule that is not configured. You can configure the referenced ACL rule after running this command.

You can only configure a maximum of eight ACL-based packet re-marking rules in the same direction. The sequence in which ACL rules takes effect follows the rule configuration sequence. To change the current packet re-marking rules, delete all the related configurations and reconfigure the ACL-based packet re-marking.

When the traffic-remark command and the traffic-filter (AP wired port profile view) command are used simultaneously and the same ACL rule is associated:

  • If the deny action is configured in the ACL rule, the traffic-remark command does not take effect.
  • If the permit action is configured in the ACL rule, the command that is executed first takes effect.

Example

# Configure the wired interface GE0 of ap-group1 and configure ACL-based 802.1p priority re-marking for IPv4 packets in the inbound direction.

<HUAWEI> system-view
[HUAWEI] acl 3000
[HUAWEI-acl-adv-3000] rule 5 permit ip source 192.168.0.2 0
[HUAWEI-acl-adv-3000] quit
[HUAWEI] wlan
[HUAWEI-wlan-view] wired-port-profile name wired
[HUAWEI-wlan-wired-port-wired] traffic-remark inbound ipv4 acl 3000 dot1p 7
[HUAWEI-wlan-wired-port-wired] quit
[HUAWEI-wlan-view] ap-group name ap-group1
[HUAWEI-wlan-ap-group-ap-group1] wired-port-profile wired gigabitethernet 0
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 124745

Downloads: 88

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next