• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

配置Vlan(zt)

发布: 2007-6-20 23:14 | 作者:   | 来源:   | 查看: 15次 | 进入软件测试论坛讨论

领测软件测试网

   
  Catalyst 5000 参数
  
  源码:
  
  实验命令
  
  clear ip permit
  
  clear ip route
  
  clear vlan
  
  clear vtp
  
  debug ip packet
  

  ping
  
  set interface sc0
  
  set ip permit
  
  set ip route
  
  set vlan
  
  set vtp
  
  show cam
  
  show config
  
  show flash
  
  show interface
  
  show ip permit
  
  show ip route
  
  show log
  
  show mac
  
  show module
  
  show port
  
  show system
  
  show users
  
  show version
  
  show vlan
  
  show vtp
  
  te.net
  
  配置说明
  
  1.R1
  
  2.R2
  
  3.R3
  
  4.R4
  
  5.R5
  
  6.R6
  
  7.CAT5K
  
  R1
  
  Current configuration:
  
  !
  
  version 11.2
  
  no service password-encryption
  
  !
  
  hostname r1
  
  !
  
  enable password cisco
  
  !
  
  !
  
  !
  
  interface Ethernet0
  
  ip address 130.10.7.1 255.255.255.0
  
  no ip directed-broadcast
  
  no ip mroute-cache
  
  !
  
  interface Serial0
  
  ip address 130.10.1.1 255.255.255.0
  
  encapsulation frame-relay
  
  ip ospf network point-to-multipoint
  
  !
  
  interface Serial1
  
  ip address 130.10.4.1 255.255.255.0
  
  clockrate 2000000
  
  !
  
  interface BRI0
  
  no ip address
  
  no ip directed-broadcast
  
  no ip mroute-cache
  
  shutdown
  
  !
  
  router ospf 10
  
  redistribute connected subnets
  
  network 130.10.1.0 0.0.0.255 area 0
  
  network 130.10.4.0 0.0.0.255 area 1
  
  network 130.10.7.0 0.0.0.255 area 2
  
  !
  
  no ip classless
  
  !
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  !
  
  end
  
  R2
  
  Current configuration:
  
  !
  
  version 11.2
  
  no service password-encryption
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname R2
  
  !
  
  enable password cisco
  
  !
  
  !
  
  !
  
  interface Serial0
  
  ip address 130.10.4.2 255.255.255.0
  
  no fair-queue
  
  !
  
  interface Serial1
  
  no ip address
  
  shutdown
  
  !
  
  interface TokenRing0
  
  ip address 130.10.5.2 255.255.255.0
  
  ring-speed 16
  
  !
  
  router ospf 20
  
  network 130.10.5.0 0.0.0.255 area 1
  
  network 130.10.4.0 0.0.0.255 area 1
  
  !
  
  no ip classless
  
  !
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  !
  
  end
  
  R3
  
  Current configuration:
  
  !
  
  version 11.2
  
  no service password-encryption
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname R3
  
  !
  
  enable password cisco
  
  !
  
  !
  
  !
  
  interface Serial0
  
  no ip address
  
  shutdown
  
  no fair-queue
  
  !
  
  interface Serial1
  
  no ip address
  
  shutdown
  
  !
  
  interface TokenRing0
  
  ip address 130.10.5.3 255.255.255.0
  
  ring-speed 16
  
  !
  
  interface TokenRing1
  
  ip address 130.10.6.3 255.255.255.0
  
  ring-speed 16
  
  !
  
  router ospf 30
  
  redistribute connected subnets
  
  network 130.10.5.0 0.0.0.255 area 1
  
  !
  
  no ip classless
  
  !
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  !
  
  end
  
  
  R5
  
  Current configuration:
  
  !
  
  version 11.2
  
  no service password-encryption
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname R5
  
  !
  
  enable password cisco
  
  !
  
  !
  
  !
  
  interface Ethernet0
  
  ip address 130.10.3.5 255.255.255.0
  
  no ip directed-broadcast
  
  no ip route-cache
  
  no ip mroute-cache
  
  no mop enabled
  
  !
  
  interface Serial0
  
  ip address 130.10.1.5 255.255.255.0
  
  encapsulation frame-relay
  
  ip ospf network point-to-multipoint
  
  frame-relay map ip 130.10.1.1 100 broadcast
  
  frame-relay map ip 130.10.1.6 100 broadcast
  
  !
  
  interface Serial1
  
  no ip address
  
  shutdown
  
  !
  
  router ospf 50
  
  redistribute connected subnets
  
  network 130.10.1.0 0.0.0.255 area 0
  
  network 130.10.3.0 0.0.0.255 area 2
  
  !
  
  no ip classless
  
  !
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  !
  
  end
  
  
  R6
  
  Current configuration:
  
  !
  
  version 11.2
  
  no service password-encryption
  
  !
  
  hostname R6
  
  !
  
  enable password cisco
  
  !
  
  !
  
  !
  
  interface Serial0
  
  ip address 130.10.1.6 255.255.255.0
  
  encapsulation frame-relay
  
  ip ospf network point-to-multipoint
  
  frame-relay map ip 130.10.1.1 110 broadcast
  
  frame-relay map ip 130.10.1.5 110 broadcast
  
  !
  
  interface Serial1
  
  no ip address
  
  no ip mroute-cache
  
  shutdown
  
  !
  
  interface TokenRing0
  
  ip address 130.10.2.6 255.255.255.0
  
  ring-speed 16
  
  !
  
  interface BRI0
  
  no ip address
  
  shutdown
  
  !
  
  router ospf 60
  
  redistribute connected subnets
  
  network 130.10.1.0 0.0.0.255 area 0
  
  !
  
  no ip classless
  
  !
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  password cisco
  
  login
  
  !
  
  end
  
  CAT5K
  
  begin
  
  set password $1$0o8Z$GDCVUXu2Kn3mgBDKwF00h

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网