cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1081
Views
0
Helpful
10
Replies

Redistributing Routes between OSPF and EIGRP

drmrkam01
Level 1
Level 1

Hi there.

We have in our network cisco router and alcatel switchs.

before in cisco router run Eigrp with 2mb link and use static redistributing.

now we use Alcatel switch and OSPF with 100mb but still all route goes though 2mb link.

which kind of priority can set in cisco router that use only ospf for routing.

please help.

10 Replies 10

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

You can change the administrative distance under the router process:

!
router ospf 1
distance 80
!

Should effect all the routes learnt via the OSPF process.

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/command/iro-cr-book/ospf-a1.html#wp8791238050

cheers,

Seb.

thanks but still not use ospf 100mb link.

Is OSPF configured on the Cisco router, has it formed an adjacency with the alactel switch?

Can you provide the config for the alactel switch and cisco router?

cheers,

Seb.

yes its confured and have adjacency with alcatel.

Alcatel switch

-> show ip route

 

 + = Equal cost multipath routes

 * = BFD Enabled static route

 Total 11 routes

 

 

-> write terminal

! Stack Manager :

! Chassis :

system name vxTarget

system daylight savings time disable

! Configuration:

! MULTI-CHASSIS :

! VLAN :

vlan 1 enable name "VLAN 1"

! VLAN SL:

! IP :

ip service all

ip interface "mgmt" address 172.16.1.110 mask 255.255.255.252 vlan 1 ifindex 1

! IPX :

! IPMS :

! AAA :

aaa authentication default "local"

! PARTM :

! AVLAN :

! 802.1x :

! KERBEROS :

! QOS :

! Policy manager :

! Session manager :

! SNMP :

! RIP :

! OSPF :

ip load ospf

ip ospf area 0.0.0.0

ip ospf interface "mgmt"

ip ospf interface "mgmt" area 0.0.0.0

ip ospf interface "mgmt" status enable

ip ospf status enable

! BFD-STD :

! IPv6 :

! IPSec :

! IP multicast :

ip static-route 0.0.0.0/0 gateway 172.16.1.109 metric 1

! RIPng :

! OSPF3 :

! BGP :

! ISIS :

! Health monitor :

! Interface :

! Netsec :

! Link Aggregate :

! Udld :

! Port Mapping :

! VLAN AGG:

! 802.1Q :

! Spanning tree :

bridge mode 1x1

! Bridging :

! Bridging :

! Port mirroring :

! UDP Relay :

! Server load balance :

! System service :

swlog console level info

! SSH :

! VRRP :

! Web :

! AMAP :

! Lan  Power :

! NTP :

! RDP :

! VLAN STACKING:

! Ethernet-OAM :

! EFM-OAM :

! ERP :

! SAA :

! Loopback-detection :

! DHCP Server :

! WCCP :

! LLDP :

! Link-fault-propagation :

! DHL :

! PPPOE-IA :

! TESTOAM :

! DA-UNP :

! SIP Snooping :

! DHCPv6 :

! Stack Split-Protection Helper :

Routes from 172.16.1.106

  Dest Address      Subnet Mask       Gateway Addr      Age       Protocol

------------------+-----------------+-----------------+---------+-----------

  0.0.0.0           0.0.0.0             172.16.1.105         2d 4h  NETMGMT

  127.0.0.1         255.255.255.255     127.0.0.1            2d 5h  LOCAL

  172.16.0.31       255.255.255.255     172.16.1.105      00:07:07  OSPF

  172.16.1.64       255.255.255.252     172.16.1.105      00:07:07  OSPF

  172.16.1.72       255.255.255.252     172.16.1.105      00:07:07  OSPF

  172.16.1.104      255.255.255.252     172.16.1.106         2d 5h  LOCAL

  172.16.1.140      255.255.255.252     172.16.1.105      00:07:07  OSPF

  172.16.1.144      255.255.255.252     172.16.1.105      00:07:07  OSPF

  192.168.3.0       255.255.255.0       172.16.1.105      00:07:07  OSPF

  192.168.72.0      255.255.255.0       192.168.72.200       2d 2h  LOCAL

  192.168.75.0      255.255.255.0       172.16.1.105      00:07:07  OSPF

Hi there,

