两端配置
两端配置
# R1 (AS 65001)
router bgp 65001
bgp router-id 10.0.0.1
neighbor 10.0.0.2 remote-as 65002
# R2 (AS 65002)
router bgp 65002
bgp router-id 10.0.0.2
neighbor 10.0.0.1 remote-as 65001| 核对点 | 对端 remote-as 是否等于我方 AS |
|---|---|
| 验证 | show ip bgp summary 看 State/PfxRcd |
| 防误配 | 两端 router-id 不能相同,且建议唯一 |
地址族环境下需要显式 activate,否则邻居 Established 但无前缀交换。