Reference Guide

Table Of Contents
Enter which routes redistribute into the OSPFv2 process in ROUTER-OSPF mode.
redistribute {bgp as-number| connected | static} [route-map map-name]
bgp | connected | staticEnter a keyword to redistribute those routes.
route-map map-nameEnter the name of a configured route map.
Configure redistribute routes
OS10(conf-router-ospf-10)# redistribute bgp 4 route-map aloha
OS10(conf-router-ospf-10)# redistribute connected route-map aloha
OS10(conf-router-ospf-10)# redistribute static route-map aloha
View OSPF configuration
OS10(conf-router-ospf-10)# do show running-configuration ospf
!
router ospf 10
redistribute bgp 4 route-map aloha
redistribute connected route-map aloha
redistribute static route-map aloha
!
Default route
You can generate an external default route and distribute the default information to the OSPFv2 routing domain.
To generate the default route, use the default-information originate [always] command in ROUTER-OSPF
mode.
Configure default route
OS10(config)# router ospf 10
OS10(config-router-ospf-10)# default-information originate always
View default route configuration
OS10(config-router-ospf-10)# show configuration
!
router ospf 10
default-information originate always
Summary address
You can configure a summary address for an ASBR to advertise one external route as an aggregate, for all redistributed routes
that are covered by specified address range.
Configure the summary address in ROUTER-OSPF mode.
summary-address ip-address/mask [not-advertise | tag tag-value]
Configure summary address
OS10(config)# router ospf 100
OS10(config-router-ospf-100)# summary-address 10.0.0.0/8 not-advertise
View summary address
OS10(config-router-ospf-100)# show configuration
!
router ospf 100
summary-address 10.0.0.0/8 not-advertise
390
Layer 3