D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
144
config router_ports_forbidden
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.
Restrictions Only administrator-level users can issue this command.
Example usage:
To set up forbidden router ports:
DGS-3324SRi:4#config router_ports_forbidden default add 2:1-2:10
Command: config router_ports_forbidden default add 2:1-2:10
Success.
DGS-3324SRi:4#
show router_ports
Purpose Used to display the currently configured router ports on the Switch.
Syntax
show router_ports {vlan <vlan_name 32>} {static | dynamic |
forbidden}
Description This command will display the router ports currently configured on
the Switch.
Parameters
vlan <vlan_name 32> The name of the VLAN on which the router
port resides.
static Displays router ports that have been statically configured.
dynamic Displays router ports that have been dynamically
configured.
forbidden – Displays router ports that have been labeled as
forbidden.
Restrictions None.
Example usage:
To display the router ports.