注:机翻,未校对。一个小众的功能。
OSPF over a Demand Circuit
What is a Demand Circuit? 什么是需求电路?
OSPF can be tuned to better handle demand circuits. But what are demand circuits? Are they still relevant today?
可以调整 OSPF 以更好地处理需求电路。但什么是需求电路?它们在今天仍然适用吗?
This is a type a circuit that’s not always up. One that dials on demand. Think of old ISDN, x.25, and dial-up lines for example.
这是一个 A 型电路,并不总是启动。一种按需拨号的产品。例如,想想旧的 ISDN、x.25 和拨号线路。
In the old days, these may have been expensive, and were only meant to be up when needed. Also, the amount of traffic that was sent over them also needed to be kept to a minumum.
在过去,这些可能很昂贵,并且只打算在需要时使用。此外,通过它们发送的流量也需要保持在最低限度。
OSPF caused problems with demand circuits. The regular hello messages cause the link to stay up. Additionally, the regular LSA refresh (every 30 minutes) caused the circuit to be used more heavily than desired.
OSPF 导致需求电路出现问题。定期的 hello 消息会导致链接保持运行。此外,定期刷新 LSA(每 30 分钟一次)导致电路的使用比预期的更为频繁。
OSPF With Demand Circuits 带需求电路的 OSPF
Back in 1995 (way back when I started high school!) RFC1793 was released. This included support for OSPF to be aware of demand circuits.
早在 1995 年(早在我开始上高中的时候!RFC1793 被发布。这包括支持 OSPF 了解需求电路。
This feature is enabled per-interface (so it can be enabled selectively per neighbour). When two neighbours start an adjacency, and will negotiate the DC bit. If they both have this bit, then this feature is enabled. If successful, they then set the DNA (DoNotAge) bit in the LSA field.
此功能是按接口启用的(因此可以按邻居选择性地启用此功能)。当两个邻居开始邻接时,将协商直流位。如果它们都有此位,则启用此功能。如果成功,他们将在 LSA 字段中设置 DNA (DoNotAge) 位。
This provides two major changes. Firstly, beyond the initial formation of the neighbour adjacency, hellos are suppressed. They’re not sent at all. This prevents OSPF from keeping a circuit up unnecessarily.
这提供了两个主要变化。首先,除了邻接关系的最初形成之外,hello 被抑制了。他们根本没有被发送。这样可以防止 OSPF 不必要地保持电路正常运行。
This does have a side effect. One neighbour won’t know (from an OSPF standpoint) when its neighbour goes down. The adjacency will remain up, even if the underlying circuit is down.
这确实有副作用。一个邻居不会知道(从OSPF的角度来看)它的邻居何时 down 。即使底层电路关闭,邻接关系也将保持 on 。
Note: Hello suppression applies to point-to-point and point-to-multipoint network types only. Hellos are not suppressed on other network types.
注意:Hello 抑制仅适用于点对点和点对多点网络类型。在其他网络类型上不会禁止显示 hello。
The second change is that the periodic LSA refresh is also suppressed. This is because of the DNA bit I mentioned earlier. This means that the LSDB entries for this neighbour will not age out.
第二个变化是,定期 LSA 刷新也被抑制。这是因为我之前提到的 DNA 位。这意味着此邻居的 LSDB 条目不会过期。
There will still be LSA refreshes, but now they will occur on demand, when th