Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

BGP Allowas-In

This feature turns off BGPs check of its own AS number in the AS_PATH attribute.

This command is run on R1 and R2.

Example

  • eBGP
  • Two BGP speakers with the same AS
          ┌─ eBGP ─┐        ┌─ eBGP ─┐          
          ▼        ▼        ▼        ▼          
 ┌────────┐        ┌────────┐        ┌────────┐ 
 │   R1   │        │  ISP   │        │   R2   │ 
 │AS 64496├────────┤AS 64511├────────┤AS 64496│ 
 └────────┘        └────────┘        └────────┘ 
10.64.1.0/24                        10.64.2.0/24

R1 and R2 would like to exchange reachability information with each other, but the ISP router is between them.

When R1 gets R2s info, without this command, it will drop the routes.

References

Peter Paluch - Allowas-IN - Cisco Community

Configure Allowas-in Feature in BGP - Cisco

Last Modified • Sunday, June 14, 2026. 5:02 pm UTC+00:00 • Commit: 3aedc3f