兩臺三層交換機做hsrp
uj5u.com熱心網友回復:
配置如下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
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/92592.html
標籤:網絡協議與配置
上一篇:在ART-Pi H750上移植TouchGFX(三)——移植TouchGFX到RT-Thread系統
下一篇:求教FTP上傳速度問題
