F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
297
As shown in Figure 166, EBGP runs between Router B and LB, and between Router B and Router A.
Configure NO_EXPORT community attribute on LB to make routes from AS 10 not advertised by AS 20
to any other AS.
Figure 166 Network diagram
2. Configuration procedure
a. Configure IP addresses for interfaces. (Details not shown.)
b. Configure EBGP connections:
# Configure LB.
<LB> system-view
[LB] bgp 10
[LB-bgp] router-id 1.1.1.1
[LB-bgp] peer 200.1.2.2 as-number 20
[LB-bgp] network 9.1.1.0 255.255.255.0
[LB-bgp] quit
# Configure Router B.
<RouterB> system-view
[RouterB] bgp 20
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 200.1.2.1 as-number 10
[RouterB-bgp] peer 200.1.3.2 as-number 30
[RouterB-bgp] quit
# Configure Router A.
<RouterA> system-view
[RouterA] bgp 30
[RouterA-bgp] router-id 3.3.3.3
[RouterA-bgp] peer 200.1.3.1 as-number 20
[RouterA-bgp] quit
# Display BGP routing table information on Router B.
[RouterB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 20
Paths: 1 available, 1 best
BGP routing table entry information of 9.1.1.0/24: