cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2156
Views
0
Helpful
15
Replies

3560 SWITCH QOS CONFIGUrATION HELP

cbemobile
Level 1
Level 1

HI,
I am using a WS-3560-48PS with IPBASEK9-M version 12.2(55)SE6.
Actually :
I have 5 vlan configured with wired LAN
I have a new 100 Mega  internet acces with french provider connected to the switch
Modification :
I need to install Access Point 1832 on our buiding with 5 SSID/VLAN according to the VLAN already configured.
access point will be connected to trunk port.
To share the 100 Mega bandwidth with the VLANs I have to configure the QOS. In would like to shape the bandwidth
I try to use, without success, the following configuration :
VLAN Description and bandwidth allocation :
VLAN 10    192.168.10.0/24    5 Mega
VLAN 20    192.168.20.0/24    5 Mega
VLAN 30    192.168.30.0/24    10 Mega
VLAN 40    192.168.30.0/24    50 Mega
VLAN 50    192.168.50.0/24    5 Mega
 ----------------------------------------------------------------------------------------------------------------
part of Configuration i tried :

access-list 101 permit ip 192.168.10.0 0.0.0.255 any
access-list 102 permit ip 192.168.20.0 0.0.0.255 any
access-list 103 permit ip 192.168.30.0 0.0.0.255 any
access-list 104 permit ip 192.168.40.0 0.0.0.255 any
access-list 105 permit ip 192.168.50.0 0.0.0.255 any
!
!
Class-map match-all ACC_Class
match access-group 101
!
Class-map Match-all RSE_Class
match access-group 102
!
Class-map Match-all IT_Class
match access-group 103
!
Class-map Match-all CUSTO_Class
match access-group 104
!
Class-map Match-all TEST_Class
match access-group 105
!
Policy-map ACC_QoS
class ACC_Class
 class class-default
  police 5000000 8000 exceed-action drop
!
Policy-map RSE_QoS
class RSE_Class
 class class-default
  police 5000000 8000 exceed-action drop
!
Policy-map IT_QoS
class IT_Class
  class class-default
  police 10000000 8000 exceed-action drop
!
Policy-map CUSTO_QoS
class CUSTO_Class
 class class-default
  police 50000000 10000 exceed-action drop
!
Policy-map TEST_QoS
class TEST_Class
 class class-default
  police 5000000 8000 exceed-action drop
!
interface vlan 10
   Service-policy input ACC_QoS
   Service-policy output ACC_QoS
 !
interface vlan 20
   Service-policy input RSE_QoS
   Service-policy output RSE_QoS
!
interface vlan 30
   Service-policy input IT_QoS
   Service-policy output IT_QoS
!
interface vlan 40
   Service-policy input CUSTO_QoS
   Service-policy output CUSTO_QoS
!
interface vlan 50
   Service-policy input TEST_QoS
   Service-policy output TEST_QoS
!
-----------------------------------------------------------------------------------------------------------------------------------------
It doesn't work with my 3560.
The switch doesn't support the input policy and also the shaping.
I would like to shape my qos input/output flow according to the VLAN descrition.
Could you help me

Claude

15 Replies 15

Hi,

I tried the configuration and i get an error message class ACC_TRUNK 

here the hardcopy of the console:

SW3560(config)#class-map match-any ACC_TRUNK
SW3560(config-cmap)# match input-interface FastEthernet0/15
SW3560(config-cmap)# match input-interface FastEthernet0/31
SW3560(config-cmap)# match input-interface FastEthernet0/47
SW3560(config-cmap)# match input-interface GigabitEthernet0/2
SW3560(config-cmap)#ex
SW3560(config)#access-list 101 permit ip 192.168.10.0 0.0.0.255 any
SW3560(config)#policy-map VLAN10_POLICER_CHILD
SW3560(config-pmap)# class ACC_TRUNK
SW3560(config-pmap-c)#  police 5000000 8000 exceed-action drop
SW3560(config-pmap-c)#class-map match-all VLAN_10
SW3560(config-cmap)# match access-group 101
SW3560(config-cmap)#policy-map VLAN10_POLICER_PARENT
SW3560(config-pmap)# class VLAN_10
SW3560(config-pmap-c)#  set ip precedence 1
SW3560(config-pmap-c)# service-policy VLAN10_POLICER_CHILD
SW3560(config-pmap-c)#ex
SW3560(config-pmap)#ex
SW3560(config)#interface Vlan 10
SW3560(config-if)# service-policy input VLAN10_POLICER_PARENT
QoS: class(ACC_TRUNK) Unsupported classification [Vlan10]
Service Policy attachment failed
SW3560(config-if)#