4 PE-CE routing configuration
Customer1 advertises a BGP(AS65505) subnet 10.100.0.0/24. Configure eBGP session between CE_SiteA and
PE.
CE_SiteA
Configure the corresponding interfaces. Also create a route-map in which we specify the subnets allowed to be
advertised.
interface gigabitethernet 1/0/2
ip firewall disable
ip address 192.168.32.2/30
exit
interface loopback 1
ip address 10.100.0.1/24
exit
route-map OUTPUT
rule 1
match ip address 10.100.0.0/24
action permit
exit
exit
Configure eBGP between ESR1 and CE_SiteA.
router bgp log-neighbor-changes
router bgp 65505
router-id 192.168.32.1
neighbor 192.168.32.1
remote-as 65500
allow-local-as 1
update-source 192.168.32.2
address-family ipv4 unicast
route-map OUTPUT out
enable
exit
enable
exit
address-family ipv4 unicast
network 10.100.0.0/24
exit
enable
By default: the route advertising is prohibited for EBGP, you should configure an allow rule; for IBGP
route advertising is allowed.