Command Guide of WGSW-28040
148
[no] ip igmp snooping vlan <VLAN-LIST> static-router-port IF_PORTS
[no] ip igmp snooping vlan <VLAN-LIST> forbidden-router-port IF_PORTS
Parameter:
VLAN-LIST
specifies VLAN ID list to set
IF_PORTS
specifies a port list to set or remove
Default:
None static/forbidden router ports
Mode:
Global Configuration
Usage Guide:
‘ip igmp snooping vlan 1 static-router-port gi1-2’ will add static router port gi1-2 for vlan 1.
‘ip igmp snooping vlan 1 forbidden-router-port gi2’ will add forbidden router port gi2 for vlan 1.
This will also remove gi2 from static router port. The forbidden router port receive query will not forward.
The configure can use ‘show ip igmp snooping router’.
Example:
The following example specifies that set ip igmp snooping static/forbidden test.
Switch(config)#
ip igmp snooping vlan 1 static-router-port gi1-2
Switch(config)#
ip igmp snooping vlan 1 forbidden-router-port gi2
Switch#
show ip igmp snooping router
Dynamic Router Table
VID | Port | Expiry Time(Sec)
------+---------+------------------
Total Entry 0
Static Router Table
VID | Port Mask
------+------------------------
1 | gi1
Total Entry 1
Forbidden Router Table
VID | Port Mask
------+------------------------
1 | gi2
Total Entry 1