Explains how configuring inbound and outbound policies for eBGP neighbors prevents accidental route acceptance or advertisement and enhances security by enforcing routing policies.
Routing policy enforcement is a feature that
-
requires configuring inbound and outbound policies for external BGP (eBGP) neighbors
-
prevents accidental route acceptance or advertisement, and
-
provides an added security measure against configuration omission errors.
Routing policy enforcement behavior
If you do not configure a policy, BGP does not accept any routes from the neighbor, nor does it advertise any routes to it. This enforcement affects only eBGP neighbors, which are neighbors in a different autonomous system than this router. For internal BGP (iBGP) neighbors, which are neighbors in the same autonomous system, BGP accepts or advertises all routes if there is no policy.