Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Can anybody provide a VLAN + OSPF sample Config?

SOLVED
Go to solution
Christian Reiter
Frequent Advisor

Can anybody provide a VLAN + OSPF sample Config?

Hi!

I am looking for a sample config (CLI: "write terminal") of an environment in which OSPF and Inter-VLAN Routing is used!

I would be very happy if anybody could provide such a config-dump.

chris
2 REPLIES
tomastomas
Occasional Advisor
Solution

Re: Can anybody provide a VLAN + OSPF sample Config?

Hi, see configuration examples on procurve.com

For instance:

http://www.hp.com/rnd/support/config_examples/5300xl_ospf_singlearea.pdf
Bruce Campbell_3
Valued Contributor

Re: Can anybody provide a VLAN + OSPF sample Config?


; J8697A Configuration Editor; Created on release #K.11.33

hostname "sw1"
max-vlans 64
time timezone -300
no cdp run
no web-management
module 1 type J8705A
module 2 type J8702A
module 3 type J8702A
ip default-gateway 172.17.2.193
ip routing
vlan 1
name "DEFAULT_VLAN"
untagged A2-A20,A23-A24,B1-B24,C1-C24
ip address dhcp-bootp
no untagged A1,A21-A22
exit
vlan 3026
name "xprinet"
ip address 172.17.2.204 255.255.255.192
tagged A1
exit
vlan 717
name "pp17"
ip address 10.20.1.66 255.255.255.252
tagged A21
exit
vlan 73
name "scicli2net"
ip address 10.20.73.1 255.255.255.0
tagged A1
ip igmp
exit
spanning-tree
spanning-tree force-version RSTP-operation
ip router-id 10.20.1.66
router ospf
area 0.0.0.3
area backbone
redistribute connected
restrict 172.17.2.192 255.255.255.192
exit
router rip
exit
vlan 717
ip ospf 10.20.1.66 area backbone
exit
vlan 3026
ip rip 172.17.2.204
exit
Bruce Campbell
Director, Network Services
Information Systems and Technology
MC 1018
(519)888-4567 x38323
University of Waterloo, Waterloo, ON