HA:high availability

1、设备的容错和可靠性

2、设备和链路、模块冗余

MSFC:路由器的处理引擎

PFC:交换机的处理引擎


RPR,是引擎板卡切换的一种机制

1、vlan datebase不被支持

2、snmp改变不能被同步

3、无镜像或负载均衡

4、同一时间只有一个引擎起作用

5、必须同样的IOS版本

6、FIB表在切换的时候被清除,路由流量被切断

7、静态路由可以切换

8、动态信息不回被同步,切换时会丢失


命令:

redundacy

mode rpr-plus

show redundancy states


SRM with SSO、NSF with SSO,这些切换很简单,速度很快,比较高级


power redundancy-mode combined /redundant

show power


代理ARP:

1、PC不用配网关

2、解决了冗余备份需求

ARP HSRP VRRP_可靠性

预配:

R1:

interface s1/0

ip address 12.1.1.1 255.255.255.0

no shut

interface s1/1

ip address 13.1.1.1 255.255.255.0

no shut

interface lo0

ip address 1.1.1.1 255.255.255.0

no shut

router rip

version 2

no auto-summary

network 12.0.0.0

network 13.0.0.0

network 1.0.0.0

R2:

interface s1/0

ip address 12.1.1.2 255.255.255.0

no shut

interface f0/0

ip address 23.1.1.2 255.255.255.0

no shut

router rip

version 2

no auto-summary

network 12.0.0.0

network 23.0.0.0

R3:

interfac s1/1

ip address 13.1.1.3 255.255.255.0

no shut

interface f0/0

ip address 23.1.1.3 255.255.255.0

no shut

router rip

version 2

no auto-summary

network 13.0.0.0

network 23.0.0.0

R4:

interface f0/0

ip address 23.1.1.4 255.255.255.0

no shut

no ip routing

配置结束,proxy arp和icmp redirects默认是开启的

在R2,R3,R4上开启 debug arp

当直连down掉后,是通过ARP代理来切换的,而PC4是个路由器,它的ARP默认老化时间是4个小时

也就是需要等4个小时后才能切换过来

上行链路down掉后,切换的时间就是IGP路由的收敛时间


IRDP:只是解决了PC不配网关的问题,通过发送icmp报文,icmp routing

边界网关主动发送报文,先比较优先级,后比较IP,地址大的

interface ip irdp

ip irdp preference 设置优先级


HSRP:推荐在思科设备上用

通过HSRP来选举active router和standby router

而PC网关的IP是虚拟的IP,在设备上配置的VIP,对应有VMAC地址

0000.0c0u.ac最后字节就是组号,前面MAC字段就是虚拟MAC的前缀字段

发送hello包,目的地址是224.0.0.2

先比高的优先级

再比高的IP地址


HSRP states

1、initial

2、learn 学习VIP,standby路由器可以不配,因为可以通过hello学习到

3、listen

4、speak 发送hello包

5、standy

6、active


VRRP:组播报文224.0.0.18


GLBP:每3秒发一次 224.0.0.108 基于UDP 3222端口