Information
The Cisco BGP router must be configured to reject outbound route advertisements for any prefixes belonging to the IP core.
GROUP ID: V-216691
RULE ID: SV-216691r929058
Outbound route advertisements belonging to the core can result in traffic either looping or being black holed, or at a minimum, using a non-optimized path.
Solution
Step 1: Configure a prefix list for containing all customer and local AS prefixes as shown in the example below:
R1(config)#ip prefix-list FILTER_CORE_PREFIXES deny x.1.1.0/24 le 32
R1(config)#ip prefix-list FILTER _CORE_PREFIXES deny x.1.2.0/24 le 32
R1(config)#ip prefix-list FILTER _CORE_PREFIXES permit 0.0.0.0/0 ge 8
Step 2: Apply the prefix list filter outbound to each CE neighbor as shown in the example.
router bgp xx
address-family ipv4
neighbor x.1.4.12 prefix-list FILTER _CORE_PREFIXES out