QoS with VLAN

Figure 12-4 LAN/QoS Serial Scenario

 

 

 

 

 

 

 

IP Routing Table

 

 

2

1.2.3.0/24 F1.1

 

 

3.3.3.0/24 Serial 1

 

 

 

 

VLAN 1200

9.9.9.0/24 Serial 1 (Static)

 

 

 

 

IP 1.2.3.4/24

Serial 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ethernet

 

VLAN Tag

IP: 9.9.9.1

 

F1.1

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Priority

 

CFI

VLAN: 1200

 

 

 

 

 

 

 

 

 

Incoming VLAN tagged frame

 

 

IP 3.2.3.4/24

PPPIP: 9.9.9.1

Outgoing Serial frame

Class Map: matchCos5To7 match cos 5 6 7

Policy Map: setDscp class matchCos5To7 set ip dscp 46

Serial 1

service-policy output setDscp

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

2

IP Routing Table

1.2.3.0/24 F1.1

 

3.3.3.0/24 Serial 1

 

9.9.9.0/24 F1.1 (static)

 

 

IP 3.2.3.4/24

F1.1

1

 

ppp encap

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PPP

IP: 9.9.9.1

 

 

Serial 1

 

 

 

 

 

 

 

 

 

Incoming Serial frame

 

 

 

VLAN 1200

IP 1.2.3.4/24

Ethernet VLAN Tag IP: 9.9.9.1

3

Priority:4 CFI VLAN: 1200

Outgoing VLAN tagged frame

Class Map: matchDscp match ip dscp 46

Policy Map: setCos4 class matchDscp set cos 4

FastEthernet 1.1 service-policy output setCos4

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>

12-16 Configuring Quality of Service

Page 298
Image 298
Enterasys Networks X-PeditionTM manual QoS with Vlan Configuration Process, LAN/QoS Serial Scenario