?
Solved

sample config for ospf on hp procurve switch

Posted on 2013-05-17
5
Medium Priority
?
3,296 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 2000 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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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 …
Suggested Courses

801 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