API Guide

Identifier GUID-69EDA0BD-CA67-4E0D-A08F-2D87F8D9589A
Version 5
Status Translation approved
路由映射筛选器
筛选路由允许您实施 BGP 策略。使用路由映射来控制 BGP 邻居或对等组接受和通告的路由。
1. 输入要在 ROUTER-BGP 模式下筛选路由的邻居 IP 地址。
neighbor ipv4-address
2. ROUTER-NEIGHBOR 模式下输入地址系列模式。
address-family {[ipv4 | ipv6] [unicast]}
3. ROUTER-BGP-NEIGHBOR-AF 模式下创建路由映射并分配筛选条件然后返回到 CONFIG-ROUTER-BGP 模式。
route-map map-name {in | out}
exit
in 输入用于传入路由更新的筛选器。
out 输入用于传出路由更新的筛选器。
4. ROUTER-BGP 模式下输入对等模板名称。
template template-name
5. 输入地址系列模式。
address-family {[ipv4 | ipv6] [unicast]}
6. 创建路由映射并在 ROUTER-BGP-TEMPLATE-AF 模式下指定筛选条件。
route-map map-name {in | out}
筛选 BGP 路由
OS10(config)# router bgp 102
OS10(conf-router-bgp-102)# neighbor 40.1.1.2
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# route-map metro in
OS10(conf-router-bgp-neighbor-af)# exit
OS10(conf-router-bgp-102)# template ebgp
OS10(conf-router-template)# address-family ipv4 unicast
OS10(conf-router-bgp-template-af)# route-map metro in
Identifier
GUID-A3E456B0-EE11-48B1-90AD-2B2462A0A54B
Version 6
Status Translation approved
路由反射器群集
BGP 路由反射器面向具有大型网格的 AS。它们减少了 BGP 控制流量的数量。在正确配置路由反射的情况下IBGP 路由器并非在群
集内完全网格化而是接收所有路由信息。
配置路由器的群集其中一个路由器是集中式路由器而其他路由器是从集中式路由器接收更新的客户端。
1. ROUTER-BGP 模式中的路由器反射器群集分配 ID。您可以在 AS 中有多个群集。
cluster-id cluster-id
2. ROUTER-BGP 模式下将邻居分配给路由器反射器群集。
neighbor {ip-address}
3 559