Administrator Guide

Layer 3 Routing Commands 1327
Command History
Introduced in version 6.3.0.1 firmware.
Example
The following example shows how to configure an RD for a VRF instance in
ASN format:
console(config)#ip vrf Customer_A
console(config-vrf-Customer_A)#rd 62001:10
console(config-vrf-Customer_A)#exit
The following example shows how to configure an RD for a VRF instance in
IPv4 address format:
console(config)#ip vrf Customer_A
console(config-vrf-Customer_A)#rd 192.168.10.1:10
console(config-vrf-Customer_A)#exit
redistribute (BGP Router Configuration)
The redistribute command configures BGP to advertise routes learned by
means outside of BGP. BGP can redistribute local (connected), static, OSPF,
and RIP routes.
Syntax
redistribute { ospf [match {[internal][external 1] [external 2] [nssa-external
1] [nssa-external 2]} ] | rip | connected | static} [metric
metric-value
]
[route-map
map-tag
]
no redistribute { ospf [match {[internal][external 1] [external 2] [nssa-
external 1] [nssa-external 2]} ] | rip | connected | static} [metric
metric-
value
] [route-map
map-tag
]
ospf, rip, connected, static—
A source of routes to redistribute.
metric
metric-value
(Optional) When this option is specified, BGP
advertises the prefix with the Multi Exit Discriminator path attribute set
to the configured value. If this option is not specified, but a default metric
is configured for BGP (
default metric
command), the MED is set to the
default metric. If both a default metric and a metric value are not
configured, the prefix is advertised without a MED attribute.
2CSNXXX_SWUM204.book Page 1327 Monday, January 25, 2016 1:25 PM