–
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.
Source IP
172.16.10.0
255.255.255.0
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
114
Quality of Service
Layer 3 Switch
Port 1/g1
Port 1/0/1
Port 1/g2
Port 1/0/2
Finance
Marketing
Source IP
172.16.20.0
255.255.255.0
Internet
Port 1/g5
Port 1/0/5:
Outbound
Port 1/g4
Port 1/0/4
Port 1/g3
Port 1/0/3
Test
Source IP
172.16.30.0
255.255.255.0
Development
Source IP
172.16.40.0
255.255.255.0