D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
364
Parameters
<vlan_name 32> - Specify the name of the VLAN on which the router port resides.
vlanid - Specify the VLAN ID list.
<vlanid_list> - Specify the VLAN ID list.
add - Specify to add the router ports.
delete - Specify to delete the router ports.
<portlist> - Specify a range of ports to be configured.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To set up port range 1 to 7 to be forbidden router ports of the default VLAN:
DGS-3420-28SC:admin#config router_ports_forbidden default add 1-7
Command: config router_ports_forbidden default add 1-7
Success.
DGS-3420-28SC:admin#
36-5 show router_ports
Description
This command is used to display the current router ports on the switch.
Format
show router_ports [vlan <vlan_name 32> | vlanid <vlanid_list> | all] {[static | dynamic |
forbidden]}
Parameters
vlan - Specify the name of the VLAN on which the router port resides.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
vlanid - Specify the ID of the VLAN on which the router port resides.
<vlanid_list> - Specify the VLAN ID list.
all Specifies that all the VLAN’s will be displayed.
static - (Optional) Display router ports that have been statically configured.
dynamic - (Optional) Display router ports that have been dynamically registered.
forbidden - (Optional) Display forbidden router ports that have been statically configured.
Note: If no parameter is specified, the system will display all the current router ports on
the Switch.
Restrictions
None.