Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren

Seite von 542
228
   
|    
Chapter 12.  DiffServ 
 
ProSafe Managed Switch 
Color Conform Policy
This example shows how to create a policy to police the traffic to a committed rate. The 
packets with IP precedence value of 7 are colored green to ensure that these packets are the 
last to be dropped when there is congestion. The example is shown as CLI commands and 
as a Web interface procedure.
CLI: Configure a Color Conform Policy 
1. 
Create a VLAN 5 and configure ports 1/0/13 and 1/0/25 as its members.
2. 
Create classes class_vlan and class_color.
Note:  
DiffServ service is enabled by default.
3. 
Create a policy to police the traffic to a rate of 1000 kbps with an allowed burst size of  
64 KB. Furthermore, the packets with IP precedence value of 7 will be colored green. That 
(Netgear Switch) #vlan database 
(Netgear Switch) (Vlan)#vlan 5
(Netgear Switch) (Vlan)#exit
(Netgear Switch) #config
(Netgear Switch) (Config)#interface 1/0/13
(Netgear Switch) (Interface 1/0/13)#vlan participation include 5
(Netgear Switch) (Interface 1/0/13)#vlan tagging 5
(Netgear Switch) (Interface 1/0/13)#exit
(Netgear Switch) (Config)#interface 1/0/25
(Netgear Switch) (Interface 1/0/25)#vlan participation include 5
(Netgear Switch) (Interface 1/0/25)#vlan tagging 5
(Netgear Switch) (Interface 1/0/25)#exit
(Netgear Switch) (Config)#class-map match-all class_vlan
(Netgear Switch) (Config-classmap)#match vlan 5 
(Netgear Switch) (Config-classmap)#exit
(Netgear Switch) (Config)#class-map match-all class_color
(Netgear Switch) (Config-classmap)#match ip precedence 7
(Netgear Switch) (Config-classmap)#exit