xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
662
DGS-3627:admin# config ports 1:1-1:3 speed 10_full learning enable state enable
flow_control enable
Command: config ports 1:1-1:3 speed 10_full learning enable state enable flow_control
enable
Success.
DGS-3627:admin#
To configure the speed of ports 1 to 3 of unit 1 to be auto, capability advertised with half duplex and full duplex ports:
DGS-3627:admin# config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full
Command: config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full
Success.
DGS-3627:admin#
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 beginning and end of the port
list range are separated by a dash.
{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.
auto_negoriation – Choosing this parameter will display the port auto-negotiation information in
the display.
details
- Displays the port detailed information
media_type
- Displays port transceiver type.
Restrictions
None.
Example usage:
To display the configuration of all ports on a switch: