Tuesday, April 16, 2013

Cisco, Comware, Procurve - Redistribution of EIGRP and OSPF



Procurve
ip routing

interface loopback 0
   ip address 4.4.4.4
   ip ospf 4.4.4.4 area backbone
   exit

router ospf
   area backbone
   enable
   exit

vlan 1
   untagged 48
   ip address 192.168.1.50 255.255.255.0
   ip ospf 192.168.1.50 area backbone
   exit

vlan 30
   name "VLAN30"
   untagged 1
   ip address 10.10.30.2 255.255.255.252
   ip ospf 10.10.30.2 area backbone
   exit

vlan 999
   name "NOMANVLAN"
   untagged 2-47
   no ip address
   exit


H3C
sysname 5500-EI

vlan 10
#
vlan 30
#
interface Vlan-interface10
 ip address 10.10.10.2 255.255.255.252
#
interface Vlan-interface30
 ip address 10.10.30.1 255.255.255.252
#
interface Ethernet1/0/1
 port access vlan 10
#
interface Ethernet1/0/2
 port access vlan 30
#
interface LoopBack0
 ip address 2.2.2.2 255.255.255.255
#
ospf 1
 area 0.0.0.0
  network 2.2.2.2 0.0.0.0
  network 10.10.10.0 0.0.0.3
  network 10.10.30.0 0.0.0.3
#
user-interface vty 0 4
 authentication-mode none
 user privilege level 3
#
Return


Cisco 2600
hostname 2600
!
no ip domain-lookup
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 10.10.10.1 255.255.255.252
!
interface FastEthernet0/1
 ip address 10.10.20.1 255.255.255.252
!
router eigrp 100  ßNote that “100” is an AS (must be the same on all routers) and not just an arbitrary “process id” as in ospf
 redistribute ospf 1 metric 1000 1000 255 1 1500
 network 1.1.1.1 0.0.0.0
 network 10.10.20.0 0.0.0.3
 no auto-summary
!
router ospf 1
 log-adjacency-changes
 redistribute eigrp 100 subnets  ß Very important to use the correct AS number
 network 1.1.1.1 0.0.0.0 area 0
 network 10.10.10.0 0.0.0.3 area 0
!
ip classless
!
enable password cisco
!
line vty 0 4
 password cisco
 login
!
end

Cisco 2500
hostname R2500-hub
!
no ip domain-lookup
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface Ethernet0
 ip address 10.10.20.2 255.255.255.252
!
router eigrp 100  ßNote that “100” is an AS (must be the same on all routers) and not just an arbitrary “process id” as in ospf
 network 3.3.3.3
 network 10.10.20.0
 no auto-summary ß On my old 2500 hub there is no mask set so auto summary is a must
!
ip classless
!
enable password cisco
!
line vty 0 4
 password cisco
 login
!
end



 Note:

NOTE: The 2500 see's the redistributed eigrp routes with an AD of 170 as opposed to 90.  The 2600 redistributes other routing protocols into eigrp and adds 80 to the AD.  


On windows PC I am working with added
 C:\>route add 10.0.0.0 mask 255.0.0.0 192.168.1.50
 OK!

On home router to go from production to test-bed, added this route


No comments:

Post a Comment

Please add comments so I may update the material to accommodate platform modification to various commands. Also if you have some real-world caveats, do please share.

Search Duke

About the Author

My photo
Central Florida, United States