Type2:MAC/IP Advertisement Route
7月 5th, 2020,由 frank撰写
Type2 能做什么?
对于分析Type2,用上一篇文章中的报文 “evpn_pacp_rt1-4.zip”,由于type2主要承载MAC地址,所以不涉及控制层面的内容
- 主要传递MAC地址
- 在Type2中的Community中定义了MAC迁移
Type2 分析
报文格式


从PE1的抓包信息中(第420个BGP Update报文)里确认Type2的信息:

使用show命令来确认Type2:
RP/0/RSP0/CPU0:PE1#show evpn evi mac Sat Dec 5 13:49:22.658 UTC VPN-ID Encap MAC address IP address Nexthop Label ---------- ---------- -------------- ---------------------------------------- --------------------------------------- -------- 300 MPLS 0010.9400.0001 :: Bundle-Ether100.33 24000 300 MPLS 0010.9400.0001 :: 192.168.0.2 24002 300 MPLS 0010.9400.0002 :: 192.168.0.3 24004 65535 N/A 0008.3136.3134 :: Local 0
MAC Mobility
当主机从一个ESI 移动到另一个ESI后( 也称为“ MAC移动” ),通过上面说的序列号来确认MAC的正确位置,如下图:
