MPLS初歩初歩

初期設定

iosv-1#sh mpls int
Interface              IP            Tunnel   BGP Static Operational
GigabitEthernet0/0     Yes (ldp)     No       No  No     Yes

iosv-2#sh mpls int
Interface              IP            Tunnel   BGP Static Operational
GigabitEthernet0/0     Yes (ldp)     No       No  No     Yes
GigabitEthernet0/1     Yes (ldp)     No       No  No     Yes

iosv-1#sh mpls ldp discovery
 Local LDP Identifier:
    192.168.12.1:0
    Discovery Sources:
    Interfaces:
        GigabitEthernet0/0 (ldp): xmit/recv
            LDP Id: 192.168.23.2:0; no host route

iosv-2#sh mpls ldp discovery
 Local LDP Identifier:
    192.168.23.2:0
    Discovery Sources:
    Interfaces:
        GigabitEthernet0/0 (ldp): xmit/recv
            LDP Id: 192.168.12.1:0; no host route
        GigabitEthernet0/1 (ldp): xmit/recv
            LDP Id: 192.168.34.3:0; no host route

iosv-1#sh mpls ldp neighbor
    Peer LDP Ident: 192.168.23.2:0; Local LDP Ident 192.168.12.1:0
        TCP connection: 192.168.23.2.16654 - 192.168.12.1.646
        State: Oper; Msgs sent/rcvd: 15/16; Downstream
        Up time: 00:08:58
        LDP discovery sources:
          GigabitEthernet0/0, Src IP addr: 192.168.12.2
        Addresses bound to peer LDP Ident:
          192.168.12.2    192.168.23.2

iosv-2#sh mpls ldp neighbor
    Peer LDP Ident: 192.168.34.3:0; Local LDP Ident 192.168.23.2:0
        TCP connection: 192.168.34.3.32888 - 192.168.23.2.646
        State: Oper; Msgs sent/rcvd: 25/25; Downstream
        Up time: 00:17:28
        LDP discovery sources:
          GigabitEthernet0/1, Src IP addr: 192.168.23.3
        Addresses bound to peer LDP Ident:
          192.168.23.3    192.168.34.3
    Peer LDP Ident: 192.168.12.1:0; Local LDP Ident 192.168.23.2:0
        TCP connection: 192.168.12.1.646 - 192.168.23.2.16654
        State: Oper; Msgs sent/rcvd: 16/15; Downstream
        Up time: 00:09:21
        LDP discovery sources:
          GigabitEthernet0/0, Src IP addr: 192.168.12.1
        Addresses bound to peer LDP Ident:
          192.168.12.1

勢いでsh ip mpls~と打ちそうになる。
sh mpls int の結果からわかるように、mpls単体で動作させるもんでないということがわかる。
続くnon-directly mplsではトンネルインターフェースを起動させて、destinationに直接接続していないアドレスを指定してmplsのネイバーになろうとしていたが、他のプロトコルとmplsの組み合わせ方を知らないため全くうまくいかない。
mpls全体を理解してからccoに取り組んだほうがよさそう。

参考

Chapter: MPLS Label Distribution Protocol


この記事が気に入ったらサポートをしてみませんか?