mirror of
https://github.com/gnu4cn/ccna60d.git
synced 2024-05-21 04:55:00 +08:00
update
This commit is contained in:
@@ -78,4 +78,33 @@ Switch 1 已被配置了优先级值`105`,而Switch 2使用的是默认优先
|
||||
|
||||
###HSRP版本2
|
||||
|
||||
HSRP版本2使用了新的多播地址`224.0.0.102`,而不是版本1的多播地址`224.0.0.2`, 来发送Hello数据包。不过其所用到的UDP端口号仍然一样(`1985`)。同时此新地址在IP数据包及以太网数据帧中都得以编码,如下图34.5所示:
|
||||
|
||||

|
||||
*图 34.5 -- HSRP版本2多播组地址*
|
||||
|
||||
对HSRP版本2数据包格式的深入探讨,也是超出CCNA考试要求范围的,但要记住HSRP版本2并未使用与版本1相同的数据包格式。
|
||||
|
||||
版本2数据包使用了一直类型/长度/值的格式(a Type/Length/Value format, TLV format)。被HSRP版本1的路由器接收到的版本2数据包,会将类型字段映射到HSRP版本1的版本字段,而被忽略掉。下图34.6给出了HSRP版本2数据包中所包含的信息:
|
||||
|
||||

|
||||
*图 34.6 -- HSRP版本2的数据包字段*
|
||||
|
||||
###HSRP版本1与版本2的比较
|
||||
|
||||
HSRP 版本2包括了一些对版本1的增强。本小节将对这些增强及与版本1的不同进行说明。
|
||||
|
||||
尽管HSRP版本1通告了计时器数值,但这些数值都是整秒的,因为版本1无法通告或学习到毫秒的计时器数值。而版本2就既可以通告也可以学习毫秒的计时器数值了。下面的图34.7与图34.8分别着重表示了HSRP版本1与版本2在计时器字段上的不同:
|
||||
|
||||

|
||||
*图 34.7 -- HSRP版本1的计时器字段*
|
||||
|
||||

|
||||
*图 34.8 -- HSRP版本2的计时器字段*
|
||||
|
||||
HSRP版本1的分组编号是限制在0到255的,而版本2的分组编号则已拓展到0到4095了。本课程模块后面的HSRP配置示例中,将就此差异进行演示。
|
||||
|
||||
版本2通过包含一个由物理路由器接口的MAC地址生成、用于对HSRP活动Hello报文来源的唯一性识别的6字节识别符字段(a 6-byte Identifier field),提供了改进的管理与故障排除功能。在版本1中,这些Hello报文所包含的源MAC地址,都是虚拟MAC地址,那就是说无法找出是哪台HSRP路由器发送的HSRP Hello报文。下图34.9给出了HSRP版本2,而非版本1数据包中出现的识别符字段:
|
||||
|
||||

|
||||
*图 34.9 -- HSRP版本2中的识别符字段*
|
||||
|
||||
BIN
images/3405.png
Normal file
BIN
images/3405.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 330 KiB |
BIN
images/3406.png
Normal file
BIN
images/3406.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 KiB |
BIN
images/3407.png
Normal file
BIN
images/3407.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 277 KiB |
BIN
images/3408.png
Normal file
BIN
images/3408.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 250 KiB |
BIN
images/3409.png
Normal file
BIN
images/3409.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 250 KiB |
Reference in New Issue
Block a user