Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

OpenConfig MPLS コマンドと Junos 設定のマッピング

メモ:

ジュニパーネットワークス MX シリーズ、PTX シリーズ、QFX シリーズでサポートされているデータ モデルのバージョンと Junos OS リリースについては、 OpenConfig データ モデル のトピックを参照してください。

表 1 から 表 6 に、OpenConfig MPLS コマンドと Junos の関連する設定のマッピングを示します。

表 1:グローバル MPLS 設定

コマンド名

OpenConfig コマンド パス

Junos 構成

明示的な Null

/mpls/global/config/null-label/explicit

/mpls/global/config/null-label/implicit

set protocols mpls explicit-null

インターフェイス

/mpls/global/interface-attributes/interface/config/interface-id

/mpls/global/interface-attributes/interface/config/mpls-enabled

/mpls/global/interface-attributes/interface/interface-ref/config/interface

/mpls/global/interface-attributes/interface/interface-ref/config/subinterface

set protocols mpls interface interface

set protocols mpls interface interface disable

表 2:TE グローバル属性

コマンド名

OpenConfig コマンド パス

Junos 構成

SRLGs

/mpls/te-global-attributes/srlg/srlg/config/name

浸水:

set routing-options srlg name

静的:

set routing-options fate-sharing group name

SRLG 値

/mpls/te-global-attributes/srlg/srlg/config/value

set routing-options fate-sharing group name srlg-value value

SRLG コスト

/mpls/te-global-attributes/srlg/srlg/config/cost

浸水:

set routing-options srlg name srlg-cost cost

静的:

set routing-options fate-sharing group name cost cost

アドレス

/mpls/te-global-attributes/srlg/srlg/static-srlg-members/ members-list/config/from-address

/mpls/te-global-attributes/srlg/srlg/static-srlg-members/ members-list/config/to-address

set routing-options fate-sharing group name from address to address

管理グループ

/mpls/te-global-attributes/mpls-admin-groups/admin-group/ config/admin-group-name

/mpls/te-global-attributes/mpls-admin-groups/admin-group/ config/bit-position

ビット位置(グループ値)0~31:

set protocols mpls admin-groups group-name group-value

ビット位置(グループ値)32-4294967295:

set routing-options admin-groups-extended group-name group-value group-value

遅延

/mpls/te-global-attributes/te-lsp-timers/config/install-delay

/mpls/te-global-attributes/te-lsp-timers/config/cleanup-delay

/mpls/te-global-attributes/te-lsp-timers/config/reoptimize-timer

set protocols mpls optimize-switchover-delay delay

set protocols mpls optimize-hold-dead-delay delay

set protocols mpls optimize-timer timer

表 3:TE インターフェイス属性

コマンド名

OpenConfig コマンド パス

Junos 構成

TE インターフェイス

/mpls/te-interface-attributes/interface/config/interface-id

/mpls/te-interface-attributes/interface/interface-ref/config/interface

/mpls/te-interface-attributes/interface/interface-ref/config/subinterface

set protocols ospf area id interface interface

TE メトリック

/mpls/te-interface-attributes/interface/config/te-metric

set protocols ospf area id interface interface te-metric te-metric

set protocols isis interface interface level level te-metric te-metric

SRLG メンバーシップ

/mpls/te-interface-attributes/interface/config/srlg-membership

set protocols mpls interface name srlg name

管理グループ

/mpls/te-interface-attributes/interface/config/admin-group

構成されている場合 protocols mpls admin-groups name :

set protocols mpls interface name admin-group name

構成されている場合 routing-options admin-groups-extended name :

set protocols mpls interface name admin-group-extended name

IGPフラッディング帯域幅

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/threshold-type

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/delta-percentage

set protocols rsvp interface name update-threshold threshold

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/threshold-specification

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/up-thresholds

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/down-thresholds

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/up-down-thresholds

サポートされていません

表 4:RSVP シグナリング プロトコル

コマンド名

OpenConfig コマンド パス

Junos 構成

