Juniper IGP - CONFIGURATION GUIDE V11.1.X Configuration Manual page 303

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

Advertisement

auto-cost reference-bandwidth
ospf auto-cost reference-bandwidth
host1(config)#ip route 20.20.20.0 255.255.255.0 192.168.1.0
host1(config)#ip route 20.20.21.0 255.255.255.0 192.168.1.0
host1(config)#ip route 20.21.0.0 255.255.255.0 192.168.1.0
Configure an access list with filters on routes 20.20.20.0/24 and
2.
20.20.21.0/24.
host1(config)#access-list boston permit 20.20.0.0 0.0.255.255
Configure a route map that matches the previous access list and applies a
3.
metric 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
5.
redistribution (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.
Chapter 5: Configuring OSPF
Age
Seq#
Checksum
3
0x80000006
0x39a1
220
0x80000169
0xd2b5
Age
Seq#
Checksum
220
0x80000001
0xe0f2
Age
Seq#
Checksum
3
0x80000001
0x6045
3
0x80000001
0x554f
Configuring Additional Parameters
279

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IGP - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?

Questions and answers

Table of Contents