![D-Link xStack DGS-3324SRi Скачать руководство пользователя страница 158](http://html1.mh-extra.com/html/d-link/xstack-dgs-3324sri/xstack-dgs-3324sri_command-line-interface-reference-manual_3147971158.webp)
xStack Gigabit Layer 3 Switch Command Line Interface Manual
config router_ports_forbidden
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.
Only
administrator-level users can issue this command.
Restrictions
Example usage:
Command: config router_ports_forbidden default add 2:1-2:10
To set up forbidden router ports:
DGS-3324SRi:4#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}
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.
forbidden
– Displays router ports that have been labeled as
forbidden.
static
−
Displays router ports that have been statically configured.
dynamic
−
Displays router ports that have been dynamically
configured.
Restrictions None.
Description
Example usage:
To display the router ports.
150