NETGEAR 7000 Switch User Manual


 
NETGEAR 7000 Series Managed Switch Administration Guide
Differentiated Services 9-3
v1.1, May 2006
The following example configures DiffServ on a 7000 Series Managed Switch:
Ensure DiffServ operation is enabled for the switch.
(Netgear Switch) #config
(Netgear Switch) (Config)#diffserv
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.
(Netgear Switch) (Config)#class-map match-all finance_dept
(Netgear Switch) (Config class-map)#match srcip 172.16.10.0 255.255.255.0
(Netgear Switch) (Config class-map)#exit
(Netgear Switch) (Config)#class-map match-all marketing_dept
(Netgear Switch) (Config class-map)#match srcip 172.16.20.0 255.255.255.0
(Netgear Switch) (Config class-map)#exit
(Netgear Switch) (Config)#class-map match-all test_dept
(Netgear Switch) (Config class-map)#match srcip 172.16.30.0 255.255.255.0
(Netgear Switch) (Config class-map)#exit
(Netgear Switch) (Config)#class-map match-all development_dept
(Netgear Switch) (Config class-map)#match srcip 172.16.40.0 255.255.255.0
(Netgear Switch) (Config class-map)#exit
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 depart-
ment's traffic on a different egress queue. This is how the Diff-
Serv inbound policy connects to the CoS queue settings established
below.
(Netgear Switch) (Config)#policy-map internet_access in
(Netgear Switch) (Config policy-map)#class finance_dept
(Netgear Switch) (Config policy-class-map)#assign-queue 1
(Netgear Switch) (Config policy-class-map)#exit
(Netgear Switch) (Config policy-map)#class marketing_dept
(Netgear Switch) (Config policy-class-map)#assign-queue 2
(Netgear Switch) (Config policy-class-map)#exit
(Netgear Switch) (Config policy-map)#class test_dept
(Netgear Switch) (Config policy-class-map)#assign-queue 3
(Netgear Switch) (Config policy-class-map)#exit
(Netgear Switch) (Config policy-map)#class development_dept
(Netgear Switch) (Config policy-class-map)#assign-queue 4
(Netgear Switch) (Config policy-class-map)#exit
(Netgear Switch) (Config policy-map)#exit