To do...
Enter BGP view
Enable route redistribution from a
routing protocol into BGP
Only active routes can be redistributed. You can use the display ip routing-table protocol command
to display route state information.
Enabling Default Route Redistribution into BGP
Using the import-route command cannot redistribute a default route. To do so, complete the following
configuration.
Follow these steps to enable default route redistribution into BGP:
To do...
Enter system view
Enter BGP view
Enable route redistribution from a
routing protocol into BGP
Enable default route redistribution
into BGP
Controlling Route Distribution and Reception
Prerequisites
BGP connections have been created.
Use the command...
bgp as-number
import-route protocol { process-id
| all-processes } [ allow-direct |
med med-value | route-policy
route-policy-name ] * ]
Use the command...
system-view
bgp as-number
import-route protocol
[ { process-id | all-processes }
[ allow-direct | med med-value |
route-policy route-policy-name ]
* ]
default-route imported
6-22
Remarks
—
Required
Not enabled by default
Currently, the allow-direct
keyword is available only when the
specified routing protocol is OSPF.
Remarks
—
—
Required
Not redistributed by default
Currently, the allow-direct
keyword is available only when the
specified routing protocol is OSPF.
Optional
Not enabled by default