[cisco-voip] Route pattern Issue on Closest Match

Ryan Ratliff rratliff at cisco.com
Fri Oct 30 11:29:00 EDT 2009


To re-phrase my previous email the more specific match is always  
taken, regardless of order in the pss.  Only when they are both equal  
length matches will partition order come into play.

-Ryan

On Oct 30, 2009, at 10:53 AM, Ryan Ratliff wrote:

It should be the most specific match only if the two patterns are in  
the same partition.  If they are in different partitions I believe it  
takes the higher partition in the CSS even if it is less specific.

In your case however the 9.010! is more specific because it has fewer  
wildcards, ie it is matching 4 specific digits vs only 1 in [3689] 
XXXXXXX.

-Ryan

On Oct 30, 2009, at 10:43 AM, Kin Wai wrote:

I have 2 route patterns in the same partition,
9.010!
or
[3689]XXXXXXX


Which one is closest match above?
If I key in 90101314

I keep getting the result of 9.010! , just wondering do I hit into  
some bug or I had the wrong concept.

Cheers,
Kin Wai


_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20091030/64529f5f/attachment.html>


More information about the cisco-voip mailing list