From: jpritcha@xxxxxxx
Date: Thu Nov 16 2000 - 14:52:56 GMT-3
Lewis,
This portion of the route map:
route-map filter1 deny 10
match ip address 1
will 1) match the default route only (access-list 1 permit 0.0.0.0), and,
2) block the default route from being redistributed from OSPF 2 into BGP 3
(because of the 'deny' action in 'route-map filter1 deny 10').
This portion of the route map:
route-map filter1 permit 20
match ip address 2
will 1) match everything else (access-list 2 permit any), and, 2) allow it
to be redistributed from OSPF 2 into BGP 3 (because of the 'permit' action
in 'route-map filter1 permit 20').
I have a different question about Lab 2. Marc's configs show R1 using
next-hop-self for BGP neighbor R3:
router bgp 2
no synchronization
neighbor 10.10.1.3 remote-as 1
neighbor 10.10.1.3 next-hop-self
neighbor 10.10.1.5 remote-as 2
neighbor 10.10.1.5 route-reflector-client
neighbor 10.20.1.1 remote-as 2
neighbor 10.20.1.1 route-reflector-client
Marc's 'sho ip rou' output on R5 says that R5 knows about 10.3.0.0 from
10.10.1.3. Shouldn't R5 know about this R3 network via R1 because of the
next-hop-self command?
Jim
Please respond to Piperw222@aol.com
Sent by: nobody@groupstudy.com
To: <ccielab@groupstudy.com>
cc:
Subject: CCIE BOOT CAMP - LAB 2 - ROUTE-MAP QUESTION
Below is part of the config taken from router 7. My question is pertainig
to
the route map statement
route-map filter1 deny 10
match ip address 1
What is the logic to to the above statment when it says deny 10 and then it
matches to access list 1 which says permit 0.0.0.0. any help would be
appreciated.
Thanks, Lewis
router bgp 3
no synchronization
redistribute ospf 2 match internal external 1 external 2 route-map filter1
neighbor 11.1.1.5 remote-as 2
neighbor 11.1.1.5 route-map setlocal in
neighbor 12.2.1.2 remote-as 3
neighbor 12.2.1.2 password en cisco
!
no ip classless
ip route 0.0.0.0 0.0.0.0 11.1.1.5
no logging console
access-list 1 permit 0.0.0.0
access-list 2 permit any
route-map setlocal permit 10
set local-preference 300
!
route-map filter1 deny 10
match ip address 1
!
route-map filter1 permit 20
match ip address 2
!
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:45 GMT-3