Solved

sample config for ospf on hp procurve switch

Posted on 2013-05-17
5
2,886 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SonicWall Max Connection Setting 7 43
migrate cisco cat configs 3 35
Failover for DMVPN 3 31
Why isn't my network passing a certain vlan. 24 48
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…

733 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