首页  登陆  注册  博客集  下载频道  网络硬盘  学院论坛  家园
IT学院 网站地图 网站地图
收藏本站 收藏本站
高级搜索 高级搜索
 新闻IT新闻 互联网 微软 黑客新闻 网络网络协议 故障 网络管理 TCP/IP 无线技术 解决方案 黑客技术 漏洞 软件评测 安全资讯
 数据MSsql Oracle Mysql PL/SQL 备份 系统:Linux vista Windows FTP 防火墙 注册表 服务器行情 服务器应用 解决方案 WEB服务器
 墙纸风景壁纸 游戏壁纸 体育壁纸 汽车壁纸 人文壁纸 影视壁纸 广告壁纸 花卉壁纸 节日壁纸 动漫壁纸 明星壁纸 绘画壁纸 月历壁纸
当前位置: > 主页>cisco>综合技术>MPLS>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讨论组的常用连接

mpls配置,公司实验室的一个配置!

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

  
  p#s run
  Building configuration...
  
  Current configuration : 998 bytes
  !
  version 12.2
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname p
  !
  enable secret 5 $1$LWx8$I1u9ZMT7AUUU1H9tE1PiM.
  !
  memory-size iomem 15
  ip subnet-zero
  ip cef
  no ip domain-lookup
  no ftp-server write-enable
  !
  !
  !
  interface Loopback0
   ip address 202.98.4.3 255.255.255.255
  !
  interface Ethernet0/0
   ip address 10.1.1.10 255.255.255.252
   ip ospf cost 20
   half-duplex
   tag-switching mtu 1508
   tag-switching ip
  !
  interface Serial0/0
   no ip address
   shutdown
   no fair-queue
  !
  interface Serial0/1
   no ip address
   shutdown
  !
  interface Serial0/2
   ip address 10.1.1.6 255.255.255.252
   ip ospf cost 20
   tag-switching mtu 1508
   tag-switching ip
   clockrate 64000
  !
  router ospf 100
   log-adjacency-changes
   redistribute connected subnets
   redistribute static subnets
   network 10.1.1.6 0.0.0.0 area 0
   network 10.1.1.10 0.0.0.0 area 0
  !
  ip http server
  ip classless
  ip pim bidir-enable
  !
  !
  !
  !
  line con 0
  line aux 0
  line vty 0 4
   password runway
   login
  !
  end
  
  pe1#show run
  Building configuration...
  
  Current configuration : 1736 bytes
  !
  version 12.2
  no parser cache
  no service single-slot-reload-enable
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname pe1
  !
  logging rate-limit console 10 except errors
  enable secret 5 $1$Y7mJ$nQ8wqPkeGiH.phCV1I0OC.
  !
  ip subnet-zero
  ip cef
  no ip domain-lookup
  !
  ip vrf vpna
   rd 1:100
   route-target export 200:1
   route-target import 200:1
  no ip dhcp-client network-discovery
  no ftp-server write-enable
  !
  !
  controller E1 3/0
  !
  !
  interface Loopback0
   ip address 202.98.4.1 255.255.255.255
  !
  interface Ethernet0/0
   ip vrf forwarding vpna
   ip address 172.16.1.1 255.255.255.252
   half-duplex
   tag-switching ip
  !
  interface Serial0/0
   ip address 10.1.1.5 255.255.255.252
   ip ospf cost 20
   tag-switching mtu 1508
   tag-switching ip
  !
  interface Serial0/1
   ip address 10.1.1.1 255.255.255.252
   ip ospf cost 100
   tag-switching ip
   clockrate 64000
  !
  router ospf 100
   log-adjacency-changes
   redistribute connected metric-type 1 subnets
   redistribute static metric-type 1 subnets
   network 10.1.1.0 0.0.0.255 area 0
   network 202.98.4.0 0.0.0.255 area 0
  !
  router bgp 100
   no bgp default ipv4-unicast
   bgp log-neighbor-changes
   neighbor 202.98.4.2 remote-as 100
   neighbor 202.98.4.2 update-source Loopback0
   neighbor 202.98.4.2 version 4
   neighbor 202.98.4.2 activate
   !
   address-family ipv4 vrf vpna
   redistribute connected
   redistribute static
   no auto-summary
   no synchronization
   exit-address-family
   !
   address-family vpnv4
   neighbor 202.98.4.2 activate
   neighbor 202.98.4.2 send-community extended
   exit-address-family
  !
  ip http server
  ip classless
  ip route vrf vpna 192.168.3.0 255.255.255.0 172.16.1.2
  ip ospf name-lookup
  !
  !
  !
  line con 0
  line aux 0
  line vty 0 4
   password runway
   login
  !
  end
    
  pe2#s run
  Building configuration...
  
  Current configuration : 1822 bytes
  !
  version 12.2
  no parser cache
  no service single-slot-reload-enable
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname pe2
  !
  logging rate-limit console 10 except errors
  enable secret 5 $1$1fTh$xuf9cOlwU870HmNykwv3D1
  !
  ip subnet-zero
  ip cef
  no ip domain-lookup
  !
  ip vrf vpna
   rd 1:100
   route-target export 200:1
   route-target import 200:1
  no ip dhcp-client network-discovery
  no ftp-server write-enable
  !
  !
  !
  interface Loopback0
   ip address 202.98.4.2 255.255.255.255
  !
  interface Tunnel0
   ip vrf forwarding vpna
   no ip address
  !
  interface Ethernet0/0
   ip address 10.1.1.9 255.255.255.252
   ip ospf cost 20
   half-duplex
   tag-switching ip
  !
  interface Serial0/0
   ip address 10.1.1.2 255.255.255.252
   ip ospf cost 100
   tag-switching ip
   no fair-queue
  !    
  interface Serial0/1
   no ip address
   shutdown
  !
  interface FastEthernet1/0
   ip vrf forwarding vpna
   ip address 172.16.2.1 255.255.255.0
   duplex auto
   speed auto
   tag-switching ip
  !
  router ospf 100
   log-adjacency-changes
   redistribute connected metric-type 1 subnets
   redistribute static metric-type 1 subnets
   network 10.1.1.0 0.0.0.255 area 0
  !
  router bgp 100
   no synchronization
   no bgp default ipv4-unicast
   bgp log-neighbor-changes
   neighbor 202.98.4.1 remote-as 100
   neighbor 202.98.4.1 update-source Loopback0
   neighbor 202.98.4.1 version 4
   neighbor 202.98.4.1 activate
   no auto-summary
   !
   address-family ipv4 vrf vpna
   redistribute connected
   redistribute static
   no auto-summary
   no synchronization
   exit-address-family
   !
   address-family vpnv4
   neighbor 202.98.4.1 activate
   neighbor 202.98.4.1 send-community extended
   no auto-summary
   exit-address-family
  !
  ip http server
  ip classless
  ip route vrf vpna 192.168.4.0 255.255.255.0 172.16.2.2
  !
  !
  !    
  line con 0
  line aux 0
  line vty 0 4
   password runway
   login
  !
  end



上一篇:MPLS实验清单  
下一篇:MPLS前景看好
 关键字:  
文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【论坛讨论

   相关文章:

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

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