xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
31
Switch Port Commands
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 {[master | slave]}] | flow_control [enable | disable] | learning [enable |
disable ] | state [enable | disable] | mdix [auto | normal | cross] | [description <desc 1-32> |
clear_description]}
show ports
{<portlist>} {[description | err_disabled | details | media_type]}
enable jumbo_frame
disable jumbo_frame
show jumbo_frame
Each command is listed, in detail, in the following sections.
config ports
Purpose
Used to configure the Switch’s port settings.
Syntax
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]}
Description
This command is used to configure the Switch’s Ethernet ports. Only the ports listed in the
<portlist>
will be affected.
Parameters
all
−
Configure all ports on the Switch.
<portlist>
−
Specifies a port or range of ports to be configured.
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 | 100 | 1000]
−
Configures the speed in Mbps for the specified range of ports.
Gigabit ports are statically set to 1000. When setting port speed to 1000_full,user should
specify master or slave mode for 1000 base TX interface, and leave the 1000_full
without any master or slave setting for other interfaces.
[half | full]
−
Configures the specified range of ports as either full-duplex or half-duplex.
flow_control [enable | disable]
– Enable or disable flow control for the specified ports.
learning [enable | disable]
−
Enables or disables the MAC address learning on the specified
range of ports.
medium_type
– Specify the medium type while the configured ports are combo ports. It’s an
optional parameter for configuring medium type combo ports. For no combo ports, user does
not need to specify medium_type in the commands.
state [enable | disable]
−
Enables or disables the specified range of ports.
description
−
Enter an alphanumeric string of no more than 32 characters to describe a
selected port interface.
clear description
– To clear the description.
mdix [auto | normal | cross]
– MDIX mode can be specified as
auto
,
normal
, or
cross
. If set to
normal state, the port is in MDIX mode and can be connected to a port on an end node, such
as a server or PC, using a straight-through cable. If set to cross state, the port is in MDI
mode, and can be connected to a port on another Switch or hub that uses MDI-X ports
through a straight-through cable. If set to auto state, the ports can be connected to any
connections by using straight-through or cross-over cable. The ports make the necessary
adjustments to accommodate either cable for correct operation.
Restrictions
Only Administrator and Operator-level users can issue this command.