首页  登陆  注册  博客集  下载频道  网络硬盘  学院论坛  家园
IT学院 网站地图 网站地图
收藏本站 收藏本站
高级搜索 高级搜索
 新闻IT新闻 互联网 微软 黑客新闻 网络网络协议 故障 网络管理 TCP/IP 无线技术 解决方案 黑客技术 漏洞 软件评测 安全资讯
 数据MSsql Oracle Mysql PL/SQL 备份 系统:Linux vista Windows FTP 防火墙 注册表 服务器行情 服务器应用 解决方案 WEB服务器
 墙纸风景壁纸 游戏壁纸 体育壁纸 汽车壁纸 人文壁纸 影视壁纸 广告壁纸 花卉壁纸 节日壁纸 动漫壁纸 明星壁纸 绘画壁纸 月历壁纸
当前位置: > 主页>cisco>综合技术>MPLS>Cisco 上的MPLS基本配置
热门文章排行
 
热门文章排行 MPLS是什么
MPLS:ATM与IP结合新模
MPLS发展简史
基于MPLS技术的流量工程
MPLS实验清单
mpls配置,公司实验室的
MPLS前景看好
如果看待MPLS的未来
MPLS走向成熟
安全卫士:MPLS
精采文章推荐
 
精采文章推荐 MPLS的ATM应用
语音+视频+数据+mpls经
MPLS的框架结构
MPLS的概念、原理与作用
MPLS不利于Internet发展
给MPLS热泼点凉水
安全卫士:MPLS
MPLS走向成熟
如果看待MPLS的未来
MPLS前景看好
最新更新文章
 
最新更新文章 MPLS 入门
mpls范例
MPLS Technical Tips
MPLS的QoS测试
MPLS的ATM应用
多协议波长交换(MPLS)
困扰MPLS的几个问题
Cisco 上的MPLS基本配置
语音+视频+数据+mpls经
MPLS讨论组的常用连接

Cisco 上的MPLS基本配置

编辑:   来源:  日期:2008-03-01   我要投稿      家园

