コンフィグレーションガイド

[目次][用語][索引][前へ][次へ]


14.7.1 static LSPによる非VPN通信

<この項の構成>
(1) 設定内容の概要
(2) 構成図と設定条件
(3) コンフィグレーション例

(1) 設定内容の概要

図14-18 構成図において,本装置A〜DによりMPLS網を構築します。Static LSP機能により,LSPを構築します。

(2) 構成図と設定条件

[構成図]

図14-18 構成図

[図データ]

[設定条件]
本装置A〜本装置Hでは,ネットワークE〜Hを含めて,ルーティングプロトコル等によって,相互に通信するための経路情報が交換の設定がされているものとします。

(3) コンフィグレーション例

[コマンドによる設定]
ここでは,MPLSの設定についてだけ記述します。各装置におけるインタフェースの設定,IPルーティング情報の設定などは,「5. ネットワークインタフェースの設定例」〜「10. IPv4マルチキャストの設定例【OP-MLT】」を参照してください。

<本装置A>
 1    (config)# mpls yes
      [mpls]
 2    (config)# static_lsp
      [mpls static_lsp]
 3    (config)# ingress_lsp 1 type routing_based
      [mpls static_lsp ingress_lsp 1 type routing_based]
 4    (config)# enable
      [mpls static_lsp ingress_lsp 1 type routing_based]
 5    (config)# description "ToNetG"
      [mpls static_lsp ingress_lsp 1 type routing_based]
 6    (config)# destination 192.168.3.0/24
      [mpls static_lsp ingress_lsp 1 type routing_based]
 7    (config)# primary out_label 1000 nexthop 172.16.3.2
      [mpls static_lsp ingress_lsp 1 type routing_based]
 8    (config)# exit
      [mpls static_lsp]
 9    (config)# ingress_lsp 2 type routing_based
      [mpls static_lsp ingress_lsp 2 type routing_based]
10    (config)# enable
      [mpls static_lsp ingress_lsp 2 type routing_based]
11    (config)# description "ToNetH"
      [mpls static_lsp ingress_lsp 2 type routing_based]
12    (config)# destination 192.168.4.0/24
      [mpls static_lsp ingress_lsp 2 type routing_based]
13    (config)# primary out_label 2000 nexthop 172.16.5.6
      [mpls static_lsp ingress_lsp 2 type routing_based]
14    (config)# exit
      [mpls static_lsp]
15    (config)# exit
      [mpls]
16    (config)# exit

表14-51 本装置Aのコンフィグレーション解説

解説番号 解説
1 MPLS使用可とし,mplsモードに入ります。
2 static lspモードに入ります。
3〜8 LSP ID=1として,ネットワークG向けのstatic LSPを設定します。
9〜14 LSP ID=2として,ネットワークH向けのstatic LSPを設定します。
15 static lspモードからmplsモードに戻ります。
16 mplsモードからグローバルコンフィグモードに戻ります。

<本装置B>
 1    (config)# mpls yes
      [mpls]
 2    (config)# static_lsp
      [mpls static_lsp]
 3    (config)# core_lsp 1
      [mpls static_lsp core_lsp 1]
 4    (config)# enable
      [mpls static_lsp core_lsp 1]
 5    (config)# description "ToNetG"
      [mpls static_lsp core_lsp 1]
 6    (config)# in_label 1000
      [mpls static_lsp core_lsp 1]
 7    (config)# primary out_label implicit_null nexthop 172.16.4.4
      [mpls static_lsp core_lsp 1]
 8    (config)# exit
      [mpls static_lsp]
 9    (config)# core_lsp 2
      [mpls static_lsp core_lsp 2]
10    (config)# enable
      [mpls static_lsp core_lsp 2]
11    (config)# description "ToNetE"
      [mpls static_lsp core_lsp 2]
12    (config)# in_label 3000
      [mpls static_lsp core_lsp 2]
13    (config)# primary out_label implicit_null nexthop 172.16.3.1
      [mpls static_lsp core_lsp 2]
14    (config)# exit
      [mpls static_lsp]
15    (config)# exit
      [mpls]
16    (config)# exit

表14-52 本装置Bのコンフィグレーション解説

解説番号 解説
1 MPLS使用可とし,mplsモードに入ります。
2 static lspモードに入ります。
3〜8 LSP ID=1として,入力ラベル=1000に対するstatic LSPを設定します。
9〜14 LSP ID=2として,入力ラベル=3000に対するstatic LSPを設定します。
15 static lspモードからmplsモードに戻ります。
16 mplsモードからグローバルコンフィグモードに戻ります。

