组播实验

目录

  1. IP组播实验
  2. IGMP实验
  3. PIM-DM实验
  4. PIM-SM实验

1 IP组播实验

1
2
3
# 主机查看组播地址
netsh interface ip show joins
netsh interface ip show ipnet

2 IGMP实验

1
2
3
4
5
6
7
multicast routing-enable
interface ethernet 0/1
igmp enable

# 查看IGMP相关信息
display igmp interface
display igmp group

3 PIM-DM实验

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 在指定端口开启pim dm
multicast routing-enable
interface ethernet 0/1
pim dm
interface ethernet 0/0
pim dm

# 开启igmp
interface Ethernet 0/1
igmp enable
interface vlan 3
igmp enable

# 查看pim相关信息
display pim neighbor
display pim routing-table

4 PIM-SM实验

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 启动pim sm
multicast routing enable
inter vlan 2
pim sm
quit

# 配置pimsm的cbsr与crp
pim
c-bsr 10.3.1.2 hash-length 4
c-rp 10.3.1.2

# 设置切换阈值,不切换
pim
spt-switch-threshold infinity
debugging pim join-prune
terminal debugging

pim
undo spt-switch-threshold