5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1090
Command Mode
Global Config
Example
The following example shows how to configure a RD for a VRF instance in ASN format.
(Router)(Config)#ip vrf Red
(Router)(Config-vrf-Red)#rd 62001:10
(Router)(Config-vrf-Red)#exit
The following example shows how to configure a RD for a VRF instance in IP address format.
(Router)(Config)#ip vrf Red
(Router)(Config-vrf-Red)#rd 192.168.10.1:10
(Router)(Config-vrf-Red)#exit
The following example shows how to configure a RD for a VRF instance in 4-byte ASN format.
(Router)(Config)#ip vrf Green
(Router)(Config-vrf-Red)#rd 77777:20
(Router)(Config-vrf-Red)#exit
11-97 redistribute (BGP Router Config)
This command configures BGP to advertise routes learned by means outside of BGP. BGP can
redistribute local (connected), static, and OSPF routes.
The distribute-list out command can also be used to filter redistributed routes by prefix. Eithera
redistribute route map or a distribute list may be configured, but not both.
A default route cannot be redistributed unless the
“default-information originate”
command is given.
If a route map is configured,
match as-path
and
match community
terms are ignored. If no route map is
configured with the name given, no prefixes are redistributed.
Use the
no
command to remove the configuration for the redistribution for BGP protocol from the
specified source protocol/routers. The command
no redistribute ospf match external 1
will withdraw
only OSPF external type 1 routes, ospf inter routes will still be redistributing.
redistribute {ospf |connected | static} [metric metric-value] [match {internal | external 1 | external
2 | nssa-external 1 | nssa-external 2}] [route-map map-tag]
no redistribute {ospf |connected | static} [metric metric-value] [match {internal | external 1 |
external 2 | nssa-external 1 | nssa-external 2}] [route-map map-tag]
Parameters
ospf |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,
the MED is set to the default metric. If a default metric is not configured,