Classifying Traffic on a Per-Port Per-VLAN Basis by Using Class

From: nikolai (be@tweedlebee.net)
Date: Thu Oct 07 2004 - 02:57:57 GMT-3


I am a bit confused about the functionality & application of this QoS
feature. Cisco says that "It is supported only on an ingress port
configured as a trunk, or as a static-access port", but I can't understand
how would an access port deal with the class with a "match vlan", if it is
receiving only its own VLAN frames. I can, however, see that a trunk port
would benefit from matching VLAN IDs and manipulating them as configured.

Here is the example form Cisco's 3550 config guide:
***************************************************
Switch(config)# class-map match-any dscp_class
Switch(config-cmap)# match ip dscp 9
Switch(config-cmap)# exit

Switch(config)# class-map match-all vlan_class
Switch(config-cmap)# match vlan 10 20-30 40
Switch(config-cmap)# match class-map dscp_class
Switch(config-cmap)# exit

Switch(config)# policy-map policymap2
Switch(config-pmap)# class vlan_class
Switch(config-pmap-c)# police 80000 8000 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit

Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input policymap2
**************************************************
Thanks,

Nikolai Tsankov
niko@4ovek.com



This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:44 GMT-3