MPLS-IX WG

Ciscoルータの設定


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

interface GigabitEthernet1/1
  mtu 1526
  ip address 192.168.1.1 255.255.255.0

MPLS を有効にする
ip cef
no tag-switching ip propagate-ttl

interface GigabitEthernet1/1
  tag-switching mtu 1508
  tag-switching ip

・LDP によるユーザ収容を行う場合は以下を追加

mpls label protocol ldp

interface GigabitEthernet1/1
  mpls ldp discovery transport-address interface
  mpls label protocol ldp

distix との接続
router bgp 65100
  neighbor 10.0.1.1 remote-as 18079
  !
  address-family ipv4
  neighbor 10.0.1.1 activate
  neighbor 10.0.1.1 route-map bgp-export out
  neighbor 10.0.1.1 send-label
  exit-address-family

LDP によるユーザ収容
ip route 10.0.0.x 255.255.255.255 192.168.1.2

BGP によるユーザ収容
router bgp 65100
  neighbor 192.168.1.2 remote-as 65001
  !
  address-family ipv4
  neighbor 192.168.1.2 activate
  neighbor 192.168.1.2 route-map bgp-export out
  neighbor 192.168.1.2 send-label
  exit-address-family