Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
Example usage:
To configure the speed of port 3 of switch 1 to be 10 Mbps, full duplex, with learning and state enabled:
DGS-3400: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-3400: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 – Use this to list disabled ports including connection
status and reason for being disabled.
Restrictions None.
Example usage:
To display the configuration of all ports on the switch:
23