IT运维管理,创造商业价值!
中国IT运维网首页 | 资讯中心 | 运维管理 | 信息安全 | CIO视界 | 云计算 | 最佳案例 | 运维资源 | 专题策划 | 知识库 | 论坛

MPLS-VPN 基本配置(Cisco设备)(2)

2008年06月24日
/

  Configuration commands specific to Customer_A are in red, to Customer_B in blue, and to both in fuchsia.
  ---------------------------------------------------------------------------------------
  Pescara
  ---------------------------------------------------------------------------------------
  Current configuration:
  !
  version 12.0
  !
  hostname Pescara
  !
  ip cef
  !
  ip vrf Customer_A
  rd 100:110
  route-target export 100:1000
  route-target import 100:1000
  !
  ip vrf Customer_B
  rd 100:120
  route-target export 100:2000
  route-target import 100:2000
  !
  clns routing
  mpls traffic-eng tunnels
  !
  interface Loopback0
  ip address 10.10.10.4 255.255.255.255
  ip router isis
  clns router isis
  !
  interface Loopback101
  ip vrf forwarding Customer_A
  ip address 200.0.4.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Loopback102
  ip vrf forwarding Customer_B
  ip address 200.0.4.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0/1
  no ip address
  no ip directed-broadcast
  encapsulation frame-relay
  no fair-queue
  !
  interface Serial0/1.1 point-to-point
  description link to Pauillac
  bandwidth 512
  ip address 10.1.1.14 255.255.255.252
  no ip directed-broadcast
  ip router isis
  tag-switching ip
  clns router isis
  frame-relay interface-dlci 401
  !
  router isis
  net 49.0001.0000.0000.0004.00
  is-type level-1
  !
  router bgp 100
  bgp log-neighbor-changes
  neighbor 10.10.10.6 remote-as 100
  neighbor 10.10.10.6 update-source Loopback0
  !
  address-family vpnv4
  neighbor 10.10.10.6 activate
  neighbor 10.10.10.6 send-community both
  exit-address-family
  !
  address-family ipv4 vrf Customer_B
  redistribute connected
  no auto-summary
  no synchronization
  exit-address-family
  !
  address-family ipv4 vrf Customer_A
  redistribute connected
  no auto-summary
  no synchronization
  exit-address-family
  !
  ip classless
  !
  end
  ---------------------------------------------------------------------------------------
  Pesaro
  ---------------------------------------------------------------------------------------
  Current configuration:
  !
  version 12.1
  !
  hostname Pesaro
  !
  ip vrf Customer_A
  rd 100:110
  route-target export 100:1000
  route-target import 100:1000
  !
  ip vrf Customer_B
  rd 100:120
  route-target export 100:2000
  route-target import 100:2000
  !
  ip cef
  clns routing
  !
  !
  interface Loopback0
  ip address 10.10.10.6
发表评论请到:http://bbs.cnitom.com

相关阅读

图文热点

以不变应万变 网络虚拟化应对园区网新挑战
以不变应万变 网络虚拟化应对园区网新挑战Forrester Research的分析师Robert Whiteley认为: “十年以来,虚拟化技术与网络...
OpenShift加入更多新元素 友好面对开发者
OpenShift加入更多新元素 友好面对开发者通过网络进行程序提供的服务称之为SaaS(Software as a Service),而将服务器平台...

本类热点