114 Quality of Service
– Policing packets by dropping or re-marking those that exceed the class’s assigned data rate
– Counting the traffic within the class
•
Service –
Assigns a policy to an interface for inbound traffic.
CLI Example
This example shows how a network administrator can provide equal access to the Internet (or other
external network) to different departments within a company. Each of four departments has its own
Class B subnet that is allocated 25% of the available bandwidth on the port accessing the Internet.
Figure 7-3. DiffServ Internet Access Example Network Diagram
Example #1: DiffServ Inbound Configuration
Ensure DiffServ operation is enabled for the switch.
console#config
diffserv
Internet
Port 1/0/5:
Outbound
Layer 3 Switch
Finance
Port 1/0/1
Marketing
Port 1/0/2
Test
Port 1/0/3
Development
Port 1/0/4
Source IP
172.16.10.0
255.255.255.0
Source IP
172.16.20.0
255.255.255.0
Source IP
172.16.30.0
255.255.255.0
Source IP
172.16.40.0
255.255.255.0
Port 1/g1
Port 1/g2
Port 1/g3
Port 1/g4
Port 1/g5