DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
24
2
Switch Port Command List
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 ] [description <desc 1-32> | clear_description])
show ports { <portlist> } { [ description | err_disabled ]}
2-1 config ports
Purpose
Used to configure the 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 ] | [description <desc 1-32> |
clear_description] }
Description
The
config ports
command changes switch port settings.
Parameters
Parameters
Description
portlist
all
Specified a range of ports to be configured.
For set all ports in the system, you may use “
all
” parameter.
medium_type
Specify the medium type when configuring ports that are combo ports.
It’s an optional parameter for configuring the medium type of a combo
port; If there are no combo ports, user need not specify
medium_type
in the command.
You can 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.
Speed
100_full
Set port speed to 100_full._