09-04-2004 05:42 AM - edited 03-02-2019 06:15 PM
I have a 3661 series router . I must use policy route
on int f0/0 . But if i open cef on f0/0 , the policy route is unactive. After i close cef on f0/0 , the policy route is active . Why did it happen ? I read a
article that said cef support polciy route . I get a puzzle!
Some information:
show version
Cisco Internetwork Operating System Software
IOS (tm) 3600 Software (C3660-TELCO-M), Version 12.3(5b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Thu 15-Jan-04 18:42 by kellythw
Image text-base: 0x60008AF4, data-base: 0x61240000
interface FastEthernet0/0
description fast
ip address 131.179.0.1 255.255.255.0
no ip proxy-arp
ip route-cache policy
ip route-cache flow
no ip route-cache cef
ip policy route-map Internet
ip ospf cost 5
ip ospf priority 5
speed 100
full-duplex
no cdp enable
hold-queue 300 in
thank you very much
09-04-2004 11:32 PM
Hello,
strange indeed, as, beginning in Cisco IOS Release 12.0, PBR is supported in CEF. Can you post the full configuration of your router ?
Regards,
Georg
09-05-2004 05:52 PM
Thanks Georg!
I feel strange too. But It is fact!
I copy my config.
ip subnet-zero
ip cef
no ip domain lookup
no ftp-server write-enable
chat-script callback ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT 60 CONNECT \c
!
!
buffers small permanent 100
buffers small max-free 200
buffers middle permanent 100
buffers middle max-free 200
!
!
interface Loopback1
ip address 131.179.255.1 255.255.255.0
!
interface FastEthernet0/0
description fast
ip address 131.179.0.1 255.255.255.0
no ip proxy-arp
ip route-cache policy
ip route-cache flow
no ip route-cache cef
ip policy route-map Internet
ip ospf cost 5
ip ospf priority 5
speed 100
full-duplex
no cdp enable
hold-queue 300 in
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
no cdp enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no cdp enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no cdp enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no cdp enable
!
interface FastEthernet4/0
ip address 131.179.4.17 255.255.255.252
no ip proxy-arp
ip ospf cost 40
delay 6000
duplex auto
speed auto
no cdp enable
!
interface FastEthernet4/1
ip address 131.179.4.21 255.255.255.252
no ip proxy-arp
ip ospf cost 40
delay 6000
duplex auto
speed auto
no cdp enable
!
interface FastEthernet6/0
ip address 131.179.4.37 255.255.255.252
no ip proxy-arp
ip ospf cost 20
duplex auto
speed auto
no cdp enable
!
interface FastEthernet6/1
no ip address
load-interval 30
duplex auto
speed auto
no cdp enable
!
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
peer default ip address pool default
ppp callback accept
ppp authentication chap
group-range 65 80
!
router ospf 100
log-adjacency-changes
network 131.179.0.0 0.0.0.255 area 1
network 131.179.4.16 0.0.0.3 area 0
network 131.179.4.20 0.0.0.3 area 0
network 131.179.4.36 0.0.0.3 area 1
network 131.179.255.0 0.0.0.255 area 1
default-information originate always
!
ip local pool default 162.16.254.1 162.16.254.10
no ip http server
ip classless
ip route 10.200.0.0 255.255.255.0 10.3.0.2
ip route 162.16.27.0 255.255.255.0 131.179.0.12
ip route 162.16.27.6 255.255.255.255 131.179.0.12
!
!
logging trap debugging
logging 162.16.17.244
access-list 10 permit any
no cdp run
route-map Internet permit 10
match ip address 10
set ip default next-hop 131.179.4.18 131.179.4.22
!
!
snmp-server community public RO
snmp-server enable traps tty
Now ,u see I close the cef on int f0/0 . The route policy is acting .
09-05-2004 05:50 AM
I am not sure what you mean by policy route is unactive. Can you be more specific about what is happening and what is the problem?
Also it would be helpful to post the route map and any access lists referred to by the route map.
HTH
Rick
09-05-2004 06:15 PM
Thank rburt's regard.
The problem is that when i open cef on int f0/0
, the route policy is unfunction on int f0/0 .
The normal route act instead of route policy.
When I close cef on int f0/0 . The route policy on int f0/0 is function well.
Why do it happen?
My configurtion : reference my attachement!
Can i see it , rburts Mr?
Thank your regards ,again!
09-05-2004 07:44 PM
In the first place I still do not understand your description of the problem. How are you determining whether policy routing is active or is not active? Is there some command you are using to determine this? If so what command? If it is not a command how are you making this distinction?
In the second place I have looked at your config and I have a guess about what is happening. I notice that your route map is as follows:
route-map Internet permit 10
match ip address 10
set ip default next-hop 131.179.4.18 131.179.4.22
so for all traffic incoming on the interface you are setting the default next-hop. I wonder why you are setting default next-hop instead of setting next-hop or something like that. Default next-hop is only used if there is not a route for the destination. My guess is that with cef enabled there is a route so the default next-hop is not needed and not used. I would suggest that perhaps you change the route map so that it sets next-hop. I believe you will find that in that case there is no effect of enabling cef.
HTH
Rick
09-05-2004 09:35 PM
Thanks Mr rburts !
I am sorry that i have a litte in english.
I want to branch the flow no explicting route .
Yes, when i open cef on int f0/0 , i found the flow
no explicting route is lost. It is normal route .
If i add a default route 0.0.0.0 0.0.0.0 131.179.4.18
i found the flow fllow the default route! So, i determined that i open cef that route policy is unactive.
Thank u very much..
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