OpenConfig OSPF コマンドの Junos 設定へのマッピング
OpenConfig データ モデルのサポートされているバージョンについては、「 OpenConfig データ モデルのバージョン 」を参照してください。
グローバル構成
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 1 を参照してください。
- /global/config/router-id
- /global/config/igp-shortcuts
- /global/config/log-adjacency-changes
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| ルーター ID |
openconfig-network-instance:network-instances {
protocols ospf {
ospfv2 {
global {
config {
router-id <>;
}
}
}
}
} |
routing-options {
router-id <>;
}
|
| OSPFv2 プロトコルを実行している各ルーターに割り当てられた点線の四角形で表される 32 ビットの数値。この番号は、自律システム内で一意である必要があります。 OpenConfig path: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/config/router-id |
||
| IGPショートカット |
openconfig-network-instance:network-instances {
protocols ospf {
ospfv2 {
global {
config {
igp-shortcuts <>;
}
}
}
}
} |
protocols {
ospf {
traffic-engineering {
shortcuts;
}
}
} |
| このリーフが true に設定されている場合、OSPFv2 は、ショートカット適格としてマークされたシステムに任意の LSP を介してリモート システムへのトラフィックをルーティングします。 OpenConfigパス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/config/igp-shortcuts |
||
| 隣接関係の変更をログに記録する |
openconfig-network-instance:network-instances {
protocols ospf {
ospfv2 {
global {
config {
log-adjacency-changes <>;
}
}
}
}
} |
protocols {
ospf {
traceoptions {
file <> size <>;
flag state;
}
}
} |
| このリーフを true に設定すると、OSPFv2 ネイバーの状態が変化したときにログ メッセージが生成されます。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/config/log-adjacency-changes |
||
タイマー設定(グローバル)
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 2 を参照してください。
- /global/timers/spf/config/initial-delay
- /global/timers/max-metric/config/set
- /global/timers/max-metric/config/timeout
- /global/timers/max-metric/config/include
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| SPF 初期遅延 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
timer{
spf {
config {
initial-delay <>;
}
}
}
}
}
}
} |
routing-options {
ospf {
spf-options {
delay <>;
}
}
}
|
| このリーフの値は、トポロジの変更が検出されてから SPF アルゴリズムが最初に実行されるまでの時間を指定します。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/timers/spf/config/initial-delay |
||
| 最大メトリック |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
timer {
max-metric {
config {
set <>;
}
}
}
}
}
}
} |
protocols {
ospf {
overload;
}
} |
| このリーフを true に設定すると、ローカル システムのすべての非スタブ インターフェイスが最大メトリックでアドバタイズされるため、ルーターはトランジット システムとして機能しません。 OpenConfigパス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/timers/max-metric/config/set |
||
| 最大メトリックタイムアウト |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
timer {
max-metric {
config {
timeout <>;
}
}
}
}
}
}
} |
protocols {
ospf {
overload {
timeout <>;
}
}
} |
| 最大のメトリックを持つエンティティのアドバタイズがクリアされ、システムが既定のメトリックまたは構成されたメトリックに戻るまでの遅延。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/timers/max-metric/config/timeout |
||
| 最大メトリックに含まれるもの |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
timer {
max-metric {
config {
include <>;
}
}
}
}
}
}
} |
protocols {
ospf {
overload {
stub-network;
as-external;
}
}
} |
| デフォルトでは、最大メトリックはデバイスのすべての非スタブ インターフェイスに対してアドバタイズされます。リーフ リストを使用して OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/timers/max-metric/config/include |
||
タイマー設定(インターフェイス)
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 2 を参照してください。
- /areas/area/interfaces/interface/timers/config/hello-interval
- /areas/area/interfaces/interface/timers/config/dead-interval
- /areas/area/interfaces/interface/timers/config/retransmission-interval
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| Hello 間隔 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
timers {
config {
hello-interval <>;
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
hello-interval <>;
}
}
}
}
|
| OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/timers/config/hello-interval |
||
| デッドインターバル |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
timers {
config {
dead-interval <>;
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
dead-interval <>;
}
}
}
}
|
| OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/timers/config/dead-interval |
||
| 再送信間隔 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
timers {
config {
retransmission-
interval <>;
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
retransmit-
interval <>;
}
}
}
}
|
| OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/timers/config/retransmission-interval |
||
MPLS 設定(グローバル)
OpenConfigパス/network-instances/network-instance/protocols/protocol/ospfv2/global/mpls/config/traffic-engineering-extensionsの設定マッピングについては、表4を参照してください。
| コマンドとパス |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| トラフィック エンジニアリングの拡張 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
mpls {
config {
traffic-engineering-extensions <>;
}
}
}
}
}
} |
protocols {
ospf {
traffic-engineering;
}
}
|
| このリーフが true に設定されている場合、OSPF のトラフィック エンジニアリング拡張機能は、タイプ 10 の不透明な LSA を使用してトラフィック エンジニアリング パラメーターをアドバタイズします。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/mpls/config/traffic-engineering-extensions |
||
MPLS 設定(インターフェイス)
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 2 を参照してください。
- /areas/area/interfaces/interface/mpls/config/traffic-engineering-metric
- /areas/area/interfaces/interface/mpls/igp-ldp-sync/config/enabled
- /areas/area/interfaces/interface/mpls/igp-ldp-sync/config/post-session-up-delay
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| トラフィックエンジニアリングメトリック |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
mpls {
config {
traffic-engineering-
metric <>;
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
te-metric <>;
}
}
}
}
|
| トラフィック エンジニアリングの目的でのみ考慮する必要があるリンク メトリック。 OpenConfig path: /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/mpls/config/traffic-engineering-metric |
||
| IGP-LDP同期 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
mpls {
igp-ldp-sync {
config {
enabled <>;
}
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
ldp-
synchronization <>;
}
}
}
}
|
| このリーフが true に設定されている場合、リンク上のネイバーへの LDP 隣接関係が確立されるまで、このリンクを IGP 経由の転送に使用しないでください。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/mpls/igp-ldp-sync/config/enabled |
||
| セッション後のアップ遅延 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
mpls {
igp-ldp-sync {
config {
post-session-up-delay <>;
}
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
ldp-
synchronization {
hold-time <>;
}
}
}
}
}
|
| このリーフでは、IGP ネイバーへの LDP セッションを確立してから、IGP によって同期されていると見なされるまでの遅延をミリ秒単位で指定します。このリーフは 1000 の倍数を使用して設定し、秒単位で測定される Junos 相当 OpenConfig path: /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/mpls/igp-ldp-sync/config/post-session-up-delay |
||
グレースフル リスタートの設定
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 6 を参照してください。
- /global/graceful-restart/config/enabled
- /global/graceful-restart/config/helper-only
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| 有効 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
graceful-restart {
config {
enabled <>;
}
}
}
}
}
} |
system {
commit synchronize;
}
chassis {
redundancy {
graceful-switchover;
}
}
routing-options {
graceful-restart;
}
|
| OpenConfigパス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/graceful-restart/config/enabled |
||
| ヘルパーモード |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
global {
graceful-restart {
config {
helper-only <>;
}
}
}
}
}
} |
メモ:
ヘルパーモードはデフォルトで有効になっています。 OpenConfig を使用してヘルパー モードを有効にした場合:
|
|
OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/global/graceful-restart/config/helper-only |
||
エリア構成
OpenConfig パス /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/config/identifier の設定マッピングについては、表 7 を参照してください。
| コマンドとパス |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| エリアID |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
config {
identifier <>;
}
}
}
}
}
} |
protocols {
ospf {
area <>;
}
}
|
| OpenConfigパス: /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/config/identifier |
||
インターフェイス設定
/network-instances/network-instance/protocols/protocol/ospfv2/ の下にある以下の OpenConfig パスの構成マッピングについては、表 8 を参照してください。
- /areas/area/interfaces/interface/config/id
- /エリア/エリア/インターフェイス/インターフェイス/構成/パッシブ
- /エリア/エリア/インターフェイス/インターフェイス/構成/優先度
- /エリア/エリア/インターフェイス/インターフェイス/構成/メトリック
- /areas/area/interfaces/interface/config/network-type
| コマンド |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| インターフェイス ID |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
config {
id <>;
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <>;
}
}
}
|
| このリーフを使用して、インターフェイスの一意の参照を定義します。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/config/id |
||
| パッシブ インターフェイス |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
config {
passive <>;
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
passive;
}
}
}
}
|
| このリーフが true に設定されている場合、インターフェイスは OSPF エリア内でアドバタイズされますが、OSPF 隣接関係はインターフェイス上で確立されません。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/config/passive |
||
| インターフェイスの優先度 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
config {
priority <>;
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
priority <>;
}
}
}
}
|
| 指定ルーターになるためのローカル・システムの優先順位。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/config/priority |
||
| インターフェイスメトリック |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
config {
metric <>;
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
metric <>;
}
}
}
}
|
| OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/config/metric |
||
| インターフェイス ネットワークの種類 |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
config {
network-type <>;
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
interface-type <>;
}
}
}
}
|
| OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospf/ospfv2/areas/area/interfaces/interface/config/network-type |
||
ネイバー設定
OpenConfig パス /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/neighbors/neighbor/config/router-id の設定マッピングについては、表 9 を参照してください。
| コマンドとパス |
OpenConfig Configuration |
Junos の設定 |
|---|---|---|
| ネイバー ルーター ID |
openconfig-network-instance:network-instances {
protocol ospf {
ospfv2 {
areas {
area <> {
interfaces {
interface <> {
neighbors {
neighbor <router-id> {
config {
router-id <router-id>;
}
}
}
}
}
}
}
}
}
} |
protocols {
ospf {
area <> {
interface <> {
neighbor <>;
}
}
}
}
|
| リモート・システムのルーター ID。 OpenConfig パス: /network-instances/network-instance/protocols/protocol/ospfv2/areas/area/interfaces/interface/neighbors/neighbor/config/router-id |
||