Setup guide
Notes
Within one area, only the router that is connected to another AS (i.e. border router) should have the
propagation of the default route enabled.
OSPF protocol will try to use the shortest path (path with the smallest total cost) if available.
OSPF protocol supports two types of metrics:
• type1 - metrics are internal ('cheap') metrics, id est the router expects the cost of a link to a
network which is external to AS to be the same order of magnitude as the cost of the internal
links.
• type2 - metrics are external ('expensive') metrics. Any type2 metric is considered to be greater
than the cost of any internal path
Example
To enable the OSPF protocol redisrtibute routes to the connected networks as type1 metrics with
the cost of 1, you need do the following:
[admin@Wandy] routing ospf> set redistribute-connected=as-type-1 \
\... metric-connected=1
[admin@Wandy] routing ospf> print
router-id: 0.0.0.0
distribute-default: never
redistribute-connected: as-type-1
redistribute-static: no
redistribute-rip: no
redistribute-bgp: no
metric-default: 1
metric-connected: 1
metric-static: 20
metric-rip: 20
metric-bgp: 20
[admin@Wandy] routing ospf>
Areas
routing ospf area
Description
TODO
There is one area that is configured by default - the backbone area which has the area-id=0.0.0.0.
The name and area-id for this area can not be changed.
Property Description
name (name; default: "") - OSPF area's name
area-id (IP address; default: 0.0.0.0) - OSPF area identifier
default-cost (integer; default: 1) - specifies the default cost used for stub reas. Applicable only to
area boundary routers
stub (yes | no; default: no) - specifies the area type
authetication (none | simple | md5; default: none) - Specifies authentication method for OSPF
protocol messages
• none - do not use authentication