ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
230 Confidential and Proprietary Information of ZTE CORPORATION
TABLE 282 BGP-NEIGHBOUR COMMAND
Command
Format
Command
Mode
Command Function
neighbor <ip-
address>
remote-as
<number>
BGP route
This configures a BGP neighbor
Result: This sets BGP neighbor for BGP communication.
4. To advertise network into BGP, use network <ip-address>
<net-mask> command in BGP route mode as shown in
Table
283.
TABLE 283 BGP-NETWORK COMMAND
Command
Format
Command
Mode
Command Function
network
<ip-
address>
<net-
mask>
BGP route
This designates a network table
for BGP routing process
Result: This advertises a network into BGP routing process.
E
ND OF STEPS
Example: Figure 94 shows a BGP configuration example. Where,
router R1 belongs to AS 100, while router R2 belongs to AS 200.
FIGURE 94 BASIC BGP CONFIGURATION EXAMPLE
AS100 AS200
10.1.1.2/30
10.1.1.1/30
182.16.0.0/16 182.17.0.0/16
R1 R2
Configuration of R1:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 10.1.1.1 remote-as 200
ZXR10_R1(config-router)#network 182.16.0.0 255.255.0.0
Configuration of R2:
ZXR10_R2(config)#router bgp 200
ZXR10_R2(config-router)#neighbor 10.1.1.2 remote-as 100
ZXR10_R3(config-router)#network 182.17.0.0 255.255.0.0
In the above configuration, R1 and R2 mutually define the peer
party as the BGP neighbor. Since R1 and R2 belong to different
ASs, an EBGP session needs to be set up. R1 will advertise on