R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
224
• Redistribute IGP routes.
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 unicast/multicast address family):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP IPv4 unicast address
family view, BGP-VPN IPv4
unicast address family view, or
BGP IPv4 multicast address
family view.
• Enter BGP IPv4 unicast address
family view:
a. bgp as-number
b. address-family ipv4
[ unicast ]
• Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[ unicast ]
• Enter BGP IPv4 multicast
address family view:
f. bgp as-number
g. address-family ipv4
multicast
N/A
3. Inject a local network to the
BGP routing table.
network ip-address [ mask |
mask-length ] [ route-policy
route-policy-name ]
By default, BGP does not advertise
any local network.
To inject a local network (IPv6 unicast/multicast address family):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A