R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
370
AS-path : 100
Origin : igp
Attribute value : MED 0, localpref 100, pref-val 0, pre 255
State : valid, internal, best,
Not advertised to any peers yet
The output information indicates the following:
• Router E can send route information to Router B and Router C through the confederation by
establishing only an eBGP connection with Router A.
• Router B and Router D are in the same confederation, but belong to different sub ASs. They obtain
external route information from Router A and generate the same BGP route entries; it seems like that
they reside in the same AS although they have no direct connection in between.
BGP path selection configuration example
Network requirements
• In Figure 188, all routers run BGP. Between Router A and Router B, and between Router A and
Router C are eBGP connections. Between Router B and Firewall, and between Firewall and Router
C are iBGP connections.
• OSPF is the IGP protocol in AS 200.
• Configure routing policies to make Firewall give priority to the route 1.0.0.0/8 learned from Router
C.
Figure 188 Network diagram for BGP path selection configuration
Device Interface IP address Device Interface IP address
Router A Eth1/1 1.0.0.0/8
Firewall
GE0/0 195.1.1.1/24
S2/0 192.1.1.1/24
GE0/1 194.1.1.1/24
S2/1 193.1.1.1/24 Router C GE0/0 195.1.1.2/24
Router B S2/0 192.1.1.2/24
S2/1
193.1.1.2/24
GE0/0 194.1.1.2/24
Configuration procedure
1. Configure IP addresses for interfaces (omitted).
2. Configure OSPF on Routers B, Router C, and Firewall.
# Configure Router B.
<RouterB> system-view
[RouterB] ospf