NETGEAR L3 Switch User Manual


 
7000 Series L3 Managed Switch Reference Manual for Software v2.0
6-8 Quick Startup
The config commands used in the following example enable OSPF on ports 0.1 and 0.2
RIP and OSPF VLAN Routing
This section provides examples of VLAN Routing for RIP and OSPF.
This example creates two router ports to run RIP 2.
Table 6-11. OSPF Configuration Example
OSPF
config routing enable
config interface routing 0.1 enable
config interface routing 0.2 enable
config router id 192.150.2.1
config router ospf interface areaid 0.1 0.0.0.0
config router ospf interface areaid 0.2 0.0.0.0
config ip interface create 0.1 192.150.2.1 255.255.255.0
config ip interface create 0.2 192.150.3.1 255.255.255.0
config router ospf adminmode enable
config router ospf interface mode 0.1 enable
config router ospf interface mode 0.2 enable