R1
interface Ethernet0/0
ip address 192.168.1.2 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip address 172.16.1.1 255.255.255.0
shutdown
half-duplex
standby 1 ip 172.16.1.100
standby 1 timers 5 15 //设置holle包超时时间,5 为五秒无hello包为超时,15为再等待15秒,15秒内无hello包则认为该端口down
standby 1 preempt //开启抢占机制
standby 1 track Ethernet0/1 20 //跟踪E0/1接口,如果该接口down掉,则将优先级减20
R2
interface Ethernet0/0
ip address 10.0.0.2 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip address 172.16.1.2 255.255.255.0
half-duplex
standby 1 ip 172.16.1.100
standby 1 timers 5 15
standby 1 priority 80
standby 1 preempt
standby 1 track Ethernet0/1 20
【点击图片进入下一页或下一篇】
- 看不过瘾?点击下面链接!
- cfg文件是什么?
- 笔记本电脑屏幕闪烁抖动怎么回事
- mac怎么清理缓存?
- 电脑开机出现您已使用临时配置文件登录怎么办
- 怎样设置电脑开机音乐和关机音乐
- No provisioned iOS device is connected错误解决方法