Basic Ospfv2 Configuration - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

Basic OSPFv2 Configuration

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
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
Notes:
• Save your configuration as described in the Verifying and Saving Your Configuration chapter.
Redistributing Routes Into OSPF (Optional)
Redistributing routes into OSPF means any routes from another protocol that meet specified a specified
criterion, such as route type, metric, or rule within a route-map, are redistributed using the OSPFv2 protocol
to all OSPF areas. This is an optional configuration.
config
context context_name
Notes:
• Save your configuration as described in the Verifying and Saving Your Configuration chapter.
ASR 5500 System Administration Guide, StarOS Release 21.4
276
router ospf
end
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.
router ospf
redistribute { connected
end
| static }
Routing

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents