Solved

sample config for ospf on hp procurve switch

Posted on 2013-05-17
5
2,483 Views
Last Modified: 2013-06-07
I want setup a lab enviroment with 3  procurve  switches (5406 and 2800's), i will aso have 3 vlans. can someone give me sample ospf config.


thanx
0
Comment
Question by:officertango
  • 3
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
TimotiSt earned 500 total points
ID: 39177137
Very simple config from a 3400 box:

!
ip routing 
!
vlan 93 
   name "to HQ" 
   untagged 3 
   ip address 172.31.0.42 255.255.255.248 
   tagged 1 
   exit 
!
key-chain "OSPF"
key-chain "OSPF" key 1 key-string "secret"
!
ip router-id 172.31.0.42
!
router ospf
   area backbone
   redistribute connected
   exit
vlan 93
   ip ospf area backbone
   ip ospf md5-auth-key-chain "OSPF"
   exit
!

Open in new window

0
 

Author Comment

by:officertango
ID: 39177154
Do I do same on other side of switch? I see there are some kind of secret key in ospf? What's it for I have not seen in any of my search on internet. Are you also running this in live production?

Thanks
0
 

Author Comment

by:officertango
ID: 39177159
Also why is vlan 93 tag on port 3 and untag on port 1? I assume this is a single area ospf?
0
 
LVL 17

Expert Comment

by:TimotiSt
ID: 39177256
Yes, this is from a live environment.
Port 1 goes to a Cisco PIX, which only provides failover internet access.
Port 3 goes to a core Cisco 6509 which, which provide some other VLANs in layer2.

In this setup OSPF is only used to give a default route dynamically to the HP: if everything is okay, the default route points to the C6509, if the link goes down, the PIX (with an ADSL) is the default route so the office has at least internet access.
Not the best setup ever, but it works.

Using security is not mandatory in OSPF, but you can use it with passwords.
0
 

Author Comment

by:officertango
ID: 39177417
Very nice. Can I see more config and can I also see another hp switch directly connect to this core switch. Many thanx.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now