Default Metrics; Configuring Ospf For Nbma Networks - Juniper IGP - CONFIGURATION GUIDE V11.1.X Configuration Manual

Software for e series broadband services routers ip, ipv6, and igp configuration guide
Table of Contents

Advertisement

JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Table 12: Methods and Precedence for Calculating OSPF Interface Cost (continued)
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:
Alternatively, you can create one or more route maps that set the metric and apply
them selectively to redistributed routes:
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.
288
Configuring OSPF for NBMA Networks
Cost Calculation Method
Issuing auto-cost
reference-bandwidth command
host1(config)#router ospf 5
host1(config-router)#redistribute bgp metric 5
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
Configure an interface network type as NBMA for OSPF.
host1(config-subif)#ip ospf network non-broadcast
Precedence
Takes the lowest precedence. The router uses the
reference bandwidth configured on the OSPF interface
for cost calculation.

Advertisement

Table of Contents
loading

Table of Contents