![D-Link xStack DGS-3400 Series Cli Manual Download Page 174](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433174.webp)
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:
D G S – 3 4 2 6 : 5 # c o n f i g r o u t e r _ p o r t s _ f o r b i d d e n d e f a u l t a d d 1 : 2 – 1 : 1 0
C o m m a n d : c o n f i g r o u t e r _ p o r t s _ f o r b i d d e n d e f a u l t a d d 1 : 2 – 1 : 1 0
S u c c e s s .
D G S – 3 4 2 6 : 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:
D G S – 3 4 2 6 : 5 # e n a b l e i g m p _ s n o o p i n g
C o m m a n d : e n a b l e i g m p _ s n o o p i n g
S u c c e s s .
DGS–3426:5#