Reference v4.1.0 Instruction Manual
610 Network OS Command Reference
53-1003115-01
redistribute (BGP)
2
redistribute (BGP)
Configures the device to redistribute OSPF, ISIS, or RIP routes, directly connected routes, or static
routes into BGP4.
Synopsis redistribute {connected | static} [metric num] | route-map string
no redistribute {connected | static} [metric num] | route-map string
Operands connected Redistributes connected routes.
static Redistributes static routes.
The range is from 0 through 4294967297.
string Specifies a route map to be consulted before an OSPF route is added to the
BGP4 routing table.
Defaults No value is assigned for num.
Command Modes BGP address-family IPv4 unicast configuration mode
Description By default, the device does not redistribute routing information between BGP4 and the IP interior
gateway protocol OSPF. Use this command to configure the device to redistribute OSPF, directly
connected routes, or static routes into BGP4. The routes can be filtered by means of an associated
route map before they are distributed.
Usage Guidelines Use the no form of the command to restore the defaults.
NOTE
The default-metric command does not apply to the redistribution of directly connected routes into
BGP4. Use a route map to change the default metric for directly connected routes.
Examples
switch(config)# rbridge-id 10
switch(config-rbridge-id-10)# router bgp
switch(config-bgp-router)# address-family ipv4 unicast
switch(config-bgp-ipv4u)# redistribute static metric 200
See Also default-metric (OSPF), route-map