MPLS label range

MPLS網iosv-1~5にて検証

デフォルト

iosv-1#show mpls label range
Downstream Generic label region: Min/Max label: 16/100000

After

iosv-1(config)#mpls label range 100 199
iosv-1(config)#
iosv-1(config)#do sh mpls label range
Downstream Generic label region: Min/Max label: 16/199
[Configured range for next reload: Min/Max label: 100/199]

iosv-1(config)#do sh mpls ldp bindings
  lib entry: 1.0.0.0/8, rev 2
        local binding:  label: imp-null
        remote binding: lsr: 3.3.3.3:0, label: 23
  lib entry: 3.0.0.0/8, rev 24
        local binding:  label: 22
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 4.4.4.4/32, rev 16
        local binding:  label: 18
        remote binding: lsr: 3.3.3.3:0, label: 17
  lib entry: 5.0.0.0/8, rev 22
        local binding:  label: 21
        remote binding: lsr: 3.3.3.3:0, label: 20
  lib entry: 12.1.1.0/24, rev 4
        local binding:  label: imp-null
  lib entry: 13.1.1.0/24, rev 8
        local binding:  label: imp-null
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 34.1.1.0/24, rev 28
        local binding:  label: 24
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 45.1.1.0/24, rev 26
        local binding:  label: 23
        remote binding: lsr: 3.3.3.3:0, label: 19
  lib entry: 46.1.1.0/24, rev 20
        local binding:  label: 20
        remote binding: lsr: 3.3.3.3:0, label: 18
  lib entry: 130.1.1.0/24, rev 18
        local binding:  label: 19
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 192.168.1.0/24, rev 10
        local binding:  label: imp-null

[Configured range for next reload: Min/Max label: 100/199]
とあるので、設定直後にラベルの配布状況を確認しても反映されていないことがわかる。(因みにclearではラベルは更新されない)

reload

iosv-1#reload
Proceed with reload? [confirm]
<略>
iosv-1#sh mpls ldp bindings
  lib entry: 1.0.0.0/8, rev 2
        local binding:  label: imp-null
        remote binding: lsr: 3.3.3.3:0, label: 23
  lib entry: 3.0.0.0/8, rev 18
        local binding:  label: 104
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 4.4.4.4/32, rev 10
        local binding:  label: 100
        remote binding: lsr: 3.3.3.3:0, label: 17
  lib entry: 5.0.0.0/8, rev 16
        local binding:  label: 103
        remote binding: lsr: 3.3.3.3:0, label: 20
  lib entry: 12.1.1.0/24, rev 4
        local binding:  label: imp-null
  lib entry: 13.1.1.0/24, rev 6
        local binding:  label: imp-null
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 34.1.1.0/24, rev 22
        local binding:  label: 106
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 45.1.1.0/24, rev 20
        local binding:  label: 105
        remote binding: lsr: 3.3.3.3:0, label: 19
  lib entry: 46.1.1.0/24, rev 14
        local binding:  label: 102
        remote binding: lsr: 3.3.3.3:0, label: 18
  lib entry: 130.1.1.0/24, rev 12
        local binding:  label: 101
        remote binding: lsr: 3.3.3.3:0, label: imp-null
  lib entry: 192.168.1.0/24, rev 8
        local binding:  label: imp-null

reloadをするとlocal labelに設定変更が反映され、100~199のラベルが割り当てられている。

参考

CCIE Enterprise Infrastructure Foundation, 2nd Edition

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