![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bgae.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
170
config router_ports_forbidden
Purpose Used to configure ports as forbidden multicast router ports.
Syntax
config router_ports_forbidden <vlan_name 32> [add | delete] <portlist>
Description This command is used to designate a port or range of ports as being forbidden to
multicast–enabled routers. This will ensure that multicast packets will not be forwarded to
this port − regardless of protocol, etc.
Parameters
<vlan_name 32> − The name of the VLAN on which the router port resides.
[add | delete] – Specifies whether to add or delete forbidden ports of the specified VLAN.
<portlist> − Specifies a range of ports that will be configured as forbidden router ports.
The port list is specified by listing the lowest switch number and the beginning port
number on that switch, separated by a colon. Then the highest switch number, and the
highest port number of the range (also separated by a colon) are specified. The
beginning and end of the port list range are separated by a dash. For example, 1:3
specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3–2:4 specifies
all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Non–
contiguous portlist entries are separated by a comma. (ex: 1:1–1:3,1:7–1:9)
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To set up forbidden router ports:
DGS–3426:5#config router_ports_forbidden default add 1:2–1:10
Command: config router_ports_forbidden default add 1:2–1:10
Success.
DGS–3426:5#
enable igmp_snooping
Purpose Used to enable IGMP snooping on the Switch.
Syntax
enable igmp_snooping {forward_mcrouter_only}
Description This command is used to enable IGMP snooping on the Switch. If forward_mcrouter_only
is specified, the Switch will forward all multicast traffic to the multicast router only.
Otherwise, the Switch forwards all multicast traffic to any IP router.
Parameters
forward_mcrouter_only − Specifies that the Switch should only forward all multicast traffic
to a multicast–enabled router. Otherwise, the Switch will forward all multicast traffic to any
IP router.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable IGMP snooping on the Switch:
DGS–3426:5#enable igmp_snooping
Command: enable igmp_snooping
Success.
DGS–3426:5#