![Cisco Nexus 3548 series Command Reference Manual Download Page 313](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162313.webp)
293
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
redistribute (BGP)
redistribute (BGP)
To inject routes from one routing domain into the Border Gateway Protocol (BGP), 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.
redistribute
{
direct
|
eigrp
instance-tag
|
ospf
instance-tag
|
rip
instance-tag
|
static
} [
route-map
map-name
]
no redistribute
{
direct
|
eigrp
instance-tag
|
ospf
instance-tag
|
rip
instance-tag
|
static
}
[
route-map
map-name
]
Syntax Description
Command Default
Disabled
Command Modes
Address family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
Usage Guidelines
You should always use a route map to filter these routes to ensure that BGP redistributes only the routes
that you intend to redistribute.
You must configure a default metric to redistribute routes from another protocol into BGP. You can
configure the default metric with the
default-metric
command or with the route map configured with
the
redistribute
command.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to redistribute BGP routes into an EIGRP autonomous system:
direct
Distributes routes that are directly connected on an interface.
eigrp
instance-tag
Specifies the name of an EIGRP instance. The
instance-tag
can be
any case-sensitive, alphanumeric string up to 20 characters.
ospf
instance-tag
Distributes routes from the OSPF protocol. This protocol is
supported in the IPv4 address family. The
instance-tag
can be any
case-sensitive, alphanumeric string up to 20 characters.
rip
instance-tag
Distributes routes from the RIP protocol. The
instance-tag
can be any
case-sensitive, alphanumeric string up to 20 characters.
static
Redistributes IP static routes.
route-map
map-name
(Optional) Specifies the identifier of a configured route map. Use a
route map to filter which routes are redistributed into EIGRP.
Release
Modification
5.0(3)A1(1)
This command was introduced.