选项:配置多个旁路 LSP、手动旁路 LSP 和链路保护优先级
您可以为受链路保护的 RSVP LSP 配置多个旁路 LSP 路径。启用此选项时,RSVP 会同时为链路保护的 LSP 发出多个旁路信号。要进行配置,首先要通过在[edit protocols mpls label-switched-path lsp-name]
层次结构级别包含link-protection
或 node-link-protection
语句来启用链路保护或节点链路保护。要将 RSVP 接口配置为包含多个旁路,请通过在[edit protocols rsvp interface interface-name link-protection]
层次结构级别上包含bandwidth
语句来指定旁路应消耗的带宽量。要限制可创建的绕过的总数,请在[edit protocols rsvp interface interface-name link-protection]
层次结构级别包含max-bypasses
语句。
其他旁路选项包括限制旁路 LSP 将遍历的最大跃点数、选择性地禁止节点链路保护、设置计时器以在旁路 LSP 之间定期重新分配数据、要求旁路 LSP 采用严格路径或松散路径,以及确定旁路 LSP 所需带宽的百分比。要进行配置,请在[edit protocols rsvp interface interface-name link-protection]
层次结构级别分别包括 hop-limit
、no-node-protection
、optimize-timer
path
、 和subscription
语句。
另一种选择是手动指定旁路 LSP。要进行配置,请在[edit protocols rsvp interface interface-name link-protection bypass bypass-name]
层次结构级别包含to
和 bandwidth
语句。或者,您可以指定手动绕过 LSP 的跳数限制和路径类型。要配置这些选项,请在[edit protocols rsvp interface interface-name link-protection bypass bypass-name]
层次结构级别包含hop-limit
和 path
语句。
链路保护优先级允许您在流量工程类矩阵中提供优先级和类的首选组合。选择旁路 LSP 时,路由平台会选择包含最低优先级的旁路。要为所有绕过 LSP 路径配置链路保护优先级,请在[edit protocols rsvp interface interface-name link-protection]
层次结构级别包含语priority
句。要为手动指定的绕过 LSP 路径配置链路保护优先级,请在[edit protocols rsvp interface interface-name link-protection bypass bypass-name]
层次结构级别包含priority
语句。
[edit protocols] mpls { label-switched-path lsp-name { (link-protection | node-link-protection); } } rsvp { interface interface-name { link-protection { bandwidthbps
; bypassbypass-name
{ toip-address
; bandwidthbps
; hop-limitmaximum-hops
; # The default value is 255 hops. pathip-address
{ (loose | strict); } prioritypriority
; } hop-limitmaximum-hops
; # The range is 2 hops to the default (255 hops). max-bypassesnumber
; # The range for this statement is 1 to 99. no-node-protection; optimize-timerseconds
; # The default value of 0 disables this option. pathip-address
{ (loose | strict); } subscriptionpercent
; # The range for this statement is 1 to 65535. } } }
有关多个旁路 LSP、手动配置的旁路 LSP 和链路保护优先级的详细信息,请参阅 《Junos MPLS 应用程序配置指南》。