Controlling Route Generation; Configuration Prerequisites; Injecting A Local Network - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Step
Enter BGP view or
2.
BGP-VPN instance view.
Specify the source
3.
interface for establishing
TCP connections to a peer
or peer group.

Controlling route generation

BGP can generate routes can be done in the following ways:
Advertise local networks.
Redistribute IGP routes.

Configuration prerequisites

Create and configure a routing policy. For more information, see "Configuring routing policies."

Injecting a local network

Perform this task to inject a network in the local routing table to the BGP routing table, so that 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 flexibly control route advertisement.
To inject a local network:
Step
Enter system view.
1.
Enter BGP view or
2.
BGP-VPN instance view.
Inject a local network to the
3.
BGP routing table.
Command
Enter BGP view:
bgp as-number
Enter BGP-VPN instance
view:
a. bgp as-number
b. ipv4-family
vpn-instance
vpn-instance-name
peer { group-name | ip-address }
connect-interface interface-type
interface-number
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance
view:
a. bgp as-number
b. ipv4-family
vpn-instance
vpn-instance-name
network ip-address [ mask |
mask-length ] route-policy
route-policy-name
203
Remarks
Use either method.
By default, BGP uses the outbound
interface of the best route to the
BGP peer or peer group as the
source interface for establishing a
TCP connection to the peer or peer
group.
Remarks
N/A
Use either method.
Optional.
Not injected by default.
The network to be injected must
be available and active in the local
IP routing table.

Advertisement

Table of Contents
loading

Table of Contents