Its work so far good ,only one problem.

when i use redistribute with subnets then it's start to use EIGRP link.

and this is one way redistribute.

It's possible to change the priority for redistribute route to they can use one OSPF link.

or any other solution 

i have static redistributing eigrp maybe i need to use 

router eigrp 1
 redistribute ospf 1 metric 1500 20000 255 1 1500 
router ospf 1
 redistribute eigrp 1 metric 100 subnets

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

By default, EIGRP has a better AD than OSPF.

I see your later post, where you mutually redistribute between EIGRP and OSPF, but what routing protocols are running on the router on your diagram?  Also, the 2 Mbps link is shown as directly connected to that router, correct?

Yes its directly connected to cisco router and in cisco router is configured EIGRP and OSPF,

Alcatel only OSPF.below is cisco router runing config.

controller E1 0/0
channel-group 1 timeslots 1-31
!
controller E1 0/1
channel-group 1 timeslots 1-31
!
controller E1 1/0
channel-group 1 timeslots 1-31
!
controller E1 1/1
channel-group 1 timeslots 1-31
!
!
!
interface Loopback0
ip address 172.16.0.31 255.255.255.255
no ip unreachables
no ip proxy-arp
!
interface FastEthernet0/0
ip address 192.168.3.40 255.255.255.0 secondary
ip address 192.168.3.1 255.255.255.0 secondary
ip address 192.168.75.2 255.255.255.0 secondary
ip address 192.168.75.40 255.255.255.0
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
!
interface Serial0/0:1
description Link To BOX-158
ip address 172.16.1.146 255.255.255.252
no ip unreachables
no ip proxy-arp
!
interface FastEthernet0/1
description Link to Alcatel-Lucent
ip address 172.16.1.105 255.255.255.252
no ip unreachables
no ip proxy-arp
delay 120
duplex auto
speed auto
!
interface Serial0/1:1
ip address 172.16.1.66 255.255.255.252
no ip unreachables
no ip proxy-arp
!
interface Serial1/0:1
description Link to BOX-134
ip address 172.16.1.141 255.255.255.252
no ip unreachables
no ip proxy-arp
!
interface Serial1/1:1
description Link To DZK-R2
ip address 172.16.1.73 255.255.255.252
no ip unreachables
no ip proxy-arp
!
router eigrp 65000
redistribute static
network 172.16.0.31 0.0.0.0
network 172.16.1.64 0.0.0.3
network 172.16.1.72 0.0.0.3
network 172.16.1.104 0.0.0.3
network 172.16.1.140 0.0.0.3
network 172.16.1.144 0.0.0.3
network 192.168.3.0
network 192.168.75.0
no auto-summary

router ospf 1

network 0.0.0.0 255.255.255.255 area 0


!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.75.6
ip tacacs source-interface Loopback0
no ip http server
!
logging source-interface Loopback0
logging 192.168.210.200
logging 192.168.1.12
access-list 1 permit 192.168.1.85
access-list 1 permit 192.168.1.12
access-list 1 permit 192.168.210.200
access-list 1 permit 172.16.1.12
access-list 1 deny any log
tacacs-server host 192.168.1.11 key 7 011F141048340D0A38
tacacs-server directed-request
snmp-server community wkhtudfgs RO 1
snmp-server trap-source Loopback0
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
!
dial-peer cor custom
!
!
!
banner motd ^C
This is a private system!!! All connection attempts are
logged and monitored. All unauthorized connection
attempts will be investigated and handed over
to the proper authorities.
^C
!
line con 0
exec-timeout 30 0
logging synchronous
line aux 0
exec-timeout 30 0
logging synchronous
transport input telnet
line vty 0 4
exec-timeout 30 0
logging synchronous
transport input telnet
!
ntp clock-period 17178949
ntp server 172.16.0.14
end

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

If I'm reading your config correctly, this router shows no redistribution between EIGRP and OSPF, and shows all interfaces incorporated in both.  Again, by default EIGRP has a better AD, the EIGRP path would be the preferred.

Try Seb's suggestion.

So i need to configur these commad in cisco router i think.?

router eigrp 1
 redistribute ospf 1 metric 1500 20000 255 1 1500 
router ospf 1
 redistribute eigrp 1 metric 100 subnets