OSPF challenge
ilcram19-2
Banned Posts: 436
in CCNP
I have an scenario where i would like to send traffic from one vlan to one "normal" route and the other vlan to the longer route using OSPF. if the longer route fails i'd like to send the traffic to the normal route i dont know if any one seen something like this. there are a few routers involve this is a cisco 3570 and the reson this needs to be don is to save bandwidth any advice will be apreciated
Comments
-
mikej412 Member Posts: 10,086 ■■■■■■■■■■
-
matt79 Member Posts: 27 ■□□□□□□□□□ilcram19-2 wrote: »I have an scenario where i would like to send traffic from one vlan to one "normal" route and the other vlan to the longer route using OSPF. if the longer route fails i'd like to send the traffic to the normal route i dont know if any one seen something like this. there are a few routers involve this is a cisco 3570 and the reson this needs to be don is to save bandwidth any advice will be apreciatedCCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study: -
ilcram19-2 Banned Posts: 436
thanks alot man!! i was afraid i was gonna have to use PBR i was trying to use something less cpu intensive but also used EEM take a look
interface FastEthernet1/0
ip address 192.168.4.1 255.255.255.0
ip policy route-map DR <--- Route policy applied to interface to forward traffic to private link router
ip access-list extended DR-site
permit ip 192.168.4.0 0.0.0.255 172.29.100.0 0.0.0.255 log
route-map DR permit 10 match ip address DR-navisite
set ip next-hop 192.168.2.13
i had to create the below config if the interface reamind up after the failure since is plug in to a switch
event manager applet USLINK_DOWN
event syslog pattern " %OSPF-5-ADJCHG: Process 1, Nbr 10.1.2.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Dead timer expired"
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.2 cli command "interface fastethernet0/1"
action 1.3 cli command "no ip policy route-map DR"
This will add the route map back up to the interface
event manager applet USLINK_UP
event syslog pattern "%OSPF-5-ADJCHG: Process 1, Nbr 10.1.2.1 on FastEthernet0/0 from LOADING to FULL, Loading Done"
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.2 cli command "interface fastethernet0/1"
action 1.3 cli command "ip policy route-map DR" -
APA Member Posts: 959I agree with Jason.... thinking outside the box with eem
CCNA | CCNA:Security | CCNP | CCIP
JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
JNCIS:SP | JNCIP:SP -
ilcram19-2 Banned Posts: 436I agree with Jason.... thinking outside the box with eem
i first i didnt get the idea but is pretty cool defently something that can be use in alot of situations
EEM Configuration for Cisco Integrated Services Router Platforms [Cisco IOS Embedded Event Manager (EEM)] - Cisco Systems -
ilcram19-2 Banned Posts: 436Use the cost command.
That wasnt going to work on this topology i wanted only traffic from that subnet to the remote subnet to take the longer path without affecting the OSPF failover or any other subnet.