xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
21 
 
DGS-3120-24TC:admin#config ports all medium_type copper speed auto 
Command: config ports all medium_type copper speed auto 
 
Success. 
 
 
2-18  show ports 
Description 
This command is used to display the current configurations of a range of ports. 
 
Format 
show ports {<portlist>} {[description | err_disabled | details | media_type]} 
 
Parameters 
ports - Specify a range of ports to be displayed. 
<portlist> - (Optional) Enter the list of ports to be configured here. 
description - (Optional) Indicates if port description will be included in the display .  
err_disabled - (Optional) Indicates if ports are disabled by some reasons will be displayed. 
details - (Optional) Displays the port details. 
 - (Optional) Displays port transceiver type. 
 
Restrictions 
None. 
 
Example 
To display the port details: