Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren
Chapter 12. DiffServ
|
195
ProSafe Managed Switch
CLI: Configure DiffServ
1.
Ensure that the DiffServ operation is enabled for the switch.
2.
Create a DiffServ class of type all for each of the departments, and name them. Define the
match criteria of source IP address for the new classes.
match criteria of source IP address for the new classes.
3.
Create a DiffServ policy for inbound traffic named 'internet_access', adding the previously
created department classes as instances within this policy.
created department classes as instances within this policy.
(Netgear Switch) #config
(Netgear Switch) (Config)#diffserv
(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