Injecting A Local Network; Redistributing Igp Routes - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Injecting a local network

Perform this task to inject a network in the local routing table to the BGP routing table, so BGP can
advertise the network to BGP peers. The ORIGIN attribute of BGP routes advertised in this way is IGP.
You can also use a routing policy to control route advertisement.
The specified network must be available and active in the local IP routing table.
To inject a local network (IPv4):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv4 unicast
instance view or BGP-VPN
IPv4 unicast instance view.
4.
Inject a local network to the
BGP routing table.
To inject a local network (IPv6):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv6 unicast
instance view or BGP-VPN
IPv6 unicast instance view.
4.
Inject a local network to the
IPv6 BGP routing table.

Redistributing 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.
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
ipv4-family [ unicast ]
network ip-address [ mask |
mask-length ] [ route-policy
route-policy-name ]
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
ipv6-family [ unicast ]
network ipv6-address prefix-length
[ route-policy route-policy-name ]
181
Remarks
N/A
N/A
N/A
By default, BGP does not advertise
any local network.
Remarks
N/A
N/A
N/A
By default, BGP does not advertise
any local network.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents