IOS-XR LDP Configuration memo – part 1

LDP Discovery Parameter

mpls ldp
 [vrf {VRF名}] router-id {IPアドレス}
 discovery {hello | targeted-hello} holdtime {秒}
 discovery {hello | targeted-hello} interval {秒}
commit
  • 確認はshow mpls ldp parameters

LDP Discovery over a link

mpls ldp
 [vrf {VRF名}] router-id {IPアドレス}
 interface {インターフェース名}
commit

確認コマンド:

show mpls ldp discovery
show mpls ldp vrf {VRF名} discovery
show mpls ldp vrf all discovery summary
show mpls ldp vrf all discovery brief
show mpls ldp vrf all ipv4 discovery summary
show mpls ldp discovery summary all
  • コンフィグガイドでは、インターフェース名はTE Tunnelを指定するとあるが、それ以外も指定できるっぽい
RP/0/0/CPU0:XR1#conf
Tue May 21 13:36:15.354 UTC
RP/0/0/CPU0:XR1(config)#mpls ldp
RP/0/0/CPU0:XR1(config-ldp)#interface ?
  BVI              Bridge-Group Virtual Interface
  Bundle-Ether     Aggregated Ethernet interface(s) | short name is BE
  Bundle-POS       Aggregated POS interface(s) | short name is BP
  FastEthernet     FastEthernet/IEEE 802.3 interface(s) | short name is Fa
  FortyGigE        FortyGigabitEthernet/IEEE 802.3 interface(s) | short name is Fo
  GigabitEthernet  GigabitEthernet/IEEE 802.3 interface(s) | short name is Gi
  HundredGigE      HundredGigabitEthernet/IEEE 802.3 interface(s) | short name is
  IMA              ATM Network Interface(s) | short name is IMA
  Multilink        Multilink network interface(s) | short name is Ml
  POS              Packet over SONET/SDH network interface(s) | short name is POS
  SRP              SRP interface(s) | short name is SRP
  Serial           Serial network interface(s) | short name is Se
  TenGigE          TenGigabitEthernet/IEEE 802.3 interface(s) | short name is Te
  TwentyFiveGigE   TwentyFiveGigabitEthernet/IEEE 802.3 interface(s) | short name
  tunnel-ip        GRE/IPinIP Tunnel Interface(s)
  tunnel-ipsec     IPSec Tunnel interface(s) | short name is tsec
  tunnel-te        MPLS Traffic Engineering Tunnel interface(s) | short name is tt

LDP Discovery for Active Targeted Hellos

mpls ldp
 [vrf {VRF名}] router-id {IPアドレス}
 interface {インターフェース名}
 commit
  • TEトンネルのヘッドエンド側
  • 事前にMPLS TEトンネルが確立している必要がある。

LDP Discovery for Passive Targeted Hellos

mpls ldp
 [vrf {VRF名}] router-id {IPアドレス}
 discovery targeted-hello accept
commit
  • TEトンネルのテールエンド側

コメント

タイトルとURLをコピーしました