有一个VLAN组播的应用,环境是:一台三层交换机S5500,几台PC机,如图的连接,要求达到PC1发送组播报文,PC2能收到。
由于没有三层路由器,只能通过配置静态配置IGMP SNOOPING的方式来构建组播表。
配置代码如下:
igmp-snooping
quit
vlan 10
port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/2
igmp-snooping enable
quit
vlan 20
port GigabitEthernet 1/0/3 to GigabitEthernet 1/0/4
igmp-snooping enable
quit
vlan 30
port GigabitEthernet 1/0/5 to GigabitEthernet 1/0/6
igmp-snooping enable
quit
vlan 100
port GigabitEthernet 1/0/7 to GigabitEthernet 1/0/8
igmp-snooping enable
quit
multicast-vlan 100
subvlan 10 20 30
quit
interface Gigabitethernet 1/0/2
igmp-snooping static-group 239.1.1.10 vlan 10
quit
interface Gigabitethernet 1/0/8
igmp-snooping static-router-port vlan 100
quit
问题:
在Gigabitethernet
1/0/8口发送239.1.1.10的组播报文,理论上就应该转到Gigabitethernet
1/0/2口上。
(0)
最佳答案
虽然没有组播查询器,但是手动添加了Snooping的配置啊,通过查看组播状态,和动态监听到的一模一样啊,就是不通这解释不了啊。
interface Gigabitethernet 1/0/2
igmp-snooping static-group 239.1.1.10 vlan 10
quit
interface Gigabitethernet 1/0/8
igmp-snooping static-router-port vlan 100
quit
通过查看交换机的状态,明明是有的,和动态学习到的是一模一样。
[H3C]display igmp-snooping group
Total 2 IP Group(s).
Total 2 IP Source(s).
Total 2 MAC Group(s).
Port flags: D-Dynamic port, S-Static port, C-Copy port
Subvlan flags: R-Real VLAN, C-Copy VLAN
Vlan(id):10.
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Router port(s):total 0 port(s).
IP group(s):the following ip group(s) match to one mac group.
IP group address:239.1.1.10
(0.0.0.0, 239.1.1.10):
Host port(s):total 1 port(s).
GE1/0/2 (S)
MAC group(s):
MAC group address:0100-5e01-010a
Host port(s):total 1 port(s).
GE1/0/2
Vlan(id):100.
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Router port(s):total 1 port(s).
GE1/0/8 (S)
IP group(s):the following ip group(s) match to one mac group.
IP group address:239.1.1.10
(0.0.0.0, 239.1.1.10):
Host port(s):total 0 port(s).
MAC group(s):
MAC group address:0100-5e01-010a
Host port(s):total 0 port(s).
[H3C]display multicast-vlan
Total 1 multicast-vlan(s)
Multicast vlan 100
subvlan list:
vlan 10 20 30
port list:
no port
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
注意组播IP报文的TTI值,不能设置为1.