From: Steven Weber (itweber@xxxxxxxxxxxxx)
Date: Tue Feb 27 2001 - 03:08:32 GMT-3
so how do I know if my route map is doing its job?
----- Original Message -----
From: Elias Hill
To: CCIELab@groupstudy.com ;Steven Weber
Sent: 2/27/01 1:00:50 AM
Subject: RE: route filters
Let me know if I am incorrect... the "0 matches" refers to policy
routing
applications, not route-maps applied to distribution/redistribution.
-----Original Message-----
From: Steven Weber [mailto:itweber@earthlink.net ]
Sent: Monday, February 26, 2001 9:32 PM
To: CCIE GROUP
Subject: route filters
I am trying to filter a route from being inserted as well as
changing the metric on the other routes enclosed is a sh run. I'm trying to
filter 2.1.1.1 but not 2.2.1.1 and change its metric along with
200.200.200.1 to
5 but the show route-map comes up with 0 matches, what am I doing
wrong?
Regards,
--- Steven Weber
--- EarthLink: It's your Internet.
hostname r4
!
!
no ip domain-lookup
!
interface
Loopback0
ip address 10.44.1.1 255.255.0.0
no logging event
subif-link-status
!
interface Loopback1
ip address 200.200.200.1
255.255.255.0
no logging event subif-link-status
!
interface
Ethernet0
ip address 10.4.1.1 255.255.0.0
no logging event
subif-link-status
no keepalive
!
interface Serial0
ip
address 10.34.1.2 255.255.0.0
no logging event
subif-link-status
!
interface Serial1
no ip address
no
logging event subif-link-status
shutdown
!
interface
BRI0
no ip address
no logging event
subif-link-status
shutdown
!
router ospf 1
network
10.34.0.0 0.0.255.255 area 3
network 10.4.0.0 0.0.255.255 area
3
network 10.44.0.0 0.0.255.255 area 3
area 3
stub
!
router rip
network 200.200.200.0
!
router bgp
1
no synchronization
network 10.44.1.1 mask
255.255.255.255
redistribute static
redistribute
rip
neighbor 10.33.1.33 remote-as 2
neighbor 10.33.1.33
ebgp-multihop 2
neighbor 10.33.1.33 update-source
Loopback0
neighbor 10.33.1.33 route-map FILTER out
no
auto-summary
!
no ip classless
ip route 2.1.1.0 255.255.255.0
Null0
ip route 2.2.1.0 255.255.255.0 Null0
access-list 1 permit 0.0.0.0
255.255.255.0
route-map FILTER permit 10
match ip address
1
set metric 5
!
route-map FILTER deny
20
!
!
line con
0
exec-timeout 0
0
r4#sh
rout
route-map FILTER, permit, sequence 10
Match
clauses:
ip address (access-lists): 1
Set
clauses:
metric 5
Policy routing matches: 0
packets, 0 bytes
route-map FILTER, deny, sequence 20
Match
clauses:
Set clauses:
Policy routing matches: 0 packets, 0
bytes
r4#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M
- mobile, B - BGP
D - EIGRP, EX - EIGRP
external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 -
OSPF NSSA external type 2
E1 - OSPF
external type 1, E2 - OSPF external type 2, E -
EGP
i - IS-IS, L1 - IS-IS level-1, L2 -
IS-IS level-2, * - candidate default
U -
per-user static route, o - ODR
Gateway of last resort is 10.34.1.1 to network 0.0.0.0
2.0.0.0/24 is subnetted, 2
subnets
S 2.2.1.0 is directly connected,
Null0
S 2.1.1.0 is directly connected,
Null0
10.0.0.0/16 is subnetted, 3
subnets
C 10.4.0.0 is directly connected,
Ethernet0
C 10.44.0.0 is directly
connected, Loopback0
C 10.34.0.0 is
directly connected, Serial0
B 22.0.0.0/8 [20/0] via
10.33.1.33, 01:28:12
C 200.200.200.0/24 is directly
connected, Loopback1
O*IA 0.0.0.0/0 [110/65] via 10.34.1.1, 01:28:18,
Serial0
r4#
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:07 GMT-3