Here i will show you , how you can configure the bandwidth shaping on vlan .Lets see the process of configuration step by step.
Step-1 = Create the VLAN & Configure the IP address on VLAN.
vlan 100 = 10.10.10.0/24
vlan 200 = 10.10.20.0/24
vlan 300 = 10.10.30.0/24
vlan 400 = 10.10.40.0/24
Step-2=Configure the Access List and match the IP Address.
ip access-list 101 permit ip 10.10.10.0 0.0.0.255 any
ip access-list 101 permit ip 10.10.20.0 0.0.0.255 any
ip access-list 102 permit ip 10.10.30.0 0.0.0.255 any
ip access-list 102 permit ip 10.10.40.0 0.0.0.255 any
Step-3=Configure the class map and match the Access List.
class-map match-any VLAN-100-200
match ip access-group 101
class-map match-any VLAN-300-400
match ip access-group 102
Step-4 Configure the Policy MAP.
Policy-map VLAN-100&200
Class VLAN-100-200
Police 10000000 10000000 conform transmit exceed drop
Policy-map VLAN-300&400
Class VLAN-300-400
Police 20000000 20000000 conform transmit exceed drop
Step-5 = Configure the Trunk port.
int gig2/0/1
description trunk
switchport mode trunk
Switchport trunk allowed vlan 100-400
switchport mode trunk
Switchport trunk allowed vlan 100-400
Step-5 = Apply The Policy MAP on VLAN.
vlan range 100-200
Service-policy input VLAN-100&200
Service-policy output VLAN-100&200
vlan range 300-400
Service-policy input VLAN-300&400
Service-policy output VLAN-300&400
No comments:
Post a Comment