OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

redistribute

Redistributes connected, static, and OSPF routes in BGP.

Syntax
redistribute {connected [route-map map name] | ospf process-id | static [route-map map name ]}
Parameters
  • connected — Enter to redistribute routes from physically connected interfaces.
  • route-map map name — (Optional) Enter the name of a configured route-map.
  • ospf process-id — Enter a number for the OSPF process (1 to 65535).
  • static — Enter to redistribute manually configured routes.
Default
Disabled
Command Mode
ROUTER-BGPv4-AF or ROUTER-BGPv6-AF
Usage Information
Static routes are treated as incomplete routes. When you use the redistribute ospf process-id command without other parameters, the system redistributes all OSPF internal routes, external type 1 routes, and external type 2 routes. The no version of this command resets the value to the default.
Example (Connected)
OS10(conf-router-bgp-102)# address-family ipv4 unicast 
                                       OS10(conf-router-bgpv4-af)# redistribute connected route-map mapbgp1
                                       
                                    
Example (Static — IPv4)
OS10(conf-router-bgp-102)# address-family ipv4 unicast 
                                       OS10(conf-router-bgpv4-af)# redistribute static route-map mapbgp2 
                                       
                                    
Example (Static — IPv6)
OS10(conf-router-bgp-102)# address-family ipv6 unicast 
                                       OS10(conf-router-bgpv6-af)# redistribute static 
                                       
                                    
Example (OSPF — IPv4)
OS10(conf-router-bgp-102)# address-family ipv4 unicast 
                                       OS10(conf-router-bgpv4-af)# redistribute ospf 1
                                       
                                    
Example (OSPF — IPv6)
OS10(conf-router-bgp-102)# address-family ipv6 unicast 
                                       OS10(conf-router-bgpv6-af)# redistribute ospf 1
                                       
                                    
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\