GB | BIG5
|
| 首頁 > 網絡管理 > 網絡設備 > 正文 |
 |
| Cisco HSRP的配置 |
| 本文出自: 作者: (2001-10-17 12:00:01) |
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
enable password cisco
!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 136.147.107.101 255.255.0.0
no ip redirects
no ip directed-broadcast
standby 150 timers 5 15 /* 定義150組5秒交換一次hello信息,15秒沒收到
hello信息就開始切換 */
standby 150 priority 110 /* 定義150組的主路由器權值,值越大,為主路由
器希望越大 */
standby 150 preempt /* enable 150組的hsrp搶佔功能 */!
standby 150 authentication cisco /* 設置150組的router身份驗証串 */
standby 150 ip 136.147.107.100 /* 定義150組的浮動地址,也是這台router
連接的網絡的網關 */
standby 150 track Ethernet0 /* 定義監控的端口 */
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
no fair-queue
!
ip classless
!
!
line con 0
transport input none
line 1 16
line aux 0
line vty 0 4
password cisco
login
!
end
(http://www.fanqiang.com)
進入【UNIX論壇】
|
|
| 相關文章 |
|
|
|
|
 |
★ 樊強制作 歡迎分享 ★ |