![background image](/i/d-link/144853/d-link-dgs-3710-12c/h/d-link-dgs-3710-12c-641.png)
DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
637
configuring their state to enable will recover these ports from a disabled to an enabled state.
The default value is enable.
enable
- Enable the specified port(s).
disable
- Disable the specified port(s).
mdix
- Specifies the type of cabling. The default value is auto.
auto
- Select auto for auto sensing of the optimal type of cabling.
normal
- Select normal for normal cabling. If set to normal state, the port is in MDI mode and
can be connected to a PC NIC using a straight-through calbe or a port (in MDI mode) on
another switch through a cross-over cable.
cross
- Select cross for cross cabling. If set to cross state, the port is in MDIX mode, and can
be connected to a port (in MDI mode) on another switch through a straight cable.
description -
(Optional) Describe the port interface.
<desc 1-32>
- Describe the port interface.
clear_description
- (Optional) Deletes the present description of the port interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the speed of ports 1 to 3 to be 10 Mbps, with full duplex, learning enabled, state
enabled, and flow control enabled:
DGS-3710-12C:admin#config ports 1-3 speed 10_full state enable learning enable
flow_control enable
Command: config ports 1-3 speed 10_full state enable learning enable
flow_control enable
Success.
DGS-3710-12C:admin#
65-2
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
<portlist>
- (Optional) Specifies a range of ports to be displayed.
description
- (Optional) Specifies to display the port description.
err_disabled
- (Optional) Specifies to display disabled information.
details
- (Optional) Specifies to indicate if port detail information will be included in the display.
media_type
- (Optional) Specifies to display the current port media type. For FE ports, the media
type should be 100BASE-T. For GE ports (the combo port), if the current active port is the
fiber port, the media type is 1000BASE-X or 100BASE-X; if the current active port is the
copper port, the media type is 1000BASE-T.