Pescara
  Current configuration:
  !
  version 12.2
  !
  hostname Pescara
  !
  ip cef
  !
  
  
  !--- Customer A commands
  ip vrf Customer_A
  !--- Enables the VPN routing and forwarding (VRF) routing table
  !--- This command can be used in global or
  !--- router configuration mode
  rd 100:110
  !--- 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 commands
  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 commands
  interface Loopback101
  ip vrf forwarding Customer_A
  !--- Associates a VRF instance with an interface or subinterface
  ip address 200.0.4.1 255.255.255.0
  !--- Loopback101 and 102 use the same IP address, 200.0.4.1.
  !--- This is allowed because they belong to two
  !--- different customers' VRFs
  no ip directed-broadcast
  !
  
  !--- Customer B commands
  interface Loopback102
  ip vrf forwarding Customer_B
  ip address 200.0.4.1 255.255.255.0
  !--- Loopback101 and 102 use the same IP address, 200.0.4.1.
  !--- This is allowed because they belong to two
  !--- different customers' VRFs
  no ip directed-broadcast
  !
  interface Serial2/0
  no ip address
  no ip directed-broadcast
  encapsulation frame-relay
  no fair-queue
  !
  interface Serial2/0.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
  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
  !--- Enables logging of BGP neighbor resets
  neighbor 10.10.10.6 remote-as 100
  !--- Adds an entry to the BGP or multiprotocol BGP neighbor table
  neighbor 10.10.10.6 update-source Loopback0
  !--- Enables BGP sessions to use a specific operational
  !--- interface for TCP connections
  !
  
  !--- Customer A and B commands
  address-family vpnv4
  !--- To enter address family configuration mode
  !--- for configuring routing sessions, such as BGP,
  !--- that use standard VPN version 4 address prefixes
  neighbor 10.10.10.6 activate
  neighbor 10.10.10.6 send-community both
  ! Sends the community attribute to a BGP neighbor
  exit-address-family
  !
  
  !--- Customer B commands
  address-family ipv4 vrf Customer_B
  !--- To enter address family configuration mode
  !--- for configuring routing sessions, such as BGP,
  !--- that use standard VPN version 4 address prefixes
  redistribute connected
  no auto-summary
  no synchronization
  exit-address-family
  !
  
  !--- Customer A commands
  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
  !
  
  !--- Customer A commands
  ip vrf Customer_A
  rd 100:110
  route-target export 100:1000
  route-target import 100:1000
  !
  
  !--- Customer B commands
  ip vrf Customer_B
  rd 100:120
  route-target export 100:2000
  route-target import 100:2000
  !
  ip cef
  
  !
  interface Loopback0
  ip address 10.10.10.6 255.255.255.255
  ip router isis
  
  !--- Customer A commands
  interface Loopback101
  ip vrf forwarding Customer_A
  ip address 200.0.6.1 255.255.255.0
  !
  
  !--- Customer B commands
  interface Loopback102
  ip vrf forwarding Customer_B
  ip address 200.0.6.1 255.255.255.0
  !
  
  !--- Customer A commands
  interface Loopback111
  ip vrf forwarding Customer_A
  ip address 200.1.6.1 255.255.255.0
  !
  interface Serial0/0
  no ip address
  encapsulation frame-relay
  no ip mroute-cache
  random-detect
  !
  interface Serial0/0.1 point-to-point
  description link to Pomerol
  bandwidth 512
  ip address 10.1.1.22 255.255.255.252
  ip router isis
  tag-switching ip
  frame-relay interface-dlci 603
  !
  router isis
  net 49.0001.0000.0000.0006.00
  is-type level-1
  !
  router bgp 100
  neighbor 10.10.10.4 remote-as 100
  neighbor 10.10.10.4 update-source Loopback0
  !
  
  !--- Customer B commands
  address-family ipv4 vrf Customer_B
  redistribute connected
  no auto-summary
  no synchronization
  exit-address-family
  !
  
  !--- Customer A commands
  address-family ipv4 vrf Customer_A
  redistribute connected
  no auto-summary
  no synchronization
  exit-address-family
  !
  
  !--- Customer A and B commands
  address-family vpnv4
  neighbor 10.10.10.4 activate
  neighbor 10.10.10.4 send-community both
  exit-address-family
  !
  ip classless
  !
  end
  
  Pomerol
  Current configuration:
  !
  version 12.0
  !
  hostname Pomerol
  !
  ip cef
  
  !
  interface Loopback0
  ip address 10.10.10.3 255.255.255.255
  ip router isis
  
  !
  interface Serial0/1
  no ip address
  no ip directed-broadcast
  encapsulation frame-relay
  random-detect
  !
  interface Serial0/1.1 point-to-point
  description link to Pauillac
  ip address 10.1.1.6 255.255.255.252
  no ip directed-broadcast
  ip router isis
  tag-switching mtu 1520
  tag-switching ip
  frame-relay interface-dlci 301
  !
  interface Serial0/1.2 point-to-point
  description link to Pulligny
  ip address 10.1.1.9 255.255.255.252
  no ip directed-broadcast
  ip router isis
  tag-switching ip
  frame-relay interface-dlci 303
  !
  interface Serial0/1.3 point-to-point
  description link to Pesaro
  ip address 10.1.1.21 255.255.255.252
  no ip directed-broadcast
  ip router isis
  tag-switching ip
  
  frame-relay interface-dlci 306
  !
  router isis
  net 49.0001.0000.0000.0003.00
  is-type level-1
  !
  ip classless
  !
  end
  
  Pulligny
  Current configuration:
  !
  version 12.1
  !
  hostname Pulligny
  !
  !
  ip cef
  
  !
  !
  interface Loopback0
  ip address 10.10.10.2 255.255.255.255
  !
  interface Serial0/1
  no ip address
  encapsulation frame-relay
  random-detect
  !
  interface Serial0/1.1 point-to-point
  description link to Pauillac
  ip address 10.1.1.2 255.255.255.252
  ip router


上一篇:语音+视频+数据+mpls经典配置!  
下一篇:困扰MPLS的几个问题
 关键字:  
文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【论坛讨论

   相关文章:

   文章评论:(0条)
  
 请留名: 匿名评论   点击查看所有评论
 

  责任编辑:IT学院  声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。