Справочник Пользователя для Ulterius Technologies LLC FDN40
CHAPTER 15: OSPF
`FDN40ConfigUM/20160505
347
© Ulterius Technologies, LLC 2016. Confidential & Proprietary.
UltOs(config-router)# router-id 0.0.0.1
UltOs(config-router)# ASBR Router
UltOs(config-router)# network 20.0.0.2 area 0.0.0.0
UltOs(config-router)# exit
UltOs(config)# as-num 100
UltOs(config)# router-id 40.0.0.2
UltOs(config-router)# neighbor 40.0.0.5 remote-as 300
UltOs(config-router)# exit
Configurations at R3
UltOs(config)# router ospf
UltOs(config-router)# router-id 0.0.0.2
UltOs(config-router)# network 20.0.0.3 area 0.0.0.0
UltOs(config-router)# exit
Configurations at R5
UltOs(config)# as-num 300
UltOs(config)# router-id 40.0.0.5
UltOs(config-router)# neighbor 40.0.0.2 remote-as 100
UltOs(config-router)# exit
2. Do the following configurations in R2
In R2, create static routes and create a route-map aa.
UltOs(config)# ip route 91.0.0.0 255.0.0.0 vlan 24
UltOs(config)# ip route 92.0.0.0 255.0.0.0 vlan 24
UltOs(config)# route-map aa permit 1
UltOs(config-rmap-aa)# match destination ip 91.0.0.0 255.0.0.0
UltOs(config-rmap-aa)# end
UltOs#configure terminal
UltOs(config)# route-map aa deny 2
UltOs(config-rmap-aa)# match destination ip 93.0.0.0 255.0.0.0
UltOs(config-rmap-aa)#
3. Enable redistribution of static routes into OSPFv2 with route map aa.
UltOs(config)# router ospf
UltOs(config-router)# redistribute static route-map aa
4. Verify the route in R3, verify 91.0.0.0/8 is present in the general routing
table.
table.
UltOs# show ip route