Configuring tos-based qos, Enabling tos-based qos, Specifying trust level – Brocade BigIron RX Series Configuration Guide User Manual

Page 564

Advertising
background image

486

BigIron RX Series Configuration Guide

53-1002484-04

Configuring ToS-based QoS

18

To configure a static MAC entry and assign the entry to the premium queue on a device, enter
commands such as the following.

BigIron RX(config)# vlan 9

BigIron RX(config-vlan-9)# static-mac-address 1145.1163.67FF ethernet 1/1

priority 7

Syntax: [no] static-mac-address <mac-addr> ethernet <slot>/<portnum> [priority <num>]

The <num> parameter can be from 0 – 7 and specifies the priority level1 equivalent to one of the
four QoS queues.

Configuring ToS-based QoS

To configure ToS-based QoS, perform the following tasks:

Enable ToS-based QoS on an interface. Once you enable the feature on an individual interface,
you can configure the trust level and marking for traffic that is received on that interface as
described:

Specify the trust level for packets received on the interface.

Enable marking of packets received on the interface.

Enabling ToS-based QoS

To enable ToS-based QoS on an interface, enter the following command at the configuration level
for the interface.

BigIron RX(config-if-e1000-1/1)# qos-tos

Syntax: [no] qos-tos

Specifying trust level

If a packet arrives on the interface with either a COS, DSCP, or COS and DSCP priority level, the
trust level specifies which of these priorities you want to accept. If you disable trust level, the
priority will default to a criteria other than the COS or DSCP priority.

To set the trust level for an interface to dscp, enter the following command at the configuration
level for the interface.

BigIron RX(config-if-e1000-1/1)# qos-tos trust dscp

Syntax: [no] qos-tos trust cos | dscp

The cos | dscp parameter specifies the trust level.

cos – The device uses the 802.1p (CoS) priority value in the packet’s Ethernet frame header to
determine the packet’s internal forwarding priority. This is the default state and is in effect
even Qos-ToS is enabled on a port.

dscp – The device uses the six most-significant bits in the packet’s ToS field and interprets
them as a DSCP value to determine the packet’s internal forwarding priority.

Advertising