Controlling route generation, Configuration prerequisites, Injecting a local network – H3C Technologies H3C SecPath F1000-E User Manual
Page 476
451
Step Command
Remarks
3.
Specify the source interface for
establishing TCP connections to
a peer or peer group.
peer { group-name | ip-address }
connect-interface interface-type
interface-number
By default, BGP uses the
outgoing interface of the best
route to the BGP peer/peer
group as the source interface
for establishing a TCP
connection to the peer/peer
group.
NOTE:
To establish multiple BGP connections between two routers, you need to specify the source interface for
establishing TCP connections to each peer on the local router; otherwise, the local BGP router may fail to
establish TCP connections to a peer when you use the outgoing interface of the best route to the peer as the
source interface.
Allowing establishment of EBGP connection to an indirectly connected peer/peer group
In general, direct physical links should be available between EBGP peers. If not, you can use the peer
ebgp-max-hop command to establish a TCP connection over multiple hops between two peers.
To allow establishment of EBGP connection to an indirectly connected peer/peer group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Allow the establishment of EBGP
connection to an indirectly
connected peer/peer group.
peer { group-name | ip-address }
ebgp-max-hop [ hop-count ]
Optional.
Not allowed by default.
NOTE:
The peer ebgp-max-hop command needs not be configured if the two EBGP peers are directly connected.
Controlling route generation
Different from IGP, BGP focuses on route generation and advertisement control and optimal route
selection.
Generating BGP routes can be done in the following ways:
•
Configure BGP to advertise local networks
•
Configure BGP to redistribute routes from other routing protocols, including the default route
Configuration prerequisites
BGP connections have been created.
Injecting a local network
In BGP view, you can inject a local network to allow BGP to advertise the network to BGP peers. The
origin attribute of routes advertised in this way is IGP. You can also reference a routing policy to flexibly
control route advertisement. The network to be injected must be available in the local IP routing table.
- 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