We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

which one will fit Policy map / Class map or Traffic shaping?

paintco
paintco asked
on
Medium Priority
556 Views
Last Modified: 2012-05-07
the situation is I want to implement traffic regulation mechanism over MPLS network
there are two sites (site A, Site B)each with two different subnets (site A (VLAN-1, VLAN-2), Site B(VLAN-10, VLAN-20)) VLAN-1 communicates only with VLAN-10 and VLAN-2 cmmunicates only with VLAN-20.the bandwidth available for WAN is 30 MB
I want to limit the communication between VLAN-1 and VLAN-10 to not exceed 2 MB
I want to show that there is no communication between the local VLANs within the site(No inter vlan routing)

so which mechanism shall I follow:
Generic Traffic Shaping
OR Class-Based Shaping
OR Distributed Class-Based Shaping
OR Committed Access Rate
OR Class-Based Policing

And please provide me with the proper configuration
the platform in use are 3800 and 2800

Thanks in advance
######## Router-A ########
RTR-A#sh run
!
interface GigabitEthernet0/0.1
 description #GOING TO VLAN-1#
 encapsulation dot1Q 1
 ip address 10.1.1.1 255.255.255.0
 ip access-group 101 in
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/0.2
 description #GOING TO VLAN-2#
 encapsulation dot1Q 2
 ip address 10.2.2.1 255.255.255.0
 ip access-group 102 in 
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/1
 description CONNECT TO MPLS
 ip address 50.50.50.110 255.255.255.252
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip flow ingress
 duplex auto
 speed auto
 no mop enabled
!
!
router bgp 123
 no synchronization
 bgp log-neighbor-changes
 network 1.0.0.0
 neighbor 50.50.50.109 remote-as 456
 no auto-summary
!
!
access-list 101 remark VLAN-1_TO_VLAN-10
access-list 101 permit ip 10.1.1.0 0.0 0.255.255.255 20.10.10.0 0.0.0.255
access-list 101 deny ip 10.1.1.0 0.0 0.255.255.255 any
access-list 102 remark VLAN-2_TO_VLAN-20
access-list 102 permit ip 10.2.2.0 0.0 0.255.255.255 20.20.20.0 0.0.0.255
access-list 102 deny ip 10.2.2.0 0.0 0.255.255.255 any
!
!
 
######## Router-B ########
RTR-B#sh run
!
interface GigabitEthernet0/0.10
 description #GOING TO VLAN-10#
 encapsulation dot1Q 10
 ip address 20.10.10.1 255.255.255.0
 ip access-group 101 in
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/0.20
 description #GOING TO VLAN-20#
 encapsulation dot1Q 20
 ip address 20.20.20.1 255.255.255.0
 ip access-group 102 in
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/1
 description CONNECT TO MPLS
 ip address 70.70.70.110 255.255.255.252
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip flow ingress
 duplex auto
 speed auto
 no mop enabled
!
!
router bgp 123
 no synchronization
 bgp log-neighbor-changes
 network 20.0.0.0
 neighbor 70.70.70.109 remote-as 456
 no auto-summary
!
!
access-list 101 remark VLAN-10_TO_VLAN-1
access-list 101 permit ip 20.10.10.0 0.0.0.255 10.1.1.0 0.0 0.255.255.255
access-list 101 deny ip 20.10.10.0 0.0.0.255 any
access-list 102 remark VLAN-20_TO_VLAN-2
access-list 102 permit ip 20.20.20.0 0.0.0.255 10.2.2.0 0.0 0.255.255.255
access-list 102 deny ip 20.20.20.0 0.0.0.255 any
!
!

Open in new window

Comment
Watch Question

Network Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.