CLI Example
149
22 Differentiated Services
2. Create a DiffServ class of type “all” for each of the departments, and name them. Define
the match criteria -- Source IP address -- for the new classes.
class-map match-all finance_dept
match srcip 172.16.10.0 255.255.255.0
exit
class-map match-all marketing_dept
match srcip 172.16.20.0 255.255.255.0
exit
class-map match-all test_dept
match srcip 172.16.30.0 255.255.255.0
exit
class-map match-all development_dept
match srcip 172.16.40.0 255.255.255.0
exit
3. Create a DiffServ policy for inbound traffic named 'internet_access', adding the previously
created department classes as instances within this policy.
This policy uses the assign-queue attribute to put each department's traffic on a different
egress queue. This is how the DiffServ inbound policy connects to the CoS queue settings
established below.
policy-map internet_access in
class finance_dept
assign-queue 1
exit
class marketing_dept
assign-queue 2
exit
class test_dept
assign-queue 3
exit
class development_dept
assign-queue 4
exit
exit
4. Attach the defined policy to interfaces 0/1 through 0/4 in the inbound direction
interface 0/1
service-policy in internet_access
exit
interface 0/2
service-policy in internet_access
exit
interface 0/3
service-policy in internet_access
exit
interface 0/4
service-policy in internet_access
exit
5. Set the CoS queue configuration for the (presumed) egress interface 0/5 such that each of
queues 1, 2, 3 and 4 get a minimum guaranteed bandwidth of 25%. All queues for this
interface use weighted round robin scheduling by default. The DiffServ inbound policy
designates that these queues are to be used for the departmental traffic through the assign-
Summary of Contents for UNIFIED WIRED & WIRELESS ACCESS SYSTEM...
Page 2: ...2 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 12: ...12 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 14: ...14 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 32: ...32 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 40: ...40 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 44: ...44 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 56: ...56 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 66: ...66 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 84: ...84 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 90: ...90 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 103: ...Web Examples 103 15 Access Control Lists ACLs Figure 57 Attach IP ACL to an Interface ...
Page 110: ...110 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 123: ...Web Examples 123 18 Port Security Figure 70 Port Security Violation Status ...
Page 124: ...124 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 129: ...RADIUS Configuration Examples 129 19 RADIUS Figure 73 Configuring the RADIUS Server ...
Page 137: ...TACACS Configuration Example 137 20 TACACS Figure 82 Set the User Login TACACS ...
Page 138: ...138 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 146: ...146 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 176: ...176 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...
Page 184: ...184 2001 2011 D Link Corporation All Rights Reserved Configuration Guide ...