Solved

sample config for ospf on hp procurve switch

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

856 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