Configuring bgp route redistribution, Enabling default route redistribution into bgp – H3C Technologies H3C SecPath F1000-E User Manual
Page 477
452
To inject a local network:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Inject a network to the BGP
routing table.
network ip-address [ mask |
mask-length ] route-policy
route-policy-name
Optional.
Not injected by default.
Configuring BGP route redistribution
BGP does not find routes by itself. Rather, it redistributes routing information in the local AS from other
routing protocols. During route redistribution, you can configure BGP to filter routing information from
specific routing protocols.
The origin attribute of routes redistributed using the import-route command is Incomplete.
To configure BGP route redistribution:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Enable route redistribution from
a routing protocol into BGP.
import-route protocol [ { process-id |
all-processes } [ allow-direct | med
med-value | route-policy
route-policy-name ] * ]
Not enabled by default.
The allow-direct keyword is
available only when the
specified routing protocol is
OSPF.
NOTE:
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 enable default route redistribution into BGP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Enable route redistribution from
a routing protocol into BGP.
import-route protocol [ { process-id |
all-processes } [ allow-direct | med
med-value | route-policy
route-policy-name ] * ]
Not redistributed by default
The allow-direct keyword is
available only when the
specified routing protocol is
OSPF.
4.
Enable default route
redistribution into BGP.
default-route imported
Optional.
Not enabled by default.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer