# ----------------------
# setup the vlans
# ----------------------
configure vlan default delete ports all
create vlan v1ospf
configure vlan v1ospf ip 192.168.1.1/24
configure vlan v1ospf add ports 24
# configuring general ospf
# ----------------------
enable ipforwarding
configure ospf routerid 0.0.0.1
configure ospf area 0.0.0.0
configure ospf add v1ospf area 0.0.0.0
enable ospf
# ----------------------
# configuring ospf / rip route import / export
# ----------------------
enable ospf export rip cost 0 type ase-type-1 tag 0