802.1ag CFM用に統合型ISSUを設定する
統合型インサービスソフトウェアアップグレード(ISSU)により、コントロールプレーンを中断することなく、トラフィックの中断を最小限に抑えながら、2つの異なるJunos OSリリース間でアップグレードすることができます。統合型ISSUは、接続障害管理(CFM)プロトコルに対して自動的に有効になり、ローカルとリモートのメンテナンスエンドポイント(MEP)間で相互運用されます。
Junos OSは、CFMに対して自動的に有効になる損失しきい値タイプ長値(TLV)を使用して、統合型ISSUをサポートします。TLV は、可変長およびオプション情報をプロトコル データ ユニット(PDU)にエンコードする方法として、CFM の IEEE 802.1ag 規格で説明されています。損失しきい値 TLV は、リモート MEP の損失しきい値を示します。損失しきい値 TLV は、CFM 連続チェック メッセージの一部として送信されます。
TLVをサポートするMXおよびPTXルーターでのみ、CFM(802.1ag)を使用したISSUを設定できます。システムは、他のベンダーとの相互運用性をサポートしていません。
統合型ISSUの実行中、コントロールプレーンが数秒間ダウンし、CFM連続性チェックパケットがドロップされることがあります。これにより、リモート MEP が接続損失を検出し、MEP がダウンとしてマークされる可能性があります。統合型ISSU中にMEPをアクティブに保つために、損失しきい値TLVは、受信MEPがMEPをアクティブに保つために必要な最小しきい値を伝達します。受信側のMEPはTLVを解析し、損失しきい値を更新しますが、新しいしきい値がローカルで設定されたしきい値よりも大きい場合に限ります。
CFM の概要は、「 IEEE 802.1ag OAM 接続障害管理の概要」から説明されていますが、このトピックで説明されている追加の要件をさらに確認する必要があります。
表1は 、損失しきい値TLV形式を示しています。
|
パラメータ |
オクテット(シーケンス) |
説明 |
|---|---|---|
|
タイプ=31 |
1 |
必須。必須。0 の場合、長さまたは値フィールドは続きません。0 でない場合、少なくとも [長さ] フィールドは [タイプ] フィールドの後に続きます。 |
|
長さ=12 |
2 |
タイプフィールドが0でない場合は必須です。タイプフィールドが0の場合は表示されません。長さフィールドの16ビットは、値フィールドのサイズをオクテット単位で示します。長さフィールドの0は、値フィールドがないことを示します。 |
|
OUI |
3 |
オプション。組織一意識別子(OUI)は、IEEEによって制御され、通常はMACアドレスの最初の3バイトです(ジュニパー OUI 0x009069)。 |
|
サブタイプ |
1 |
オプション。組織で定義されたサブタイプ。 |
|
値 |
4 |
オプション。損失しきい値。 |
|
フラグ |
4 |
オプション。Bit0(ISSUが進行中であることを示す) ビット1-31(予約済み) |
Junos OS は、 convey-loss-threshold ステートメントの設定サポートを提供し、連続性チェック メッセージ PDU TLVの損失しきい値の送信を制御できます。 convey-loss-threshold ステートメントは、損失しきい値TLVを連続性チェックメッセージの一部として送信する必要があることを指定します。 convey-loss-threshold ステートメントが指定されていない場合、統合型ISSUが進行中の場合にのみ、連続性チェックメッセージからこのTLVが送信されます。Junos OS は、この設定を継続性チェック レベルで提供します。デフォルトでは、継続チェックメッセージには損失しきい値TLVは含まれません。
コンベ送信損失の閾値を設定するには、[edit protocols oam ethernet connectivity-fault-management maintenance-domain identifier maintenance-association identifier continuity-check]階層レベルでconvey-loss-thresholdステートメントを使用します。
リモートMEPの場合、損失しきい値TLVは、 convey-loss-threshold ステートメントが設定されていない場合、統合型ISSU中にのみ送信されます。損失しきい値 TLV を受信しない場合、または TLV のデフォルトしきい値が 3 の場合、リモート MEP はデフォルトの損失しきい値に戻ります。
ISSU設定ステートメントの例を以下に示します。
protocols {
oam {
ethernet {
connectivity-fault-management {
maintenance-domain identifier {
level number;
maintenance-association identifier {
continuity-check {
convey-loss-threshold;
interval number;
loss-threshold number;
hold-interval number;
}
}
}
}
}
}
}
Junos OSは、最後に受信した損失しきい値TLVをリモートMEPから保存します。次の例のように、 show oam ethernet connectivity-fault-management mep-database maintenance-domain identifier maintenance-association identifier local-mep identifier remote-mep identifier コマンドを使用して、リモートMEPが受信した最後に保存された損失しきい値TLV表示できます。
user@host> show oam ethernet connectivity-fault-management mep-database maintenance-domain md3 maintenance-association ma5 local-mep 2 remote-mep 1
Maintenance domain name: md3, Format: string, Level: 3
Maintenance association name: ma3, Format: string
Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames
MEP identifier: 2, Direction: up, MAC address: 00:19:e2:b0:76:be
Auto-discovery: enabled, Priority: 0
Interface status TLV: none, Port status TLV: none
Connection Protection TLV: yes
Prefer me: no, Protection in use: no, FRR Flag: no
Interface name: xe-4/1/1.0, Interface status: Active, Link status: Up
Loss Threshold TLV:
Loss Threshold: 3 , Flag: 0x0
Remote MEP identifier: 1, State: ok
MAC address: 00:1f:12:b7:ce:79, Type: Learned
Interface: xe-4/1/1.0
Last flapped: Never
Continuity: 100%, Admin-enable duration: 45sec, Oper-down duration: 0sec
Effective loss threshold: 3 frames
Remote defect indication: false
Port status TLV: none
Interface status TLV: none
Connection Protection TLV:
Prefer me: no, Protection in use: no, FRR Flag: no
Loss Threshold TLV: #Displays last received value
Loss Threshold: 3 , Flag: 0x0
Junos OSは、ローカルMEPから最後に送信された損失しきい値TLVを保存します。次の例のように、 show oam ethernet connectivity-fault-management mep-database maintenance-domain identifier maintenance-association identifier local-mep identifier remote-mep identifier コマンドを使用して、リモートMEPの最後に送信された損失しきい値TLVと有効損失(運用)しきい値を表示できます。
user@host> show oam ethernet connectivity-fault-management mep-database maintenance-domain md3 maintenance-association ma5 local-mep 2 remote-mep 1
Maintenance domain name: md3, Format: string, Level: 3
Maintenance association name: ma3, Format: string
Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames
MEP identifier: 2, Direction: up, MAC address: 00:19:e2:b0:76:be
Auto-discovery: enabled, Priority: 0
Interface status TLV: none, Port status TLV: none
Connection Protection TLV: yes
Prefer me: no, Protection in use: no, FRR Flag: no
Interface name: xe-4/1/1.0, Interface status: Active, Link status: Up
Loss Threshold TLV: #Displays last transmitted value
Loss Threshold: 3 , Flag: 0x0
Remote MEP identifier: 1, State: ok
MAC address: 00:1f:12:b7:ce:79, Type: Learned
Interface: xe-4/1/1.0
Last flapped: Never
Continuity: 100%, Admin-enable duration: 45sec, Oper-down duration: 0sec
Effective loss threshold: 3 frames #Displays operational threshold
Remote defect indication: falsePort status TLV: none
Interface status TLV: none
Connection Protection TLV:
Prefer me: no, Protection in use: no, FRR Flag: no
Loss Threshold TLV:
Loss Threshold: 3 , Flag: 0x0