In article <EaXPp1I$>,
wrote:
> In article
> <0497382f-0ffd-47af-8ef4->,
> Trendkill <> writes:
> > On Mar 27, 10:36 am, bri...@encompasserve.org wrote:
> >> In article
> >> <68416aca-ff30-4136-8f55-a4b32562a...@n77g2000hse.googlegroups.com>,
> >> Trendkill <jpma...@gmail.com> writes:
> >>
> >> > On Mar 24, 3:21 pm, mmark751969 <mmark751...@yahoo.com> wrote:
> >> >> i am looking at a 7206 router configuration with the following
> >> >> statement 'route-map ISP-IN permit 10'. There is no information that
> >> >> follows this for this route map(no match or set statements). What
> >> >> purpose can this serve. Thanks
> >>
> >> > I doubt anything. If there is no match statement that references an
> >> > access-list, then even if a routing protocol was using the route-map,
> >> > there are no addresses to match on and therefore prioritize.
> >>
> >> In the absence of any match clauses, the route-map entry matches
> >> everything, yes? Documentation says that "all" match clauses must match.
> >> If there are no match clauses, that condition is vacuously satisfied.
> >> That means that this route-map matches all traffic.
> >>
> >> However, if the route-map were removed, I assume that the resulting
> >> configuration would match no traffic.
> >>
> >> > I would
> >> > presume it was a legacy statement for BGP preference setting w/ your
> >> > ISP(s)? Probably had an access-list w/ networks/masks to prioritize
> >> > one ISP over the other or something, along with prepends? Just
> >> > guessing, but I don't think it can do anything without a match
> >> > statement. Else someone else on here will surely speak up.
> >>
> >> Or it could simply be a filter on which ISP routes to accept.
> >>
> >> e.g.
> >>
> >> route-map ISP-IN permit 10
> >>
> >> router bgp 12345
> >> ...
> >> neighbor isp.address.goes.here route-map ISP-IN in
> >> ...
> >>
> >> As things stand, he gets all ISP routes.
> >> Delete the route-map and he gets no ISP routes.
> >> Delete the neighbor clause and he gets all ISP routes.
> >>
> >> If he _wants_ to filter ISP-learned routes then the right move is to
> >> populate the route-map with match clauses using prefix-lists, access
> >> lists, AS-paths or similar.
> >>
> >> If he just wants to clean up the config then he should remove the
> >> neighbor clause and then remove the route map. And then he should
> >> reset the ISP peering session and make sure that things still work as
> >> expected. (clear ip bgp isp.address.goes.here soft in)
> >
> > Interesting, although he never confirmed that he did have it applied
> > on any neighbor statement. I'm still not sure why you would have a
> > map to adjust basically nothing on everything (all routes). Still
> > seems like a legacy statement left in or something not fully
> > implemented that nobody every fixed or questioned.
>
> Agreed on both counts. He never indicated whether the route-map was
> actually referred to elsewhere in the configuration. And the route-map
> is most likely either either left-over cruft or not-fully-implemented
> cruft.
It might be a placeholder. In a large network, it's common to have
configuration templates. So perhaps every machine is required to have
this route-map, but the content varies by machine, and it can be empty
if nothing needs to be put in it.
--
Barry Margolin,
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***