Table 12: Methods and Precedence for Calculating OSPF Interface Cost
(continued)
Precedence
Cost Calculation Method
Takes the lowest precedence. The router uses the
reference bandwidth configured on the OSPF interface
for cost calculation.
Issuing
auto-cost
reference-bandwidth
command
NOTE:
If you do not use any of the preceding methods to configure the OSPF interface
cost, the router uses the interface speed to calculate the interface cost.
Default Metrics
Although the router does not support a
default-metric
command, the
redistribute
command provides two ways to set a default metric for redistributed routes.
You can simply configure a metric with the
redistribute
command to apply to all
routes redistributed from the specified source protocol:
host1(config)#
router ospf 5
host1(config-router)#
redistribute bgp metric 5
Alternatively, you can create one or more route maps that set the metric and apply
them selectively to redistributed routes:
host1(config)#
access-list 1 permit any any
host1(config)#
route-map defmetric
host1(config-route-map)#
match ip address 1
host1(config-route-map)#
set metric 10
host1(config-route-map)#
exit
host1(config)#
router ospf 5
host1(config-router)#
redistribute bgp route-map defmetric
host1(config-router)#
redistribute isis route-map defmetric
See
JUNOSe IP Services Configuration Guide
, for information about configuring route
maps.
Configuring OSPF for NBMA Networks
You can configure OSPF nonbroadcast multiaccess (NBMA) networks. You can
configure your OSPF network type as NBMA, regardless of the default medium. This
configuration is useful when, for example, you have routers in your network that do
not support multicast addressing.
You must use the
neighbor
command to specify the router’s OSPF neighbors.
To configure OSPF for an NBMA network:
1.
Configure an interface network type as NBMA for OSPF.
host1(config-subif)#
ip ospf network non-broadcast
288
■
Configuring OSPF for NBMA Networks
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Содержание IGP - CONFIGURATION GUIDE V11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 148: ...Set clauses set local pref 400 See show route map 124 Monitoring IP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 439: ...Part 3 Index Index on page 417 Index 415...
Страница 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...