F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
477
Ste
p
Command
Remarks
496. Enter system view. system-view N/A
497. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either approach.
498. Inject a local network to the
BGP routing table.
network ip-address [ mask |
mask-length ] [ route-policy
route-policy-name ]
Optional.
Not injected by default.
The network to be injected must be
available and active in the local IP
routing table.
1490BRedistributing IGP routes
Perform this task to configure route redistribution from an IGP to BGP.
By default, BGP does not redistribute default IGP routes. You can use the default-route imported
command to redistribute default IGP routes into the BGP routing table.
The ORIGIN attribute of BGP routes redistributed from IGPs is INCOMPLETE.
Only active routes can be redistributed. You can use the display ip routing-table protocol command to
view route state information. For more information about the display ip routing-table protocol command,
see Layer 3—IP Routing Command Reference.
To configure BGP to redistribute IGP routes:
Ste
p
Command
Remarks
499. Enter system view.
system-view N/A
500. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either approach.
501. Enable route redistribution
from IGP 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.
502. Enable default route
redistribution into BGP.
default-route imported Not enabled by default.