Cisco ASA Series Cli Configuration Manual page 673

Software version 9.0 for the services module
Hide thumbs Also See for ASA Series:
Table of Contents

Advertisement

Chapter 1
Configuring OSPF
Removing the OSPF Configuration
To remove the entire OSPFv2 configuration that you have already enabled, enter the following
command:
Command
clear configure router ospf pid
Example:
hostname(config)# clear configure router
ospf 1000
To remove the entire OSPFv3 configuration that you have already enabled, enter the following
command:
Command
clear configure ipv6 router ospf
process-id
Example:
hostname(config)# clear configure ipv6
router ospf 1000
Configuration Example for OSPFv2
The following example shows how to enable and configure OSPFv2 with various optional processes:
Step 1
To enable OSPFv2, enter the following commands:
hostname(config)# router ospf 2
hostname(config-rtr)# network 10.0.0.0 255.0.0.0 area 0
Step 2
(Optional) To redistribute routes from one OSPFv2 process to another OSPFv2 process, enter the
following commands:
hostname(config)# route-map 1-to-2 permit
hostname(config-route-map)# match metric 1
hostname(config-route-map)# set metric 5
hostname(config-route-map)# set metric-type type-1
hostname(config-route-map)# router ospf 2
hostname(config-rtr)# redistribute ospf 1 route-map 1-to-2
Step 3
(Optional) To configure OSPFv2 interface parameters, enter the following commands:
hostname(config)# router ospf 2
hostname(config-rtr)# network 10.0.0.0 255.0.0.0 area 0
hostname(config-rtr)# interface inside
hostname(config-interface)# ospf cost 20
hostname(config-interface)# ospf retransmit-interval 15
hostname(config-interface)# ospf transmit-delay 10
hostname(config-interface)# ospf priority 20
hostname(config-interface)# ospf hello-interval 10
Purpose
Removes the entire OSPFv2 configuration that you have enabled. After the
configuration is cleared, you must reconfigure OSPF using the router ospf
command.
Purpose
Removes the entire OSPFv3 configuration that you have enabled. After the
configuration is cleared, you must reconfigure OSPFv3 using the ipv6
router ospf command.
Cisco ASA Series CLI Configuration Guide
Removing the OSPF Configuration
1-41

Advertisement

Table of Contents
loading

Table of Contents