专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »网络技术 » 思科路由器配置实例:思科 Catalyst 8500 配置例子 2 »正文

思科路由器配置实例:思科 Catalyst 8500 配置例子 2

来源: 发布时间:星期四, 2009年2月12日 浏览:75次 评论:0



  例子 2:
  
  本例主要涉及HSRP培植,使用HSRP可使用网络提供更好访问性能
  
  并使网络拓扑结构对主机来说是透明活动器受HSRP中培植备份器
  
  监控旦活动路由器失去作用备份路由器取代它从而变为活动路由器
  
  Helper address 通过发送广播到目标使连接变得更容易
  
  本例里:helper address 是个DHCP 地址
  
  本例也包括对IP多播DVMRP通道和PIM配置
  
  
  version 12.0
  service slave-coredump
  no service pad
  service timestamps debug datetime msec localtime show-timezone
  service timestamps log datetime msec localtime show-timezone
  service password-encryption
  service dup-small-servers
  service tcp-small-servers
  !
  hostname Ceneter_8540
  !
  aaa -model
  aaa authentication login admin tacacs+enable
  enable password 7 105D100A0618
  !
  no ip rcmd do-lookup
  ip rcmd rcp-enable
  ip rcmd rsh-enable
  ip rcmd remote-host root 172.19.1.162 root enable
  ip rcmd remote-host root 172.19.2.81 root enable
  ip rcmd remote-host root 172.19.6.66 root enable
  ip rcmd remote-host root 172.19.43.19 root enable
  ip rcmd remote-username root
  ip do-name a.com
  ip name-server 12.19.2.132
  ip name-server 198.22.30.32
  ip multicast-routing
  ip dvmrp route-limit 7000
  clock timezone PST -8
  clock summer-time PDT recurring
  !
  INTERACE FastEthernet1/0/0
  ip address 172.19.95.197 255.255.255.192
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/1
  description Bldg 1 Network A
  ip address 172.19.93.1 255.255.255.192
  ip helper-address 172.19.2.74
  ip helper-address 172.19.2.123
  ip helper-address 172.19.30.31
  ip helper-address 172.19.2.121
  ip helper-address 172.27.84.140
  ip helper-address 172.19.67.35
  no ip redirects
  no ip directed-broadcast
  ip pim sparse-mode
  ntp broadcast key 10
  standby priority 200
  standby preempt
  standby ip 172.19.93.6
  
  !
  erface FastEthernet1/0/2
  ip address 172.19.90.1 255.255.255.192
  ip helper-address 172.19.2.74
  ip helper-address 172.19.2.123
  ip helper-address 172.19.30.31
  ip helper-address 172.19.2.121
  ip helper-address 172.27.84.140
  ip helper-address 172.19.67.35
  no ip redirects
  no ip directed-broadcast
  ip pim sparse-mode
  ntp broadcast key 10
  standby priority 200
  standby preempt
  standby ip 172.19.90.6
  standby track FastEthernet1/0/3 150
  
  !
  erface FastEthernet1/0/3
  ip address 172.19.91.1 255.255.255.192
  ip helper-address 172.19.2.74
  ip helper-address 172.19.2.123
  ip helper-address 172.19.30.31
  ip helper-address 172.19.2.121
  ip helper-address 172.27.84.140
  ip helper-address 172.19.67.35
  no ip redirects
  no ip directed-broadcast
  ip pim sparse-mode
  ntp broadcast key 10
  standby priority 200
  standby preempt
  standby ip 172.19.91.6
  
  !
  erface FastEthernet1/0/4
  description Building 2 Network A
  ip address 172.19.90.1 255.255.255.192
  ip helper-address 172.19.2.74
  ip helper-address 172.19.2.123
  ip helper-address 172.19.30.31
  ip helper-address 172.19.2.121
  ip helper-address 172.27.84.140
  ip helper-address 172.19.67.35
  no ip redirects
  no ip directed-broadcast
  ip pim sparse-mode
  ntp broadcast key 10
  standby priority 200
  standby preempt
  standby ip 172.19.88.6
  
  !
  erface FastEthernet1/0/4
  description Building 3 Network A
  ip address 172.19.90.1 255.255.255.192
  ip helper-address 172.19.2.74
  ip helper-address 172.19.2.123
  ip helper-address 172.19.30.31
  ip helper-address 172.19.2.121
  ip helper-address 172.27.84.140
  ip helper-address 172.19.67.35
  no ip redirects
  no ip directed-broadcast
  ip pim sparse-mode
  ntp broadcast key 10
  standby priority 200
  standby preempt
  standby ip 172.19.89.6
  
  !
  erface FastEthernet1/0/6
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/7
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/8
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/9
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/10
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/11
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/12
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/13
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/14
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet1/0/15
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface Ethernet0
  no ip address
  no ip directed-broadcast
  shutdown
  
  !
  router eigrp 109
  network 172.19.0.0
  no auto-summary
  !
  ip forward-protocol udp sunrpc
  ip pim accept-rp auto-rp
  ip pim accept-rp 172.19.10.13
  logging 172.19.43.19
  snmp-server community 8540 RO98
  snmp-server community RW 99
  snmp-server host 172.19.43.19 traps public
  tacacs-server host 172.19.2.210
  trcacs-server timeout 15
  !
  line con 0
  password 7 071B245F5A
  transport input none
  line aux 0
  password 7 071B245F5A
  
  line vty 0
  exec-timeout 0 0
  login authentication admin
  
  line vty 1
  exec-timeout 0 0
  login authentication admin
  length 57
  
  line vtp 2 4
  exec-timeout 0 0
  login authentication admin
  
0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: