DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
636
Chapter 65
Switch Port
Commands
config ports
[<portlist> | all] {medium_type [fiber | copper]} {speed [auto | 10_half | 10_full | 100_half |
100_full | 1000_full {[master | slave]}] | flow_control [enable | disable] | learning [enable | disable]
| state [enable | disable] | mdix [auto | normal | cross] | [description <desc 1-32> |
clear_description]}(1)
show ports
{<portlist>} {[description | err_disabled | details | media_type]}
65-1
config ports
Description
This command is used to change switch port settings.
Format
config ports [<portlist> | all] {medium_type [fiber | copper]} {speed [auto | 10_half | 10_full |
100_half | 100_full | 1000_full {[master | slave]}] | flow_control [enable | disable] | learning
[enable | disable] | state [enable | disable] | mdix [auto | normal | cross] | [description <desc
1-32> | clear_description]}(1)
Parameters
<portlist>
- Specifies a range of ports to be configured.
all
– Specifies to set all ports in the system.
medium_type
- (Optional) Specifies the medium type when configuring ports that are combo
ports.
fiber
- Specifies the fiber port.
copper
- Specifies the copper port.
speed
- Set port speed for the specified ports.
auto
- Set port speed to auto negotiation.
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
- Set port speed to 1000_full. When setting copper port speed to 1000_full, users
should specify master and slave mode in pair for 1000-BASE TX, and leave the 1000_full
without any master or slave setting for fiber.
master
- (Optional) Set to master.
slave
- (Optional) Set to slave.
flow_control
- Turn on or turn off flow control on one or more ports by setting flow_control to
enable or disable. The default value is disable.
enable
- Turn on flow control.
disable
- Turn off flow control.
learning
- Turn on or turn off MAC address learning on one or more ports. The default value is
enable.
enable
- Turn on MAC address learning.
disable
- Turn off MAC address learning.
state
- Enable or disable the state of the specified port. If the ports are in error-disabled status,