清风听雨 发表于 2018-7-10 09:55:16

CISCO mpls配置示例

!--- Route distinguisher creates routing and forwarding  !--- tables for a VRF.
  route-target export 100:1000
  !--- Creates lists of import and export route-target extended
  !--- communities for the specified VRF.
  route-target import 100:1000
  !
  !--- Customer_B 配置.
  ip vrf Customer_B
  rd 100:120
  route-target export 100:2000
  route-target import 100:2000
  !
  interface Loopback0
  ip address 10.10.10.4 255.255.255.255
  ip router isis
  !--- Customer_A 的配置.
  interface Loopback101
  ip vrf forwarding Customer_A
  !---将一个接口或者自接口和一个VRF 实例关联起来.
  ip address 200.0.4.1 255.255.255.0
  !--- Loopback101 和 102 使用相同的IP 地址 200.0.4.1.这是准许的,因为它们属于2 个不用
  客户的VRF
  no ip directed-broadcast
  !
  !--- Customer_B 的配置.
  interface Loopback102
  ip vrf forwarding Customer_B
  ip address 200.0.4.1 255.255.255.0
  !--- Loopback101 和 102 使用相同的IP 地址 200.0.4.1.这是准许的,因为它们属于2 个不用
  客户的VRF
  no ip directed-broadcast
  !
  interface Serial2/0
  no ip address
  no ip directed-broadcast
页: [1]
查看完整版本: CISCO mpls配置示例