07-06-2009 05:27 PM - edited 03-04-2019 05:20 AM
Hi.
I wonder that the PBR How it works at CCO as following:
"If the packets do not match any route map statements, then all the set clauses are applied."
the pbr works step-by-step. for example
route-map korea 10
match access-group 10
set ip precedence 30
route-map korea 20
match access-group 20
set ip precedence 31
route-map korea 30
match access-group 30
set ip precedence 32
and then Implicited Denied ,because of route-map rules. Right?
If packet is no match route-map rule,then the packet is processed normal switching not process.
but above statement. if the packet do not match any route-map statments, then all the set clauses are applied.
I can't understand above statement. if the packet do not match any route-map statement, the packet is just normal
processing, but the statement at cco says all set are applied.. <- Wrong Statement?
if right , Let me understand about this.
Thank you in advance
Solved! Go to Solution.
07-06-2009 10:01 PM
Sung
The statement that you quote does not seem correct to me. I wonder if it is discussing some specific circumstance or perhaps is just an error in the documentation. A special circumstance might be something like an instance within the route map which does not have a match statement and has only a set statement like this:
route-map korea 40
set ip precedence 32
in this case there is no statement to match and all set statements are executed.
Perhaps if you post the link to where you find this statement we can help find out whether there is some special circumstance it is discussing or whether it is an error in documentation.
HTH
Rick
07-06-2009 08:55 PM
Hi,
It may be some mistyping.
If the packet does not match any route-map statements, then it is routed per the contents of the IP routing table.
In this specific case the packets are routed per the IP routing table when the packets match any route-map statement.
This is because you only set the IP precedence of the packets, and you do not set either the ip next-hop or the outgoing interface.
Cheers:
Istvan
07-06-2009 09:07 PM
yes, You are right.
the packet is setted the ip precendence value and processing next destination by referencing normal ip routing table.
the most thing I wonder is..
the statnement from cco, What is mean like below?
If the packets do not match any route map statements, then all the set clauses are applied
07-06-2009 10:01 PM
Sung
The statement that you quote does not seem correct to me. I wonder if it is discussing some specific circumstance or perhaps is just an error in the documentation. A special circumstance might be something like an instance within the route map which does not have a match statement and has only a set statement like this:
route-map korea 40
set ip precedence 32
in this case there is no statement to match and all set statements are executed.
Perhaps if you post the link to where you find this statement we can help find out whether there is some special circumstance it is discussing or whether it is an error in documentation.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide