User Manual

426
Users Manual of XGS-6350-24X4C
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
ip address 131.108.20.5 255.255.255.0
Interface vlan11 is in area 2:
interface vlan 11
ip address 131.108.1.5 255.255.255.0
Interface vlan12 is in area 2: