跳到主要内容

6. 操作 (Operation)

当 RR 从 IBGP peer 收到 route 时, 它会基于其 path selection rule 选择 best path. best path 选定后, 它必须根据接收该 best path 的 peer 类型执行以下操作:

  1. 来自 Non-Client IBGP peer 的 route:

    反射给所有 Clients.

  2. 来自 Client peer 的 route:

    反射给所有 Non-Client peers, 也反射给 Client peers. (因此 Client peers 不要求 full mesh.)

一个 Autonomous System 可以有多个 RRs. RR 对待其他 RRs 的方式与对待任何其他 internal BGP speakers 相同. RR 可以配置为将其他 RRs 置于 Client group 或 Non-client group 中.

在简单配置中, backbone 可以划分为多个 clusters. 每个 RR 将其他 RRs 配置为 Non-Client peers (因此所有 RRs 都将 full mesh). Clients 将被配置为仅与其 cluster 中的 RR 维护 IBGP session. 由于 route reflection, 所有 IBGP speakers 都会收到反射的 routing information.

Autonomous System 中可能存在不理解 route reflectors 概念的 BGP speakers (这里称为 conventional BGP speakers). route reflector scheme 允许这类 conventional BGP speakers 共存. Conventional BGP speakers 可以是 Non-Client group 或 Client group 的成员. 这允许从当前 IBGP model 平滑且渐进地迁移到 route reflection model. 可以先将单个 router 配置为指定 RR, 并将其他 RRs 及其 clients 配置为普通 IBGP peers, 从而开始创建 clusters. 后续可以逐步创建更多 clusters.