A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
24
config ports
auto_negotiation restart_an - Restart the auto-negotiation process.
flow_control [enable | disable] – Enable or disable flow control for the specified ports.
learning [enable | disable] Enables or disables the MAC address learning on the
specified range of 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 and Operator-level users can issue this command.
Example usage:
To configure the speed of port 3 of switch 1 to be 10 Mbps, full duplex, with learning and state enabled:
DGS-3426P:5#config ports 1:1-1:3 speed 10
_
full learning enable flow
_
control
enable
Command: config ports 1:1-1:3 speed 10_full learning enable flow_control enable
Success.
DGS-3426P:5#
show ports
Purpose Used to display the current configuration of a range of ports.
Syntax
show ports {<portlist>} { [ description | err_disabled |auto_negotiation |details |
media_type] }
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.
auto_negotiation – Indicate if port auto negotiation information will be included in the
display.
details – Indicates if port detail information will be included in the display.
media_type – Specifies to display the port transceiver type.
Restrictions None.
Example usage:
To display the configuration of all ports on the switch: