User's Manual

Table Of Contents
447
Users Manual of CS-6306R
45.3.4.2 OSPF Route and Route Distribution Configuration Example
OSPF demands to exchange information among internal switches, ABR and ASBR. In the minimum
configuration, the OSPF-based switch can work with default parameter settings. There is no authentication
demand.
The following are three configuration examples:
The first example shows basic OSPF commands.
The second example shows how to configure internal routing switches, ABR and ASBR in an automatic
system.
The third example shows how to use all kinds of OSPF tools.
45.3.4.2.1 Basic OSPF Configuration Example
The following example shows how to configure a simple OSPF. Activate the routing process 9; connect
Ethernet interface 0 to area 0.0.0.0; meanwhile, send RIP to OSPF or send OSPF to RIP.
interface vlan 10
ip address 130.130.1.1 255.255.255.0
ip ospf cost 1
!
interface vlan 10
ip address 130.130.1.1 255.255.255.0
!
router ospf 90
network 130.130.0.0 255.255.0.0 area 0
redistribute rip
!
router rip
network 130.130.0.0
redistribute ospf 90
45.3.4.2.2 Example to Basic Configuration of Internal Routing Switch, ABR and ASBR
In the following example, four area Ids are distributed to four IP address ranges. The routing process 109 is
activated. Four areas are area 10.9.50.0, area 0, area 2 and area 3. The masks of areas 10.9.50.0, 2 and 3
are designated with address range. Area 0 includes all networks.
router ospf 109
network 131.108.20.0 255.255.255.0 area 10.9.50.0
network 131.108.0.0 255.255.0.0 area 2
network 131.109.10.0 255.255.255.0 area 3
network 0.0.0.0 0.0.0.0 area 0
Interface vlan10 is in area 10.9.50.0:
interface vlan 10