cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2890
Views
0
Helpful
21
Replies

I would like to set a WAN bandwidth limit on Cisco 3750 using VLANs.

yishaky_ub
Level 1
Level 1

here below is the layout....

1. Cisco 3650 is connected to the WAN link (10MB)

2. Cisco 3750 is connected to the Cisco 3650

3. Cisco 2960 is connected to the Cisco 3750

4. Two VLANs - VLAN - 5 and VLAN - 7 is configured on the Cisco 3750. All Vlan - 5 endpoint is connected on Cisco 2960.

So my demand is to set 3MB bandwidth from the WAN link for VLAN - 5 traffic. and the rest 7MB for VLAN -7 traffic

any assistance appreciated ...

21 Replies 21

Hi Paul,

Where do I apply this config? IS it on 3650 or 3750. can I apply it on 3750 as it the one which is connected to the 2960 switch on which the VLAN 7 end points connected.

Regards,

Yishak

Hello

Apply this config on the L3 switch supporting the svi of vlan 5 and 7

res
paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi,

I was applying the following configuration on 3750 to limit the VLAN 7 to 3MB

access-list 10 permit any

class-map match-any Vlan7_cm
match access-group 10
!
!
policy-map Vlan7_pm
class Vlan7_cm
police 3072000 8000 exceed-action drop
!
UB-DR-CR(config)#interface vlan 7
UB-DR-CR(config-if)#service-policy input Vlan7_pm
%QoS: policy-map with police action at parent level not supported on Vlan7 interface.

Any idea?

Hello

I have edited the previous config example, please review it and test again, I think it was due to trying to apply policing directly on the policy map being applied to the SVI, I have labbed the edited config above and it seems to have taken it.

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

Thank you for your response.

I applied the following configuration based on your edited config to limit the VLAN 7 to 3MBS. However it is doesn't limit it. by the way I am interested to limit the download amount. So don't you think that the service policy should be output...any how below is the config i applied on 3750 where the interface VLAN 7 reside. and this switch is connected to 2960 access switch where the vlan 7 endpoints connected.

class-map match-all switchtrunks
match input-interface FastEthernet1/0/24

ip access-list extended abc
permit ip any any

!
class-map match-all Link_3Mbps
match access-group name abc

!
policy-map vlan7_child
class switchtrunks
police 3072000 96000 exceed-action drop


policy-map vlan7_parent
class Link_3Mbps
set dscp af11
service-policy vlan7_child

interface Vlan7
ip address 10.136.7.1 255.255.255.0
service-policy input vlan7_parent


B-DR-CR#show policy-map interface vlan 7
Vlan7

Service-policy input: vlan7_parent

Class-map: Link_3Mbps (match-all)
0 packets, 0 bytes
offered rate 0 bps, drop rate 0 bps
Match: access-group name abc

Service-policy : vlan7_child

Class-map: switchtrunks (match-all)
0 packets, 0 bytes
offered rate 0 bps, drop rate 0 bps
Match: input-interface FastEthernet1/0/24

Class-map: class-default (match-any)
0 packets, 0 bytes
offered rate 0 bps, drop rate 0 bps
Match: any
0 packets, 0 bytes
rate 0 bps

Class-map: class-default (match-any)
0 packets, 0 bytes
offered rate 0 bps, drop rate 0 bps
Match: any
0 packets, 0 bytes
rate 0 bps


!
B-DR-CR#show interfaces summary

*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count

Interface IHQ IQD OHQ OQD RXBS RXPS TXBS TXPS TRTL
------------------------------------------------------------------------
Vlan1 0 0 0 0 0 0 0 0 0
Vlan5 0 0 0 0 0 0 0 0 0
Vlan7 0 0 0 0 0 0 0 0 0
FastEthernet1/0/1 0 0 0 0 4927000 524 292000 375 0
FastEthernet1/0/2 0 0 0 0 0 0 0 0 0
FastEthernet1/0/3 0 0 0 0 0 0 0 0 0
FastEthernet1/0/4 0 0 0 0 0 0 0 0 0
FastEthernet1/0/5 0 0 0 0 0 0 0 0 0
FastEthernet1/0/6 0 0 0 0 0 0 0 0 0
FastEthernet1/0/7 0 0 0 0 0 0 0 0 0
FastEthernet1/0/8 0 0 0 0 0 0 0 0 0
FastEthernet1/0/9 0 0 0 0 0 0 0 0 0
FastEthernet1/0/10 0 0 0 0 0 0 0 0 0
FastEthernet1/0/11 0 0 0 0 0 0 0 0 0
FastEthernet1/0/12 0 0 0 0 0 0 0 0 0
FastEthernet1/0/13 0 0 0 0 0 0 0 0 0
FastEthernet1/0/14 0 0 0 0 0 0 0 0 0
FastEthernet1/0/15 0 0 0 0 0 0 0 0 0
FastEthernet1/0/16 0 0 0 0 0 0 0 0 0
FastEthernet1/0/17 0 0 0 0 0 0 0 0 0
FastEthernet1/0/18 0 0 0 0 0 0 0 0 0
FastEthernet1/0/19 0 0 0 0 0 0 0 0 0
FastEthernet1/0/20 0 0 0 0 0 0 0 0 0
FastEthernet1/0/21 0 0 0 0 0 0 0 0 0
FastEthernet1/0/22 0 0 0 0 0 0 0 0 0
FastEthernet1/0/23 0 0 0 0 0 0 0 0 0
FastEthernet1/0/24 0 0 0 0 300000 375 4944000 526 0
GigabitEthernet1/0/1 0 0 0 0 0 0 0 0 0
GigabitEthernet1/0/2 0 0 0 0 0 0 0 0 0

Hi Paul,

Have you seen my output.

Remain waiting your valuable comment

Hi Paul,

Have you seen my output.

Remain waiting your valuable comment.

 

Regards