- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- LAN Routing
- >
- HP 5400zl2 switch: Redirtibute static route into ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2016 11:10 AM - edited 05-12-2016 11:23 AM
05-12-2016 11:10 AM - edited 05-12-2016 11:23 AM
HP 5400zl2 switch: Redirtibute static route into OSPF??
Hi Guys,
I'm a little confused on how to redistribute a specific static route into my OSPF configuration on a HP 5400zl2 switch. I'm more fluent in Cisco or 3Com OS which perfom this operation in a simple similar way but I cannot figure out how to do it on this HP switch.
On my HP A5500-24G-4SFP HI (3Com OS) switch, I do the following:
ip route-static 192.168.234.0 255.255.255.0 10.10.10.1 ospf 1 router-id X.X.X.X area 0.0.0.0 network 192.168.234.0 0.0.0.255
Since the commands are quite different from the above switch and the 5400zl2, I can't find the similar commands to accomplish this simple rediribution.
Any ideas?
UPDATE: I found some information on another forum that got me what I needed but I really don't understand why it works and why it would be so complicated. Surely there is a better way.
ip route 192.168.234.0 255.255.255.0 10.1.1.1 tag 10 name "TEST SUBNET" ip prefix-list "TEST" seq 5 permit 192.168.240.0 255.255.255.0 ge 24 le 24 route-map "TEST-ROUTE" permit seq 10 match ip address prefix-list "TEST" exit
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2016 09:17 AM
05-13-2016 09:17 AM
Re: HP 5400zl2 switch: Redirtibute static route into OSPF??
Hello. Just enable redistribution in the "router ospf" context:
router ospf
area 0.0.0.100 stub 100
area backbone
redistribute connected
redistribute static
enable
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2016 10:55 AM
05-13-2016 10:55 AM
Re: HP 5400zl2 switch: Redirtibute static route into OSPF??
I have other specific static routes that may cause a loop in my OSPF network so although that would be a good solution, it wouldn't really work. It would be so simply if I can just do this:
router ospf
area backone
network X.X.X.X 255.255.255.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2016 01:24 PM
05-13-2016 01:24 PM
Re: HP 5400zl2 switch: Redirtibute static route into OSPF??
Sorry, I missed the "specific" part of your question. Yes, you would need to use a route-map unfortunately. The other way would be to turn on static redistribution and restrict the ones you don't want. But if you only have one that you want to distribute that doesn't save you much in the way of configuration...