Cisco Cisco Packet Data Interworking Function (PDIF) Guía De Administador
Routing
▀ OSPF Routing
▄ Cisco ASR 5000 System Administration Guide
270
Externally derived routing data (for example, routes learned from an exterior protocol such as BGP) is advertised
throughout the AS. This externally derived data is kept separate from the OSPF ink state data.
throughout the AS. This externally derived data is kept separate from the OSPF ink state data.
Each external route can also be tagged by the advertising router, enabling the passing of additional information between
routers on the boundary of the AS.
routers on the boundary of the AS.
OSPF uses a link-state algorithm to build and calculate the shortest path to all known destinations.
Basic OSPFv2 Configuration
This section describes how to implement basic OSPF routing.
Enabling OSPF Routing For a Specific Context
Use the following configuration example to enable OSPF Routing for a specific context:
config
context context_name
router ospf
end
Notes:
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
Enabling OSPF Over a Specific Interface
After you enable OSPF, specify the networks on which it will run. Use the following command to enable OSPF:
network network_ip_address/network_mask area { area_id | area_ip_address }
Important:
The default cost for OSPF on the system is 10. To change the cost, refer to the ip ospf cost command
in the Ethernet Interface Configuration Mode Commands chapter of the Command Line Interface Reference.
Notes:
Save your configuration as described in the Verifying and Saving Your Configuration chapter.