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

经典配置 Vlan篇

2008年08月11日
ChinaItLab/
 
  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
  telnet
  配置说明
  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
  !
发表评论请到:http://bbs.cnitom.com

相关阅读

图文热点

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

本类热点