Netgear GSM7252PS 7000 Series Managed Switch Administration Guide for Software - Page 246
CLI: Configuring a Color Conform Policy, Create a policy
UPC - 606449071665
View all Netgear GSM7252PS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 246 highlights
ProSafe 7000 Managed Switch Software Administration Manual, Release 8.0.3 CLI: Configuring a Color Conform Policy Create a VLAN 5 and configure port 1/0/13 and 1/0/25 as its member. (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 Create a class 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 Create a policy to police the traffic to a rate of 1000 kbps with an allowed burst size of 64KB. Furthermore, the packets with IP precedence value of 7 will be colored green that means these packets will be last packets to be dropped in the event of congestion beyond the policed rate. (Netgear Switch) (Config)#policy-map policy_vlan in (Netgear Switch) (Config-policy-map)#class class_vlan (Netgear Switch) (Config-policy-classmap)#police-simple 1000 64 conform-action transmit violate-action drop (Netgear Switch) (Config-policy-classmap)#conform-color class_color (Netgear Switch) (Config-policy-classmap)#exit (Netgear Switch) (Config-policy-map)#exit Differentiated Services v1.0, June 2010 11-42