JunosE 11.3.x IP, IPv6, and IGP Configuration Guide
auto-cost reference-bandwidth
ospf auto-cost reference-bandwidth
272
Configure a route map that matches the previous access list and applies a metric
3.
type 1 (OSPF).
host1(config)#route-map boston
host1(config-route-map)#match ip address boston
host1(config-route-map)#set metric-type type-1
Configure redistribution of the static routes into OSPF with route map boston.
4.
host1(config)#router ospf 2
host1(config-router)#redistribute static route-map boston
Use the show ip ospf database command to verify the effect of the redistribution
5.
(that the two static routes matching the route map are redistributed as external
type 1).
host1#show ip ospf database
OSPF Database
Router Link States (Area 0.0.0.0)
Link ID
ADV Router
192.168.1.250
192.168.1.250
192.168.254.7
192.168.254.7
Network Link States (Area 0.0.0.0)
Link ID
ADV Router
192.168.1.214
192.168.254.7
AS External Link States
Link ID
ADV Router
20.20.20.0
192.168.1.250
20.20.21.0
192.168.1.250
Use the no version of the access-list command to remove the access list or the specified
entry in the access list.
Use the no version of the route-map command to remove an entry.
See access-list
See route-map
Use to calculate the OSPFv2 or OSPFv3 interface cost according to bandwidth.
Sets the OSPF metric for an interface according to the bandwidth specified.
Affects OSPF metrics for existing OSPFv2 interfaces and OSPFv2 interfaces created
after the execution of this command.
Affects OSPF metrics for only OSPFv3 interfaces created after the execution of this
command.
This command's value overrides the cost resulting from the command.
If you want this command to apply to OSPF interfaces already configured, you need
to bounce the existing interfaces: Use the no network and then the network command
for the selected OSPF interfaces.
Example 1—OSPFv2
Age
Seq#
3
0x80000006
220
0x80000169
Age
Seq#
220
0x80000001
Age
Seq#
3
0x80000001
3
0x80000001
Copyright © 2010, Juniper Networks, Inc.
Checksum
0x39a1
0xd2b5
Checksum
0xe0f2
Checksum
0x6045
0x554f
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP-IPV6-IGP CONFIGURATION GUIDE 2010-10-31 and is the answer not in the manual?
Questions and answers