- Enterasys Security Router User's Guide

QoS with VLAN
12-16 Configuring Quality of Service
Figure 12-4 LAN/QoS Serial Scenario
Non-VLAN IP Packet Routed Out a Fast/GigabitEthernet Interface
In this scenario, shown in Figure 12-5, the policy map setCos4 is applied to the output interface
FastEthernet 1.1. Since the input IP DSCP was 46 it will match the class matchDscp. The output
VLAN frame will be marked with a priority of 4.
Figure 12-5 Non-VLAN Packet Scenario
QoS with VLAN Configuration Process
Follow the steps below to configure the XSR for QoS with VLAN routing.
1. Configure a sub-interface.
interface <Interface name> <slot/card/number>
2. Stipulate a VLAN ID on the sub-interface.
vlan <number>
3. Specify an IP address on a sub-interface.
ip address <IP address> <mask>
4. Add a traffic class.
class-map <match-all | match-any> <class-map name>
5. Match the IEEE 802.1 priority in the input VLAN header.
match cos <0 - 7>
1
2
3
Incoming VLAN tagged frame
F1.1
VLAN 1200
IP 1.2.3.4/24
Ethernet VLAN Tag IP: 9.9.9.1
Priority CFI VLAN: 1200
IP 3.2.3.4/24
Serial 1
IP Routing Table
1.2.3.0/24 F1.1
3.3.3.0/24 Serial 1
9.9.9.0/24 Serial 1 (Static)
Outgoing Serial frame
PPP IP: 9.9.9.1
Class Map: matchCos5To7
match cos 5 6 7
Policy Map: setDscp
class matchCos5To7
set ip dscp 46
Serial 1
service-policy output setDscp
1
2
3
Incoming Serial frame
Serial 1
IP 3.2.3.4/24
PPP
IP: 9.9.9.1
IP 1.2.3.4/24
F1.1
IP Routing Table
1.2.3.0/24 F1.1
9.9.9.0/24 F1.1 (static)
Outgoing VLAN tagged frame
Ethernet VLAN Tag IP: 9.9.9.1
3.3.3.0/24 Serial 1
VLAN 1200
Priority:4 CFI VLAN: 1200
ppp encap
Class Map: matchDscp
match ip dscp 46
Policy Map: setCos4
class matchDscp
set cos 4
FastEthernet 1.1
service-policy output setCos4