1.AS覆盖:
其功能允许提供商边缘 (PE) 路由器更改客户边缘 (CE) 设备在 VPN 路由和转发访问链路上运行的外部 BGP 会话上使用的私有自治系统。私有AS号变更为PEAS号。
2. 允许进入:
即使路由器在 AS-Path 中检测到自己的 ASN,此功能也允许接收和处理路由。如果路由器在 AS-Path 中看到其 ASN 作为环路预防机制,则它会丢弃 BGP 网络前缀。
AS Override 和 Allowas In 之间的区别:
Parameter | AS Override | Allowas In |
---|---|---|
Overview | It is used by PE to modify AS path. This is done so that prefix is not dropped on default behavior of BGP to disallow its own AS member in AS path of prefix. | It is used as an AS path loop prevention mechanism where default behavior of BGP is to not allow its own AS number in AS Path of prefix. |
Output | AS Override feature replaces AS in BGP updates to local AS. | It updates in the BGP that contains local AS is permitted by Allowace In. |
Configured at | Its feature is configured at Service Provider End. | Its feature is configured on Customer End. |
Configuration | It is configured under: router bgp neighbor as-override |
Configured under router bgp neighbor allowas-in |
AS Path | There is modification in AS path. | There is no modification in AS path. |
Scope. | Configuration performed at Service provider end. | Configuration performed at Service provider end. |
Most optimal use. | This approach is best used when customer requires to keep minimum configuration at CE side. | This approach is best used to introduce an exception in BGP as a loop prevention mechanism. |