11-ACL and QoS Command Reference

HomeSupportRoutersMSR5600 Series(Comware V7)Reference GuidesCommand ReferencesH3C MSR 5600 Routers Command References(V7)-R0707-6W30111-ACL and QoS Command Reference
03-MPLS QoS commands
Title Size Download
03-MPLS QoS commands 31.64 KB

MPLS QoS commands

if-match mpls-exp

Use if-match mpls-exp to define a criterion to match the EXP field in the first MPLS label.

Use undo if-match mpls-exp to delete the match criterion.

Syntax

if-match [ not ] mpls-exp exp-value&<1-8>

undo if-match [ not ] mpls-exp exp-value&<1-8>

Default

No criterion is defined to match the EXP field in the first MPLS label.

Views

Traffic class view

Predefined user roles

network-admin

Parameters

not: Matches packets not conforming to the specified criterion.

exp-value&<1-8>: Specifies a space-separated list of up to eight EXP values. The value range for the exp-value argument is 0 to 7. If the same EXP value is specified multiple times, the system considers them as one. If a packet matches one of the defined MPLS EXP values, it matches the if-match clause.

Examples

# In traffic behavior database, define a criterion to match packets with EXP value 3 or 4 in the first MPLS label.

<Sysname> system-view

[Sysname] traffic classifier database

[Sysname-classifier-database] if-match mpls-exp 3 4

remark mpls-exp

Use remark mpls-exp to configure an action of marking the EXP value in the first label in a traffic behavior.

Use undo remark mpls-exp to delete the action.

Syntax

remark [ green | red | yellow ] mpls-exp exp-value

undo remark [ green | red | yellow ] mpls-exp

Default

No action of marking the EXP value in the first label is configured in a traffic behavior.

Views

Traffic behavior view

Predefined user roles

network-admin

Parameters

green: Specifies green packets.

red: Specifies red packets.

yellow: Specifies yellow packets.

exp-value: Specifies an EXP value in the range of 0 to 7.

Usage guidelines

This command takes effect only when the QoS policy is applied to the outbound direction.

If you do not specify a color, this command marks the EXP value for packets of all colors.

Examples

# In traffic behavior database, set the EXP value in the first label to 0 for MPLS packets.

<Sysname> system-view

[Sysname] traffic behavior database

[Sysname-behavior-database] remark mpls-exp 0

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网