![D-Link xStack DGS-3324SRi Скачать руководство пользователя страница 157](http://html1.mh-extra.com/html/d-link/xstack-dgs-3324sri/xstack-dgs-3324sri_command-line-interface-reference-manual_3147971157.webp)
xStack Gigabit Layer 3 Switch Command Line Interface Manual
config router_ports
Purpose
Used to configure ports as router ports.
Syntax
config router_ports <vlan_name 32> [add | delete] <portlist>
Description
This command allows you to designate a range of ports as being
connected to multicast-enabled routers. This will ensure that all
packets with such a router as its destination will reach the
multicast-enabled router
−
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 the following
ports as router ports.
<portlist>
−
Specifies a range of ports that will be configured as
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.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To set up static router ports:
DGS-3324SRi:4#config router_ports default add 2:1-2:10
Command: config router_ports default add 2:1-2:10
Success.
DGS-3324SRi:4#
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 allows you 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
149