Routes can be injected into BGP by route redistribution or by specifying the network prefixes to import into BGP.
Configuring BGP Route Injection describes how to inject routes into BGP.
Step | Task | Command(s) |
---|---|---|
1 | In BGP configuration mode, optionally specify network prefixes to be imported into BGP. | network prefix/length [route-map name][aspath-limit limit] [origin code] [med value] [local-pref value] |
2 | In BGP configuration mode, optionally specify that connected routes are redistributed into BGP. | redistribute connected [aspath-limit limit] [origin code] [med value] [local-pref value] [route-map name] |
3 | In BGP configuration mode, optionally specify that RIP routes are redistributed into BGP. | redistribute rip [aspath-limit limit] [origin code] [med value] [local-pref value] [route-map name] |
4 | In BGP configuration mode, optionally specify that static routes are redistributed into BGP. | redistribute static [aspath-limit limit] [origin code] [med value] [local-pref value] [route-map name] |
5 | In BGP configuration mode, optionally specify that OSPF routes are redistributed into BGP. | redistribute ospf proc-id [aspath-limit limit] [origin code] [med value] [local-pref value] [route-map name] |