迷彩 潜伏 隐蔽 伪装
分类:
2012-11-28 19:34:35
原文地址:CISCO HSRP配置 作者:network527
R1#show run
Building configuration...
Current configuration : 907 bytes
!
version 12.1
service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
!
!
!
!
subnet-zero
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no ip redirects
duplex auto
speed auto
standby 1 ip 192.168.1.100 /定义1组的浮动地址,也是ROUTER,连接网络的网关
standby 1 timers 2 10 /定义1组每2秒交换一次hello信息包,10秒没收到hello信息包就切换
standby 1 priority 150 /定义1组的优先级,值越大,优先级越高
standby 1 preempt /定义1组的HSRP组的抢占功能
standby 1 authentication cisco /定义1组的验证字符
standby 1 track Serial1/0 /定义1组的监控口(可选)
!
interface Serial1/0
ip address 13.13.13.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router rip
version 2
passive-interface FastEthernet0/0
network 13.0.0.0
network 192.168.1.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
login
!
end