06-13-2008 10:47 AM - edited 03-05-2019 11:37 PM
Hi Guys,
I'm configuring my router to guaranteed minimum bandwidth of 512K for all traffic leaving E0/0 of R3 with IP Precedence 2.
solution I:
On R3
class-map match-all Pr2
match input-interface Ethernet0/0
match ip precedence 2
policy-map P1
class Pr2
bandwidth 512
interface Ethernet0/0
service-policy output P1
solution II:
on R3
all config the same except match precedence 2 instead of match ip precedence 2.
what's the diffrence between both statements!!
--> match ip precedence 2
--> match precedence 2
which solution is the most correct !!
appreciate any helpful inputs..
06-13-2008 01:36 PM
match precedence = matches both IPv4 & IPv6 packets
match ip precedence = matches IPv4 packets only.
One other thing. If you are matching traffic leaving e0/0 why the "match input-interface e0/0" ?
Jon
06-15-2008 10:07 AM
Hi Jon,
it make scenes now, do u thing "match input-interface e0/0" command isn't required to achieve the goal !!
Regards,
Belal
06-15-2008 10:13 AM
Belal,
You are trying to use congestion management method and the policy is applied to the e0/0 interface for doing outbound queuing. It's not properly to match inbound packets from the e0/0 interface.
Note: If the interface doesn't get congestion then the policy will not be applied.It's not easy to make the ethernetinterface to get congestion.Seems you need to use shaping and child-policy to beat this requirement.
HTH
Thot
06-18-2008 11:12 PM
Hi Thot,
u r right It's not easy to make the ethernet interface to get congestion but I just configured it for testing purpose to figure out if this is only required config commands to achieve the requirement.
it seems as u had said no need to match the physical interface.
many thx..
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: