Solved

sample config for ospf on hp procurve switch

Posted on 2013-05-17
5
3,098 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

717 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