<本装置C>
 1    (config)# mpls yes
      [mpls]
 2    (config)# static_lsp
      [mpls static_lsp]
 3    (config)# core_lsp 1
      [mpls static_lsp core_lsp 1]
 4    (config)# enable
      [mpls static_lsp core_lsp 1]
 5    (config)# description "ToNetH"
      [mpls static_lsp core_lsp 1]
 6    (config)# in_label 2000
      [mpls static_lsp core_lsp 1]
 7    (config)# primary out_label implicit_null nexthop 172.16.6.8
      [mpls static_lsp core_lsp 1]
 8    (config)# exit
      [mpls static_lsp]
 9    (config)# core_lsp 2
      [mpls static_lsp core_lsp 2]
10    (config)# enable
      [mpls static_lsp core_lsp 2]
11    (config)# description "ToNetF"
      [mpls static_lsp core_lsp 2]
12    (config)# in_label 4000
      [mpls static_lsp core_lsp 2]
13    (config)# primary out_label implicit_null nexthop 172.16.5.5
      [mpls static_lsp core_lsp 2]
14    (config)# exit
      [mpls static_lsp]
15    (config)# exit
      [mpls]
16    (config)# exit

表14-53 本装置Cのコンフィグレーション解説

解説番号 解説
1 MPLS使用可とし,mplsモードに入ります。
2 static lspモードに入ります。
3〜8 LSP ID=1として,入力ラベル=2000に対するstatic LSPを設定します。
9〜14 LSP ID=2として,入力ラベル=4000に対するstatic LSPを設定します。
15 static lspモードからmplsモードに戻ります。
16 mplsモードからグローバルコンフィグモードに戻ります。

<本装置D>
 1    (config)# mpls yes
      [mpls]
 2    (config)# static_lsp
      [mpls static_lsp]
 3    (config)# ingress_lsp 1 type routing_based
      [mpls static_lsp ingress_lsp 1 type routing_based]
 4    (config)# enable
      [mpls static_lsp ingress_lsp 1 type routing_based]
 5    (config)# description "ToNetE"
      [mpls static_lsp ingress_lsp 1 type routing_based]
 6    (config)# destination 192.168.1.0/24
      [mpls static_lsp ingress_lsp 1 type routing_based]
 7    (config)# primary out_label 3000 nexthop 172.16.4.3
      [mpls static_lsp ingress_lsp 1 type routing_based]
 8    (config)# exit
      [mpls static_lsp]
 9    (config)# ingress_lsp 2 type routing_based
      [mpls static_lsp ingress_lsp 2 type routing_based]
10    (config)# enable
      [mpls static_lsp ingress_lsp 2 type routing_based]
11    (config)# description "ToNetF"
      [mpls static_lsp ingress_lsp 2 type routing_based]
12    (config)# destination 192.168.2.0/24
      [mpls static_lsp ingress_lsp 2 type routing_based]
13    (config)# primary out_label 4000 nexthop 172.16.6.7
      [mpls static_lsp ingress_lsp 2 type routing_based]
14    (config)# exit
      [mpls static_lsp]
15    (config)# exit
      [mpls]
16    (config)# exit

表14-54 本装置Dのコンフィグレーション解説

解説番号 解説
1 MPLS使用可とし,mplsモードに入ります。
2 static lspモードに入ります。
3〜8 LSP ID=1として,ネットワークE向けのstatic LSPを設定します。
9〜14 LSP ID=2として,ネットワークF向けのstatic LSPを設定します。
15 static lspモードからmplsモードに戻ります。
16 mplsモードからグローバルコンフィグモードに戻ります。

[コンフィグレーションの表示]

<本装置A>
mpls yes
  static_lsp
    ingress_lsp 1 type routing_based
      enable
      description "ToNetG"
      destination 192.168.3.0/24
      primary out_label 1000 nexthop 172.16.3.2
    ingress_lsp 2 type routing_based
      enable
      description "ToNetH"
      destination 192.168.4.0/24
      primary out_label 2000 nexthop 172.16.5.6

<本装置B>
mpls yes
  static_lsp
    core_lsp 1
      enable
      description "ToNetG"
      in_label 1000
      primary out_label implicit_null nexthop 172.16.4.4
    core_lsp 2
      enable
      description "ToNetE"
      in_label 3000
      primary out_label implicit_null nexthop 172.16.3.1

<本装置C>
mpls yes
  static_lsp
    core_lsp 1
      enable
      description "ToNetH"
      in_label 2000
      primary out_label implicit_null nexthop 172.16.6.8
    core_lsp 2
      enable
      description "ToNetF"
      in_label 4000
      primary out_label implicit_null nexthop 172.16.5.5

<本装置D>
mpls yes
  static_lsp
    ingress_lsp 1 type routing_based
      enable
      description "ToNetE"
      destination 192.168.1.0/24
      primary out_label 3000 nexthop 172.16.4.3
    ingress_lsp 2 type routing_based
      enable
      description "ToNetF"
      destination 192.168.2.0/24
      primary out_label 4000 nexthop 172.16.6.7

[目次][前へ][次へ]


[他社商品名称に関する表示]

Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.