![D-Link DGS-3700 Series Скачать руководство пользователя страница 160](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575160.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 160
S
WITCH
P
ORT
C
OMMANDS
Back to Section Header
The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
C
OMMAND
P
ARAMETERS
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| auto_negotiation| media_type |
details] }
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 allows for the configuration of 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 and cannot be set to slower speeds. When
setting port speed to 1000_full, user should specify master or slave mode for
1000-based 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
– Specifies 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