六 HSRP
1 配置命令
1配置
enable
configure terminal
hostname r1
interface fastethernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
standby 100 ip 192.168.1.100
standby 100 preempt
standby 100 password 123
exit
standby 100 trunk fastethernet 0/0 50 (R3配置
enable
configure terminal
hostname r2
interface fastethernet 0/1
no shutdown
ip address 192.168.1.2 255.255.255.0
standby 100 ip 192.168.1.100
standby 100 preempt
standby 100 password 123
exit
interface fastethernet 0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit
router rip
network 192.168.1.0
network 192.168.2.0
3)R3现实HSRP组号 brief
或者
no debug all
<span style="font-family: 宋体; mso-ascii-font-family: "Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或者
un all
转载于:https://blog.51cto.com/chenxz/294609