User`s guide

PassFinder AP2520 VoIP Router/Gateway Operation Manual Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd. -
104 -
[Example] OSPF Configuration and Usage
Router# config
router(config)# ip routing
Enables IP routing.
router(config)# interface Ethernet 0 0 Enters into a configuration
mode for the sub-interface 0 of the Ethernet interface 0.
router(config-ether0.0)# ip address 130.1.1.1 255.255.255.0 Sets
the IP address as “130.1.1.1/24bit.”
router(config-ether0.0)# ospf enable Enables the OSPF in the
interface.
router(config-ether0.0-ip)# ospf area-id 10 Makes the Ethernet
interface belong to OSPF Area 10. Through this, the corresponding network
address enters into OSPF Process area 10.
router(config-ether0.0)# ospf priority 10 If DR is selected, sets
Priority 10 for the router to make Nego against the other router.
router(config-ether0.0)# ospf cost 5 Sets that the Cost (metric)
value should be advertised as 5.
router(config-ether0.0)# int serial 0 Enters into the serial 1
interface configuration mode.
router(config-serial0)# ip address 135.1.1.1 255.255.255.0 Sets
the IP address as “135.1.1.1/24bit.”
router(config-serial0)# ospf enable Enables OSPF in the interface.
router(config-serial0)# ospf area-id 0 Makes the serial interface
0 belong to OSPF Area 0. Through this, the corresponding network address
enters into OSPF Process area 0.
router(config-serial0)# ospf priority 1 If DR is selected, sets
Priority 1 for this router to make Nego against the other router.
router(config-serial0)# ospf cost 10 Sets that the Cost (metric)
value for the interface should be advertised as 10.
router(config-serial0)# ospf network broadcast Sets that the
features for this interface are broadcasted.
router(config-serial0)# exit Returns to the previous configuration
mode.
router(config)# router ospf Enables the OSPF process. From this
point, the OSFP process operates. The user shall set this command after