以下是H3C S5560X-30C-EI交换机配置GRE隧道承载组播(PIM DM模式为例)的关键步骤:
1. 基础连接与IP地址
配置物理接口及Tunnel接口的IP地址。
2. 配置Tunnel接口
shell
interface Tunnel 0 mode gre
ip address 10.0.0.1 255.255.255.252
source 1.1.1.1 # 本端公网IP
destination 2.2.2.2 # 对端公网IP
tunnel gre multipoint # 若为点到多点需配置,点到点可省略
3. 配置组播路由及PIM
shell
multicast routing-enable
interface Tunnel 0
pim dm
igmp enable
interface GigabitEthernet1/0/1 # 连接组播源/接收者的物理口
pim dm
igmp enable
4. 配置单播路由
确保隧道两端的公网IP(source 和 destination)可以互相ping通(配置静态路由或IGP)。
*注:若使用PIM SM模式,需在Tunnel接口下启用PIM SM并配置RP。*
暂无评论