Foundry Networks Switch and Router Installation And Configuration Manual page 350

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
9.
Click the Apply button to save the change to the device's running-config file.
10. Select the Save link at the bottom of the dialog, then select Yes when prompted to save the configuration
change to the startup-config file on the device's flash memory.
Assigning IP and Layer 4 Sessions to Priority Queues
You can assign specific traffic flows to queues by configuring IP access policies. IP access policies allow you to
assign flows to priority queues based on any combination of the following criteria:
Source IP address
Destination IP address
Layer 4 type (TCP or UDP)
TCP or UDP port number
You configure IP access policies globally, then apply them to specific ports. QoS policies apply only to outbound
traffic, so you must apply the QoS polices to a port's outbound direction instead of the port's inbound direction.
To configure an IP access policy for assigning a traffic flow to a priority queue, use either of the following methods.
USING THE CLI
The CLI syntax differs between Layer 3 Switches and Layer 2 Switches. Examples and syntax are shown for both
types of devices.
Layer 3 Switch Syntax
To assign a priority of 4 to all HTTP traffic on port 3/12 on a BigIron Layer 3 Switch, enter the following:
BigIron(config)# ip access-policy 1 priority 4 any any tcp eq http
BigIron(config)# int e 3/12
BigIron(config-if-3/12)# ip access-policy-group out 1
Here is the syntax for chassis Layer 3 Switches.
Syntax: [no] ip access-policy <num> priority <0-7> <ip-addr> <ip-mask> | any
<ip-addr> <ip-mask> | any icmp | igmp | igrp | ospf | tcp | udp | <num> [<operator> [<tcp/udp-port-num>]]
Syntax: ip access-policy-group in | out <policy-list>
Here is the syntax for stackable Layer 3 Switches.
Syntax: ip access-policy <num> high | normal <ip-addr> <ip-mask> | any <ip-addr> <ip-mask> | any tcp | udp
[<operator> [<tcp/udp-port-num>]]
Syntax: ip access-policy-group in | out <policy-list>
The <num> parameter is the policy number.
The priority <0-7> parameter on Chassis devices specifies the QoS priority level. The default is 0 (best effort,
qosp0). The highest priority is 7 (premium, qosp3).
The high | normal parameter on Stackable devices specifies the QoS priority level. The default is normal.
The <ip-addr> <ip-mask> | any <ip-addr> <ip-mask> | any parameters specify the source and destination IP
addresses. If you specify a particular IP address, you also need to specify the mask for that address. If you
specify any to apply the policy to all source or destination addresses, you do not need to specify any again for the
mask. Make sure you specify a separate address and mask or any for the source and destination address.
The icmp | igmp | igrp | ospf | tcp | udp | <num> parameter specifies the Layer 4 port to which you are applying
the policy. If you specify tcp or udp, you also can use the optional <operator> and <tcp/udp-port-num>
parameters to fine-tune the policy to apply to specific TCP or UDP ports.
The <operator> parameter applies only if you use the tcp or udp parameter above. Use the <operator>
parameter to specify the comparison condition for the specific TCP or UDP ports. For example, if you are
configuring QoS for HTTP, specify tcp eq http. You can enter one of the following operators:
11 - 18
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents