Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support Administration of the Avaya G350 Media Gateway - Avaya Support

downloads.avaya.com
from downloads.avaya.com More from this publisher
13.07.2015 Views

Configuring policy●●●CoS — the operation sets the Ethernet IEEE 802.1p CoS field in the packet to the valuelisted in this columnDSCP — the operation sets the DSCP field in the packet to the value listed in this columnTrust — determines how to treat packets that have been tagged by the originator or othernetwork devices. If the composite operation is set to Trust-DSCP, the packet’s CoS tag isset to 0 before the QoS list rules and DSCP map are executed. If the composite operationis set to CoSX, the DSCP map is ignored, but the QoS list rules are executed on theEthernet IEEE 802.1p CoS field. (For example, the composite operation CoS3 changesthe CoS field to 3). If the composite operation is set to Trust-DSCP-CoS, the operationuses the great of the CoS or the DSCP value. If the composite operation is set to NoChange, the operation makes no change to the packet’s QoS tags.Configuring composite operationsYou can configure additional composite operations for QoS lists. You can also edit compositeoperations that you configured. You cannot edit pre-configured composite operations.Note:Note: You cannot configure additional composite operations for access control lists,since all possible composite operations are pre-configured.To create or edit a composite operation:1. Enter the context of a QoS list.2. Type the composite-operation command, followed by an index number. The numbermust be 12 or higher, since numbers 1 through 11 are assigned to pre-configured lists.3. Use one or more of the following commands to set the parameters of the compositeoperation:- dscp — determines the value to which the rule resets the packet’s DSCP field. To ignorethe DSCP field, use the argument no change, or use the command no dscp.- cos — determines the value to which the rule resets the packet’s CoS field. To ignore theCoS field, use the argument no change, or use the command no cos.4. Use the name command, followed by a text string, to assign a name to the compositeoperation. You must assign a name to the composite operation, because when you attachthe composite operation to a rule, you use the name, not the index number, to identify thecomposite operation.268 Administration of the Avaya G350 Media Gateway

DSCP tableComposite operation exampleThe following commands create a new composite operation called dscp5 and assign the newcomposite operation to rule 3 in QoS list 402. If the packet matches a rule, the G350 changesthe value of the DSCP field in the packet to 5.G350-001# ip qos-list 402G350-001(QoS 402)# composite-operation 12G350-001(QoS 402/cot 12)# name dscp5Done!G350-001(QoS 402/cot 12)# dscp 5Done!G350-001(QoS 402/cot 12)# cos no-changeDone!G350-001(QoS 402/cot 12)# exitG350-001(QoS 402)# ip-rule 3G350-001(QoS 402/rule 3)# composite-operation dscp5Done!DSCP tableEach QoS list includes a DSCP table. A DSCP lists each possible DSCP value, from 0 to 63.For each value, the list specifies a composite operation. See Pre-configured compositeoperations for QoS lists on page 267.QoS rules on the list take precedence over the DSCP table. If a QoS rule other than the defaultmatches the packet, the G350 does not apply the DSCP table to the packet. The G350 appliesonly the operation specified in the QoS rule.To change an entry in the DSCP table:1. Enter the context of a QoS list.2. Type the command dscp-table, followed by the number of the DSCP value for which youwant to change its composite operation.3. Type the command composite-operation, followed by the name of the compositeoperation you want to execute for packets with the specified DSCP value.The following commands specify the pre-configured composite operation CoS5 for DSCP tableentry 33 in QoS list 401. Every packet with DSCP equal to 33 is assigned CoS priority 5.G350-001# ip qos-list 401G350-001(QoS 401)# dscp-table 33G350-001(QoS 401/dscp 33)# composite-operation CoS5Done!Issue 3 January 2005 269

DSCP tableComposite operation exampleThe following commands create a new composite operation called dscp5 and assign <strong>the</strong> newcomposite operation to rule 3 in QoS list 402. If <strong>the</strong> packet matches a rule, <strong>the</strong> <strong>G350</strong> changes<strong>the</strong> value <strong>of</strong> <strong>the</strong> DSCP field in <strong>the</strong> packet to 5.<strong>G350</strong>-001# ip qos-list 402<strong>G350</strong>-001(QoS 402)# composite-operation 12<strong>G350</strong>-001(QoS 402/cot 12)# name dscp5Done!<strong>G350</strong>-001(QoS 402/cot 12)# dscp 5Done!<strong>G350</strong>-001(QoS 402/cot 12)# cos no-changeDone!<strong>G350</strong>-001(QoS 402/cot 12)# exit<strong>G350</strong>-001(QoS 402)# ip-rule 3<strong>G350</strong>-001(QoS 402/rule 3)# composite-operation dscp5Done!DSCP tableEach QoS list includes a DSCP table. A DSCP lists each possible DSCP value, from 0 to 63.For each value, <strong>the</strong> list specifies a composite operation. See Pre-configured compositeoperations for QoS lists on page 267.QoS rules on <strong>the</strong> list take precedence over <strong>the</strong> DSCP table. If a QoS rule o<strong>the</strong>r than <strong>the</strong> defaultmatches <strong>the</strong> packet, <strong>the</strong> <strong>G350</strong> does not apply <strong>the</strong> DSCP table to <strong>the</strong> packet. The <strong>G350</strong> appliesonly <strong>the</strong> operation specified in <strong>the</strong> QoS rule.To change an entry in <strong>the</strong> DSCP table:1. Enter <strong>the</strong> context <strong>of</strong> a QoS list.2. Type <strong>the</strong> command dscp-table, followed by <strong>the</strong> number <strong>of</strong> <strong>the</strong> DSCP value for which youwant to change its composite operation.3. Type <strong>the</strong> command composite-operation, followed by <strong>the</strong> name <strong>of</strong> <strong>the</strong> compositeoperation you want to execute for packets with <strong>the</strong> specified DSCP value.The following commands specify <strong>the</strong> pre-configured composite operation CoS5 for DSCP tableentry 33 in QoS list 401. Every packet with DSCP equal to 33 is assigned CoS priority 5.<strong>G350</strong>-001# ip qos-list 401<strong>G350</strong>-001(QoS 401)# dscp-table 33<strong>G350</strong>-001(QoS 401/dscp 33)# composite-operation CoS5Done!Issue 3 January 2005 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!