SV-283904r1204034_rule
V-283904
SRG-NET-000018-RTR-000005
NOKI-RT-000930
CAT II
10
Configure all eBGP routers to filter outbound route advertisements for prefixes that are not allocated to or belong to any customer or the local AS.
Create a prefix list using the configuration below:
- config>router>policy-options# begin
- config>router>policy-options# prefix-list "Customer Prefix"
- config>router>policy-options>prefix-list$ prefix 192.168.100.0/24 prefix-length-range 24-32
- config>router>policy-options>prefix-list$ prefix 192.168.200.0/24 prefix-length-range 24-32
- config>router>policy-options>prefix-list$ exit
Create a policy statement using the configuration below:
- config>router>policy-options# policy-statement "Advertise Customer"
- config>router>policy-options>policy-statement$ entry 10
- config>router>policy-options>policy-statement>entry$ from prefix-list "Customer Prefix"
- config>router>policy-options>policy-statement>entry$ action accept
- config>router>policy-options>policy-statement>entry>action$ exit
- router>policy-options>policy-statement$ default-action reject
- config>router>policy-options>policy-statement$ exit
- config>router>policy-options# commit
- config>router>policy-options# exit
Apply the routing policy to the BGP neighbor using the configuration below:
- configure router bgp group "eBGP" export "Advertise Customer"
This requirement is not applicable for the DODIN Backbone.
Review the router configuration to verify a filter is defined to only advertise routes for prefixes that belong to any customers or the local AS.
Use the command below to view the prefix list:
- show router policy prefix-list "Customer Prefix"
prefix 192.168.100.0/24 prefix-length-range 24-32
prefix 192.168.200.0/24 prefix-length-range 24-32
Use the command below to view the policy statement:
- show router policy "Advertise Customer"
entry 10
from
prefix-list "Advertise Customer"
exit
action accept
exit
exit
default-action drop
exit
Use the command below to verify the policy is applied to the eBGP group:
- show router bgp group "eBGP" detail | match "Export Policy"
Export Policy : Advertise Customer
If the router is not configured to reject outbound route advertisements that belong to any customers or the local AS, this is a finding.
V-283904
False
NOKI-RT-000930
This requirement is not applicable for the DODIN Backbone.
Review the router configuration to verify a filter is defined to only advertise routes for prefixes that belong to any customers or the local AS.
Use the command below to view the prefix list:
- show router policy prefix-list "Customer Prefix"
prefix 192.168.100.0/24 prefix-length-range 24-32
prefix 192.168.200.0/24 prefix-length-range 24-32
Use the command below to view the policy statement:
- show router policy "Advertise Customer"
entry 10
from
prefix-list "Advertise Customer"
exit
action accept
exit
exit
default-action drop
exit
Use the command below to verify the policy is applied to the eBGP group:
- show router bgp group "eBGP" detail | match "Export Policy"
Export Policy : Advertise Customer
If the router is not configured to reject outbound route advertisements that belong to any customers or the local AS, this is a finding.
M
5746