ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
252 Confidential and Proprietary Information of ZTE CORPORATION
BGP Configuration Example
An integrated BGP example is given in the following. Where, the
actual application of BGP functions such as route aggregation
and static route redistribution.
As shown in
Figure 104, EBGP adjacency is set up between R4
and R1, IBGP adjacency is set up between R1 and R2, and multi-
hop EBGP adjacency is set up between R2 and R5. Where,
suppose R4 has four static routes marked on the upper right
corner of the figure. In the configuration of R4, only network
section 192.16.0.0/16 is aggregated and advertised, and
furthermore, a route map is used to disable the advertisement of
network section 170.16.10.0/24 by means of BGP.
The EBGP multi-hop relation is set up between R2 and R5
through R3. In this case, before BGP configuration, make sure
that the IP addresses for the two routers to set up adjacency can
implement mutual inter-working.
FIGURE 104 BGP CONFIGURATION EXAMPLE
155.16.10.0/24
172.16.1.2/16
172.16.1.1/16
173.16.20.2/16
172.16.20.2/16
172.16.20.1/16
183.16.20.2/16
AS3AS2
AS1
Static route:
192.16.20.0/24
192.16.21.0/24
192.16.22.0/24
170.16.10.0/24
R1 R2
R4 R3 R5
Configuration of R4:
ZXR10_R4(config)#router bgp 2
ZXR10_R4(config-router)#redistribute static
ZXR10_R4(config-router)#neighbor 172.16.20.2 remote-as 1
ZXR10_R4(config-router)#aggregate-address 192.16.0.0
255.255.0.0 count 0 as-set summary-only
ZXR10_R4(config-router)#neighbor 172.16.20.2 route-map
torouter1 out
Adjacency
Multihop
Relation