UMN:CLI User Manual
V5808
562
To release the configuration, use the following command.
Release the configuration.
11.2.13 External Routes to OSPF Network
If other routing protocol redistribute into OSPF network, these routes become OSPF
external routes. Other routing protocols are RIP and BGP. And static route, connected
route, kernel route are also external route. Those routing information can distribute into
OSPF network.
There are 5 kinds of additional configuration about external routes to OSPF network.
metric is configures Metric value of the default route, metric-type is for type of finding
the path. metric-type 1 uses internal path cost with external path cost as a cost, metric
type 2 always uses external cost value. route-map is transmission of specific routing
information to assigned route which has MAP-NAME, and, tag is using the assign tag
number on the specific MAP-NAME. When there is a major net that is subnetted, you
need to use the subnet command to redistribute protocols into OSPF. Without this
keyword, OSPF only redistributes major nets that are not subnetted.
Those 5 kinds of additional configuration can be selected more than two options without
order, and it applies to consistent across all external routes in an attached network.
The following is explaining 5 options of command:
• metric <0-16777214>
• metric-type <1-2>
• route-map MAP-NAME
• tag <0-4294967295>
• subnets
To configure the external route transmission, use the following command.
redistribute {bgp | connected | kernel | rip |
static | ospf <0-65535>}
Configures the external route
transmission.
redistribute {bgp | connected | kernel | rip |
static | ospf <0-65535>} metric <0-16777214>
redistribute {bgp | connected | kernel | rip |
static | ospf <0-65535>} metric-type <1-2>
redistribute {bgp | connected | kernel | rip |
static| ospf <0-65535>} route-map MAP-NAME
redistribute {bgp | connected | kernel | rip |
static| ospf <0-65535>} tag <0-4294967295>
redistribute {bgp | connected | kernel | rip |
static| ospf <0-65535>} subnets