大网数据广告活动
网络与域名解析

Marking Routes for the Hold-Down State

· 52CE 我爱测

Some clients, such as distance vector protocols like RIP and DVMRP, require that destinations be advertised as unreachable for a certain time after the last route to the destination is deleted.

Some clients, such as distance vector protocols like RIP and DVMRP, require that destinations be advertised as unreachable for a certain time after the last route to the destination is deleted. The last route that is deleted must be advertised as unreachable even if newer routes arrive in the meantime. The last route deleted is marked as being in a hold-down state. The hold-down process prevents the formation of routing loops. Routing loops are caused when a routing protocol advertises obsolete routing information. When the hold-down expires, these protocols resume their advertisement with the new best route.

A protocol that implements hold-down states indicates that a destination is in a hold-down state by using the RtmHoldDestination function. The client calls this function when it advertises the best route to this destination. If all routes to this destination are later deleted, the last route that is deleted is kept in a hold-down state for the period of time specified in the earlier call to RtmHoldDestination.

When a protocol advertises a destination, the route information that is used depends on whether the protocol uses hold-down states and if a route in the hold-down state exists for the destination.

Protocols that do not use hold-down states can ignore route information that relates to hold-down states for a destination, and always advertise the best route.

For sample code that shows how to use these functions, see Use the Route Hold-Down State.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。