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 }
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
.
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
router ospf
redistribute { connected
| static }
end
Notes:
•
Save your configuration as described in the
Verifying and Saving Your Configuration
chapter.
ASR 5500 System Administration Guide, StarOS Release 21.5
212
Routing
Basic OSPFv2 Configuration
Содержание ASR 5500
Страница 100: ...ASR 5500 System Administration Guide StarOS Release 21 5 74 System Interfaces and Ports VLANs and Management Ports ...
Страница 136: ...ASR 5500 System Administration Guide StarOS Release 21 5 110 Smart Licensing Smart Licensing Bulk Statistics ...
Страница 140: ...ASR 5500 System Administration Guide StarOS Release 21 5 114 Monitoring the System Clearing Statistics and Counters ...
Страница 260: ...ASR 5500 System Administration Guide StarOS Release 21 5 234 Routing Viewing Routing Information ...
Страница 278: ...ASR 5500 System Administration Guide StarOS Release 21 5 252 BGP MPLS VPNs VPN Related CLI Commands ...
Страница 292: ...ASR 5500 System Administration Guide StarOS Release 21 5 266 Session Recovery Sample Output for show rct stats verbose ...
Страница 324: ...ASR 5500 System Administration Guide StarOS Release 21 5 298 Interchassis Session Recovery Fallback Procedure ...
Страница 338: ...ASR 5500 System Administration Guide StarOS Release 21 5 312 Engineering Rules ECMP Groups ...
Страница 362: ...ASR 5500 System Administration Guide StarOS Release 21 5 336 StarOS Tasks Management Processes ...