确保在资源降低时辅助路径建立
Junos OS 不要求主路径和次通道共享相同的参数。您可以决定使用严格的资源要求配置主路径,并以不严格的要求配置次要路径,从而使您的辅助路径在资源降低期间更容易建立。
操作
要确保辅助路径在资源降低时建立,请遵循以下步骤:
在配置模式下,转至以下层次结构级别:
[edit protocols mpls]user@host# edit label-switched-path lsp-path-name例如:
[edit protocols mpls]user@R1# edit label-switched-path r1-to-r4为主路径配置带宽,并且不要为辅助路径配置任何带宽:
[edit protocols mpls label-switched-path lsp-path-name]user@host# set primary primary-name bandwidth bandwidth例如:
[edit protocols mpls label-switched-path r1-to-r4]user@R1# set primary via-r2 bandwidth 35m验证并提交配置:
[edit protocols mpls label-switched-path lsp-path-name]user@host# showuser@host# commit
示例输出
下面的示例输出显示了入口路由器 R1 上的带宽配置。
[edit protocols mpls] user@R1# show label-switched-path r1-to-r4 { to 192.168.4.1; primary via-r2 { bandwidth 35m; } secondary via-r7 { # In this example, bandwidth is not configured for the secondary path. standby; # However you could configure a bandwidth value different from } # that on the primary path. } [...Output truncated...]
含义
示例输出显示主路径 via-r2 需要 35 Mbps 带宽,而辅助路径 via-r7 没有约束。主路径配置具有严格的资源要求,而辅助路径配置为无带宽要求,从而允许在资源降低期间建立辅助路径。在不使用带宽要求的情况下配置辅助路径时,请记住,这种情况可能会因拥塞导致信息流丢失。