D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
23
config ports
state [enable | disable] Enables or disables the specified range of ports.
description <desc 32> - Enter an alphanumeric string of no more than 32 characters to
describe a selected port interface.
clear_description - Enter this command to clear the port description of the selected
port(s).
Restrictions
Only administrator-level users can issue this command.
Example usage:
To configure the speed of port 3 to be 10 Mbps, full duplex, with learning and state enabled:
DGS-3600:4#config ports 1:1-1:3 speed 10_full learning enable state enable
Command: config ports 1:1-1:3 speed 10_full learning enable state enable
Success.
DGS-3600:4#
show ports
Purpose
Used to display the current configuration of a range of ports.
Syntax show ports {<portlist>} {[description} | err_disabled]}
Description
This command is used to display the current configuration of a range of ports.
Parameters
<portlist> Specifies a port or range of ports to be displayed. 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)
{description} – Adding this parameter to the show ports command indicates
that a previously entered port description will be included in the display.
err_disabled – Choosing this parameter will display ports that have been
disconnected due to an error on the port, such as a Loopback Detection.
Restrictions
None.
Example usage:
To display the configuration of all ports on a standalone switch: