![图片[1]-第21章 IGMPv1配置-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片28-7.png)
1.R1配置
[R1]multicast routing-enable
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]pim dm
[R1-GigabitEthernet0/0/0]igmp enable
[R1-GigabitEthernet0/0/0]igmp version 1
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]pim dm
2.R2配置
[R2]multicast routing-enable
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]pim dm
[R2-GigabitEthernet0/0/0]igmp enable
[R2-GigabitEthernet0/0/0]igmp version 1
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]pim dm
3.查看查询器的选举
[R1]display igmp interface GigabitEthernet 0/0/0
Interface information of VPN-Instance: public net
GigabitEthernet0/0/0(12.1.1.1):
IGMP is enabled
Current IGMP version is 1
IGMP state: up
IGMP group policy: none
IGMP limit: -
Value of query interval for IGMP (negotiated): -
Value of query interval for IGMP (configured): 60 s
Value of other querier timeout for IGMP: 0 s
Value of maximum query response time for IGMP: -
Querier for IGMP: 12.1.1.2
4.查看DR信息
[R1]display pim interface
VPN-Instance: public net
Interface State NbrCnt HelloInt DR-Pri DR-Address
GE0/0/0 up 1 30 1 12.1.1.2
5.修改R1接口DR优先级,查看DR信息
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]pim hello-option dr-priority 100
[R1]display pim interface
VPN-Instance: public net
Interface State NbrCnt HelloInt DR-Pri DR-Address
GE0/0/0 up 1 30 100 12.1.1.1 (local)
[R1]display igmp interface GigabitEthernet 0/0/0
Interface information of VPN-Instance: public net
GigabitEthernet0/0/0(12.1.1.1):
IGMP is enabled
Current IGMP version is 1
IGMP state: up
IGMP group policy: none
IGMP limit: -
Value of query interval for IGMP (negotiated): -
Value of query interval for IGMP (configured): 60 s
Value of other querier timeout for IGMP: 0 s
Value of maximum query response time for IGMP: -
Querier for IGMP: 12.1.1.1 (this router)
6.R1上打开IGMP的Debug功能,查看IGMPv1 Report消息
<R1>debugging igmp report
<R1>debugging igmp event
<R1>terminal monitor
<R1>terminal debugging
<R1>debugging igmp leave
7.在PC1上配置IGMPv1并加入组播组229.1.1.1
![图片[2]-第21章 IGMPv1配置-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片29-6-1024x278.png)
8.查看R1上查看IGMP组信息
[R1]display igmp group
Interface group report information of VPN-Instance: public net
GigabitEthernet0/0/0(12.1.1.1):
Total 1 IGMP Group reported
Group Address Last Reporter Uptime Expires
239.1.1.1 12.1.1.3 00:16:25 00:01:51
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容