ProSafe M4100 and M7100 Managed Switches

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.

(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

2.Create classes class_vlan and class_color.

Note: DiffServ service is enabled by default.

(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

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

Chapter 12. DiffServ 237

Page 237
Image 237
NETGEAR M4100, M7100 manual CLI Configure a Color Conform Policy, Create classes classvlan and classcolor