Defining CoS Code-Point Aliases (CLI Procedure)
You can use code-point aliases to streamline the process of configuring CoS features on
your EX Series switch. A code-point alias assigns a name to a pattern of code-point bits.
You can use this name instead of the bit pattern when you configure other CoS
components such as classifiers, drop-profile maps, and rewrite rules.
You can configure code-point aliases for the following CoS marker types:
•
DSCP—Handles incoming IPv4 packets.
•
IEEE 802.1p—Handles Layer 2 CoS.
•
Inet precedence—Handles incoming IPv4 packets. IP precedence mapping requires
only the higher order three bits of the DSCP field.
To configure a code-point alias for a specified CoS marker type (
dscp
), assign an alias
(
my1
) to the code-point (
110001
):
[edit class-of-service code-point-aliases]
user@switch#
set
dscp
my1 110001
Related
Documentation
Defining CoS Code-Point Aliases (J-Web Procedure) on page 3202
•
•
Example: Configuring CoS on EX Series Switches on page 3173
•
Monitoring CoS Value Aliases on page 3233
•
Understanding CoS Code-Point Aliases on page 3150
Defining CoS Classifiers (CLI Procedure)
Packet classification associates incoming packets with a particular CoS servicing level.
Classifiers associate packets with a forwarding class and loss priority and assign packets
to output queues based on the associated forwarding class. Junos OS supports two
general types of classifiers:
•
Behavior aggregate or CoS value traffic classifiers—Examines the CoS value in the
packet header. The value in this single field determines the CoS settings applied to the
packet. BA classifiers allow you to set the forwarding class and loss priority of a packet
based on the Differentiated Services code point (DSCP) value, IP precedence value,
orIEEE 802.1p value.
•
Multifield traffic classifiers—Examines multiple fields in the packet such as source and
destination addresses and source and destination port numbers of the packet. With
multifield classifiers, you set the forwarding class and loss priority of a packet based
on firewall filter rules.
The following example describes how to configure a BA classifier
ba-classifier
as the
default DSCP map and apply it to either a specific Gigabit Ethernet interface or to all the
Gigabit Ethernet interfaces on the switch. The BA classifier assigns loss priorities, as
shown in Table 414 on page 3205, to incoming packets in the four forwarding classes.
Copyright © 2010, Juniper Networks, Inc.
3204
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...