使用 ROUTE REFRESH 进行 DELL Networking OS10 BGP 软重置
Summary: DELL Networking OS10 支持 RFC 2918 中提到的 BGP ROUTE REFRESH 功能。本文介绍带路由刷新的 BGP 软重置,以及与 DELL Networking OS10 中的 BGP 硬重置或软重置与软重置的比较。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
更改路由策略可能需要重置 BGP 会话。这可以通过使用 BGP Hard Reset 或 Soft reset with soft-reconfiguration 或 Soft Reset with Route Refresh 来实现。
以下是 BGP 硬重置、软重置和动态入站软重置之间的比较。
在 DELL Networking OS10 中,任何路由映射或前缀列表或 BGP 属性更改均会正常地通告给相关的 BGP 对等体,因此在 DELL OS10 中不需要软重置出站。这就是 DELL OS10 CLI 中不存在“clear ip bgp soft out”命令的原因。
输出示例:
以下是 BGP 硬重置、软重置和动态入站软重置之间的比较。
| BGP 硬重置 | 使用软重新配置进行 BGP 软重置 | 使用路由刷新软重置(首选方法) |
|---|---|---|
| 执行 BGP 硬重置会关闭 TCP 会话。 即重新建立 BGP 邻居关系。 |
对等节点之间的 TCP 会话不受影响。即 BGP 邻居不受影响。 | 对等节点之间的 TCP 会话不受影响。即 BGP 邻居不受影响。 |
| 启动邻居形成和路由学习的整个过程。 | 由于来自存储在单独表中的邻居的路由信息,因此需要额外的内存。然后,将应用更改并将其存储在路由表中。 仅对于不支持路由刷新功能的路由器,建议使用此方法。 |
路由刷新将发送到使用所需的路由表信息进行响应的邻居。 |
| 无需特殊配置 | 必须配置邻居软重新配置入站。 | 无需特殊配置 |
| 对等节点不需要特殊对等功能 | 对等节点不需要特殊对等功能 | 两个 BGP 对等节点都必须支持路由刷新功能。 如何验证 BGP 邻居是否支持 ROUTE REFRESH 功能。 |
| 影响 BGP 邻居整个前缀的流量 | 仅影响受策略更改影响的特定前缀。 | 仅影响受策略更改影响的特定前缀。 |
使用软重置和路由刷新的命令语法
| 命令 | 说明 |
|---|---|
| OS10# clear ip bgp * 软输入 | 激活策略而不重置所有 BGP 邻居的 BGP TCP 会话。 |
| OS10# clear ip bgp soft in | 在不重置指定 BGP 邻居的 BGP TCP 会话的情况下激活策略。 |
为什么 DELL Networking OS10 没有 BGP 软重置出站?
在 DELL Networking OS10 中,任何路由映射或前缀列表或 BGP 属性更改均会正常地通告给相关的 BGP 对等体,因此在 DELL OS10 中不需要软重置出站。这就是 DELL OS10 CLI 中不存在“clear ip bgp soft out”命令的原因。
如何验证 BGP 邻居是否支持ROUTE_REFRESH功能
检查 show ip bgp neighbor 并验证从邻居收到的功能 是否 ROUTE_REFRESH(2)。输出示例:
R1# show ip bgp neighbors 10.0.0.2
BGP neighbor is 10.0.0.2, remote AS 100, local AS 1 external link
BGP version 4, remote router ID 2.2.2.6
BGP state ESTABLISHED, in this state for 01:00:15
Last read 01:20:12 seconds
Hold time is 180, keepalive interval is 60 seconds
Configured hold time is 180, keepalive interval is 60 seconds
Fall-over disabled
Received 84 messages
3 opens, 1 notifications, 5 updates
69 keepalives, 6 route refresh requests
Sent 84 messages
7 opens, 1 notifications, 2 updates
71 keepalives, 3 route refresh requests
Minimum time between advertisement runs is 30 seconds
Minimum time before advertisements start is 0 seconds
Capabilities received from neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2) ======================================>Note
CISCO_ROUTE_REFRESH(128)
4_OCTET_AS(65)
Capabilities advertised to neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
CISCO_ROUTE_REFRESH(128)
4_OCTET_AS(65)
Prefixes accepted 5, Prefixes advertised 3
Connections established 2; dropped 1
Maximum prefix limit reached sent 01:03:15 ago
For address family: IPv4 Unicast
Allow local AS number 0 times in AS-PATH attribute
Prefixes ignored due to:
Martian address 0, Our own AS in AS-PATH 0
Invalid Nexthop 0, Invalid AS-PATH length 0
Wellknown community 0, Locally originated 0
For address family: IPv6 Unicast
Allow local AS number 0 times in AS-PATH attribute
Local host: 10.0.0.1, Local port: 179
Foreign host: 10.0.0.2, Foreign port: 41230Affected Products
Dell EMC Networking N3200-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5148F-ON, PowerSwitch Z9100-ON
, PowerSwitch Z9264F-ON, PowerSwitch Z9432F-ON, SmartFabric OS10 Software
...
Article Properties
Article Number: 000210800
Article Type: How To
Last Modified: 11 Oct 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.