•
•
•
•
•
Step Description Command Keys
37 Set the mode in which private numbers
of autonomous systems are removed
from the AS Path routes BGP attribute
before sending an update (in
accordance with RFC 6996). (optional,
none for vpnv4)
esr(config-bgp-neighbor-af)#
remove-private-as [ { all | nearest |
replace } ]
all – remove all private AS
number from AS-path;
nearest – replace the nearest
private AS in the AS-path with a
nearby public AS;
replace – replace all private AS
numbers with the number of
the current BGP process.
Default value: all.
38 Enable routing information exchange esr(config-bgp-neighbor-af)#
enable
It often happens, especially when configuring iBGP, that in one bgp process you need to configure several bgp
neighbor with the same parameters. To avoid configuration redundancy, it is recommended to use bgp peer-
group in which you can describe common parameters and it is easy to identify the bgp peer-group membership
in the bgp neighbor configuration.
11.5.2 Configuration example
Objective:
Configure BGP on the R3 router with the following parameters:
own subnets: 80.66.0.0/24, 80.66.16.0/24;
advertising of directly connected subnets;
proprietary AS 2500;
first neighbouring – subnet 219.0.0.0/30, proprietary IP address 219.0.0.1, neighbour IP address
219.0.0.2, AS2500;
second neighbouring – subnet 185.0.0.0/30, proprietary IP address 185.0.0.1, neighbour IP address
185.0.0.2, AS20.
Solution:
Configure required network interfaces: