MPLS-IX WG

Ciscoルータの設定


インターフェースの設定
interface GigabitEthernet1/0
  ip address 192.41.187.2 255.255.255.252

ループバックの設定
interface Loopback0
  ip address 192.41.184.1 255.255.255.255

distix向け経路の設定
ip route 192.41.184.0 255.255.252.0 192.41.187.1 254

MPLSを有効にする
・LDP, RSVP共通設定

ip cef
no tag-switching ip propagate-ttl

・LDPを有効にする

mpls label protocol ldp

interface GigabitEthernet1/0
  tag-switching ip
  mpls label protocol ldp
  mpls ldp discovery transport-address interface

・RSVPを有効にする

mpls traffic-eng tunnels

interface GigabitEthernet1/0
  tag-switching ip
  mpls traffic-eng tunnels
  ip rsvp bandwidth


FECの生成

tag-switching advertise-tags interface GigabitEthernet1/0
tag-switching tdp router-id Loopback0 force

対向Edge LSRに対する経路
ip route 192.41.187.6 255.255.255.255 192.41.187.1 250


LSP Tunnelの設定
interface Tunnel0
  ip unnumbered GigabitEthernet1/0
  tag-switching ip
  tunnel source 192.41.187.2
  tunnel destination 192.41.187.6
  tunnel mode mpls traffic-eng
  tunnel mpls traffic-eng path-option 1 explicit name from-EdgeA-to-EdgeB verbatim

ip explicit-path name from-EdgeA-to-EdgeB
  next-address 192.41.187.1

対向Edge LSRに対する経路
ip route 192.41.187.6 255.255.255.255 Tunnel0


BGPの設定
router bgp 1
  neighbor 192.41.187.6 remote-as 2
  neighbor 192.41.187.6 ebgp-multihop 2
  neighbor 192.41.187.6 update-source GigabitEthernet1/0