![D-Link DES-3828 - xStack Switch - Stackable Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/d-link/des-3828-xstack-switch-stackable/des-3828-xstack-switch-stackable_cli-manual_76456031.webp)
xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
27
5
S
WITCH
P
ORT
C
OMMANDS
The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command Parameters
config ports
[ <portlist> | all ] { medium_type[fiber|copper]} { speed [auto | 10_half | 10_full | 100_half
| 100_full | 1000_full] | flow_control [enable | disable] | learning [enable |
disable ] | state [enable | disable ] | description [ <desc 0-32> | clear ] }
show ports
{<portlist>} {[description} | err_disabled]}
Each command is listed, in detail, in the following sections.
config ports
Purpose
Used to configure the Switch’s Ethernet port settings.
Syntax
config ports [ <portlist> | all ] { medium_type[fiber|copper]} { speed [auto | 10_half |
10_full | 100_half | 100_full | 1000_full] | flow_control [enable | disable] | learning
[enable | disable ] | state [enable | disable ] | description [ <desc 0-32> | clear ] }
Description
This command allows for the configuration of the Switch’s Ethernet ports. Only the ports
listed in the
<portlist>
will be affected.
Parameters
<portlist>
−
Specifies a port or range of ports to be configured.
all
−
Configure all ports on the Switch.
medium_type
- Specify the medium type when the configured ports are combo ports. This
is an optional parameter for configuring the medium type of the combo port. For non-
combo ports the user does not need to specify the medium_type in the command
speed
– Allows the user to adjust the speed for a port or range of ports. The user has a
choice of the following:
auto
−
Enables auto-negotiation for the specified range of ports.
10_half-
Configures the specified range of ports to operate at 10mbps half-duplex.
10_full-
Configures the specified range of ports to operate at 10mbps full-duplex.
100_half-
Configures the specified range of ports to operate at 100mbps half-duplex.
100_full-
Configures the specified range of ports to operate at 100mbps full-duplex.
1000_full
−
Gigabit ports are statically set to 1000 and cannot be set to slower speeds.
flow_control [enable | disable]
– Enables or disables flow control for the specified ports.
learning [enable | disable]
−
Enables or disables the MAC address learning on the
specified range of ports.
state [enable | disable]
−
Enables or disables the specified range of ports.
description <desc 32>
- Enter an alphanumeric string of no more than 32 characters to
describe a selected port interface. “clear” is a keyword in this cli command. So string
“clear” is not allowed.
clear
- Enter this command to clear the port description of the selected port(s).
Restrictions
Only Administrator or Operator-level users can issue this command.