DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
22
10_half
- Set port speed to 10_half.
10_full
- Set port speed to 10_full.
100_half
- Set port speed to 100_half.
100_full
- Set port speed to 100_full._
1000_full
- 1000_full set port speed to 1000_full. While set port speed to 1000_full,user
should Specifies master or slave mode for 1000 base TX interface, and leave the 1000_full
without any master or slave setting for other interface.
master
- Specifies that the port(s) will be set to master.
slave
- Specifies that the port(s) will be set to slave.
flow_control
- (Optional) You can turn on or turn off flow control on one or more ports. By set
flow_control to enable or disable.
enable
- Specifies that the flow control option will be enabled.
disable
- Specifies that the flow control option will be disabled.
learning
- (Optional) You can turn on or turn off MAC address learning on one or more ports.
enable
- Specifies that the learning option will be enabled.
disable
- Specifies that the learning option will be disabled.
state
- (Optional) Enables or disables the specified port. If the specified ports are in error-
disabled status , configure their state to enable will recover these ports from disabled to
enable state.
enable
- Specifies that the port state will be enabled.
disable
- Specifies that the port state will be disabled.
mdix
- (Optional) MDIX mode can be specified as auto, normal, and cross. If set to normal state,
the port is in MDIX mode and can be connected to PC NIC using a straight cable. If set to
cross state, the port is in mdi mode, and can be connected to a port (in mdix mode) on
another Switch thru a straight cable.
auto
- Specifies that the MDIX mode for the port will be set to auto.
normal
- Specifies that the MDIX mode for the port will be set to normal.
cross
- Specifies that the MDIX mode for the port will be set to cross.
description
- (Optional) Specifies the description of the port interface.
<desc 1-32>
- Enter the port interface description here. This value can be up to 32 characters
long.
clear_description
- Specifies that the description field will be cleared.
Restrictions
Only Administrators and Operators can issue this command.
Example
To configure the ports:
DWS-3160-24PC:admin#config ports all medium_type copper speed auto
Command: config ports all medium_type copper speed auto
Success.
DWS-3160-24PC:admin#
2-18
show ports
Description
This command is used to display the current configurations of a range of ports.