7000 Series L3 Managed Switch Reference Manual for Software v2.0
6-10 Quick Startup
This example creates two router ports to run OSPF.
Table 6-13. VLAN Routing OSPF Configuration
Step Example CLI Command
1. Create VLAN Disable console timeout.
config serial timeout 0
Create VLAN. SC box only supports VLAN routing,
router port has to join VLAN.
config vlan create 10
config vlan create 20
Physical Port IDs are 0.1 and 0.2.
config vlan participation include 10 0.1
config vlan participation include 20 0.2
Create PVID for ports.
config vlan port pvid 10 0.1
config vlan port pvid 20 0.2
2. Create IP VLAN routing config ip vlan routing create 10
config ip vlan routing create 20
3. Enable the routing
function for the virtual router
config routing enable
4. Config Router ID (virtual) config router id 192.168.111.50
5. Config IP interface
(virtual)
Assign IP to router port 5.1 and 5.2.
config ip interface create 5.1 9.1.1.1 255.0.0.0
config ip interface create 5.2 192.168.111.1
255.255.255.0
6. Enable OSPF protocol config router ospf adminmode enable
config router ospf interface mode 5.1 enable
config router ospf interface mode 5.2 enable