Netgear GSM7248v1 GSM7224 Administration manual - Page 93
The following example con s DiffServ on a 7000 Series Managed Switch, Differentiated Services
View all Netgear GSM7248v1 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 93 highlights
NETGEAR 7000 Series Managed Switch Administration Guide Version 6.0 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 department's traffic on a different egress queue. This is how the DiffServ 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 Differentiated Services v1.0, Jan 2007 11-3