グレースフル リスタート

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/enable

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/restart-time

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/recovery-time

set protocols rsvp graceful-restart enable

set protocols rsvp graceful-restart maximum-helper-recovery-time time

set protocols rsvp graceful-restart maximum-helper-restart-time time

クリーンアップタイマー

/mpls/signaling-protocols/rsvp-te/global/ soft-preemption/config/enable

/mpls/signaling-protocols/rsvp-te/global/ soft-preemption/config/soft-preemption-timeout

set protocols rsvp preemption soft-preemption cleanup-timer timer

Hello 間隔(すべてのインターフェイス)

/mpls/signaling-protocols/rsvp-te/global/ hellos/config/hello-interval

/mpls/signaling-protocols/rsvp-te/global/ hellos/config/refresh-reduction

set protocols rsvp interface all hello-interval interval

set protocols rsvp interface all no-reliable

Hello 間隔(単一インターフェイス)

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-name

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/hellos/config/hello-interval

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/hellos/config/refresh-reduction

set protocols rsvp interface name hello-interval interval

set protocols rsvp interface name no-reliable

認証キー

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/authentication/config/enable

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/authentication/config/authentication-key

set protocols rsvp interface name authentication-key key

サブスクリプション

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/subscription/config/subscription

set protocols rsvp interface name subscription subscription

リンク保護

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/ protection/config/link-protection-style-requested/unprotected

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/link-protection-style-requested/link-protection-requested

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/link-protection-style-requested/link-node-protection-requested

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/bypass-optimize-interval

set protocols rsvp interface name link-protection

ノード保護を無効にするには:

set protocols rsvp interface name link-protection no-node-protection

set protocols rsvp interface name link-protection optimize-timer timer

表 5:ラベル スイッチ パス

コマンド名

OpenConfig コマンド パス

Junos 構成

パス

/mpls/lsps/constrained-path/named-explicit-paths/config/name

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/address

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/hop-type

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/index

set protocols mpls path name address hop-type

名前

/mpls/lsps/constrained-path/tunnel/config/name

/mpls/lsps/constrained-path/tunnel/config/type/P2P

/mpls/lsps/constrained-path/tunnel/config/ signaling-protocol/path-setup-rsvp

set protocols mpls label-switched-path name

説明

/mpls/lsps/constrained-path/tunnel/config/description

set protocols mpls label-switched-path name description description

管理者ステータス

/mpls/lsps/constrained-path/tunnel/config/admin-status

set protocols mpls label-switched-path name disable

好み

/mpls/lsps/constrained-path/tunnel/config/preference

set protocols mpls label-switched-path name preference preference

メトリック

/mpls/lsps/constrained-path/tunnels/tunnel/config/metric-type

/mpls/lsps/constrained-path/tunnels/tunnel/config/shortcut-eligible

/mpls/lsps/constrained-path/tunnel/config/metric

set protocols mpls label-switched-path name metric metric

リンク保護

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/unprotected

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/link-protection-requested

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/link-node-protection-requested

set protocols mpls label-switched-path name link-protection

set protocols mpls label-switched-path name node-link-protection

タイマーの最適化

/mpls/lsps/constrained-path/tunnel/config/reoptimize-timer

set protocols mpls label-switched-path name optimize-timer timer

ソース

/mpls/lsps/constrained-path/tunnel/config/source

set protocols mpls label-switched-path name from from

ソフトプリエンプション

/mpls/lsps/constrained-path/tunnel/config/soft-preemption

set protocols mpls label-switched-path name soft-preemption

優先 順位

/mpls/lsps/constrained-path/tunnel/config/setup-priority

/mpls/lsps/constrained-path/tunnel/config/hold-priority

set protocols mpls label-switched-path name priority setup reservation

帯域 幅

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/specified

/mpls/lsps/constrained-path/tunnel/bandwidth/config/set-bandwidth

set protocols mpls label-switched-path name bandwidth bandwidth

最小/最大帯域幅

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/auto

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/min-bw

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/max-bw

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/adjust-interval

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/adjust-threshold

