Redistribute (Ospf) - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

redistribute (OSPF)

To inject routes from one routing domain into Open Shortest Path First (OSPF), use the redistribute
command. To remove the redistribute command from the configuration file and restore the system to
its default condition in which the software does not redistribute routes, use the no form of this command.
Syntax Description
bgp as-number
direct
eigrp id
ospf instance-tag
rip instance-tag
static
route-map map-name
Command Default
Route redistribution is disabled.
Command Modes
Router configuration mode
Router VRF configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
You should always use a route map to filter these routes to ensure that OSPF redistributes only the routes
that you intend.
You must configure a default metric to redistribute routes from another protocol into OSPF. You can
configure the default metric with the default-metric command or with the route map configured with
the redistribute command.
OL-27852-01
redistribute {bgp as-number | direct | eigrp id | ospf instance-tag | rip instance-tag | static}
[route-map map-name]
no redistribute {bgp as-number | direct | eigrp id | ospf instance-tag | rip instance-tag | static}
Modification
This command was introduced.
(Optional) Distributes routes from Border Gateway Protocol (BGP).
The as-number is a 2-byte or 4-byte autonomous system number. The
range for 2-byte numbers is from 1 to 65535. The range for 4-byte
numbers is from 1 to 4294967295.
Distributes routes that are directly connected on an interface.
Distributes routes from EIGRP. The id argument can be any
case-sensitive, alphanumeric string.
Distributes routes from the OSPF protocol. This protocol is
supported in the IPv4 address family. The instance-tag argument can
be any case-sensitive, alphanumeric string of up to 20 characters.
Distributes routes from the RIP protocol. The instance-tag can be a
maximum of 20 alphanumeric characters.
Redistributes IP static routes, including the default static route.
(Optional) Specifies the identifier of a configured route map. Use a
route map to filter which routes are redistributed into EIGRP. The
map-name argument can be a maximum of 63 alphanumeric
characters.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
redistribute (OSPF)
297

Advertisement

Table of Contents
loading

Table of Contents