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

经典配置 Vlan篇(2)

2008年08月11日
ChinaItLab/

  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$GDCVUXu2Kn3mgBDKwF00h1
  set enablepass $1$0o8Z$GDCVUXu2Kn3mgBDKwF00h1
  set prompt Cat5k>
  set length 24 default
  set logout 20
  set banner motd ^C^C
  !
  #system
  set system baud 9600
  set system modem disable
  set system name
  set system location
  set system contact
  !
  #snmp
  set snmp community read-only public
  set snmp community read-write private
  set snmp community read-write-all secret
  set snmp rmon disable
  set snmp trap disable module
  set snmp trap disable chassis
  set snmp trap disable bridge
  set snmp trap disable repeater
  set snmp trap disable vtp
  set snmp trap disable auth
  set snmp trap disable ippermit
  set snmp trap disable vmps
  set snmp trap disable entity
  set snmp trap disable config
  set snmp trap disable stpx
  !
  #ip
  set interface sc0 2 130.10.7.100 255.255.255.0 130.10.7.255
  
  set interface sc0 up
  set interface sl0 0.0.0.0 0.0.0.0
  set interface sl0 up
  set arp agingtime 1200
  set ip redirect enable
  set ip unreachable enable
  set ip fragmentation enable
  set ip route 0.0.0.0 130.10.7.1 1
  set ip alias default 0.0.0.0
  !
  #Command alias
  !
  #vmps
  set vmps server retry 3
  set vmps server reconfirminterval 60
  set vmps tftpserver 0.0.0.0 vmps-config-database.1
  set vmps state disable
  
  !
  #dns
  set ip dns disable
  !
  #tacacs+
  set tacacs attempts 3
  set tacacs directedrequest disable
  set tacacs timeout 5
  set authentication login tacacs disable
  set authentication login local enable
  set authentication enable tacacs disable
  set authentication enable local enable
  !
  #bridge
  set bridge ipx snaptoether 8023raw
  set bridge ipx 8022toether 8023
  set bridge ipx 8023rawtof
发表评论请到:http://bbs.cnitom.com

相关阅读

图文热点

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

本类热点