set protocols mpls label-switched-path name minimum-bandwidth minimum

set protocols mpls label-switched-path name maximum-bandwidth maximum

set protocols mpls label-switched-path name adjust-interval interval

set protocols mpls label-switched-path name adjust-threshold threshold

オーバーフロー帯域幅

/mpls/lsps/constrained-path/tunnel/bandwidth/ config/specification-type/auto

/mpls/lsps/constrained-path/tunnel/auto-bandwidth/overflow/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ overflow/config/overflow-threshold

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ overflow/config/trigger-event-count

set protocols mpls label-switched-path name auto-bandwidth adjust-threshold-overflow-limit

アンダーフロー帯域幅

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/auto

/mpls/lsps/constrained-path/tunnel/auto-bandwidth/underflow/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ underflow/config/underflow-threshold

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ underflowflow/config/trigger-event-count

set protocols mpls label-switched-path name auto-bandwidth adjust-threshold-underflow-limit

表 6:RSVP P2P トンネル

コマンド名

OpenConfig コマンド パス

Junos 構成

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/config/destination

set protocols mpls label-switched-path name to to

プライマリ パス

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/name

set protocols mpls label-switched-path name

プライマリ パス - ローカル計算

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/path-computation-method/ locally-computed

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/use-cspf

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/random

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/least-fill

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/most-fill

set protocols mpls label-switched-path name no-cspf

set protocols mpls label-switched-path name random

set protocols mpls label-switched-path name least-fill

set protocols mpls label-switched-path name most-fill

プライマリ パス - 外部から問い合わせ

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/p2p-primary-paths/config/ path-computation-method/externally-queried

set protocols mpls label-switched-path name lsp-external-controller pccd

set protocols pcep pce name destination-ipv4-address address

set protocols pcep pce name destination-port 4189

プライマリ パス - 明示的に定義

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/p2p-primary-paths/config/ path-computation-method/explicitly-defined

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/explicit-path-name

set protocols mpls label-switched-path name primary path

プライマリ パス - 優先度

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/preference

set protocols mpls label-switched-path name primary path preference preference

プライマリ パス - 優先度

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/setup-priority

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/hold-priority

set protocols mpls label-switched-path name primary path priority setup reservation

プライマリ パス - 再試行タイマー

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/retry-timer

set protocols mpls label-switched-path name retry-timer

プライマリ パス - 候補のセカンダリ パス

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/candidate-secondary-paths

サポートされていません

プライマリ パス – 管理グループ

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/exclude-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/include-all-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/include-any-group

set protocols mpls label-switched-path name primary path admin-group exclude group

set protocols mpls label-switched-path name primary path admin-group exclude group

set protocols mpls label-switched-path name primary path admin-group include-any group

セカンダリ パス

/mpls/lsps/constrained-path/tunnel/config/name

/mpls/lsps/constrained-path/tunnel/config/type/P2P

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/name

set protocols mpls label-switched-path name

セカンダリ パス - ローカル計算

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/locally-computed

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/use-cspf

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/random

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/least-fill

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/most-fill

set protocols mpls label-switched-path name secondary path name no-cspf

セカンダリ パス - 外部クエリ

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/externally-queried

サポートされていません

セカンダリ パス - 明示的に定義

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/explicitly-defined

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/explicit-path-name

set protocols mpls label-switched-path name secondary path

セカンダリ パス - 優先度

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/preference

set protocols mpls label-switched-path name secondary path preference preference

セカンダリ パス - 優先度

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/setup-priority

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/hold-priority

set protocols mpls label-switched-path name secondary path priority setup reservation

セカンダリ パス - 再試行タイマー

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/retry-timer

set protocols mpls label-switched-path name secondary path retry-timer

セカンダリ パス - 管理者グループ

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/exclude-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/include-all-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/include-any-group

set protocols mpls label-switched-path name secondary path admin-group exclude group

set protocols mpls label-switched-path name secondary path admin-group include-all group

set protocols mpls label-switched-path name secondary path admin-group include-any group