DGS-1100-06/ME Metro Ethernet Managed Switch CLI Reference Guide
30
6
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
Parameter
config ports
[all | <portlist>] medium_type [copper | fiber_100 | fiber_1G] MDI/MDIX [MDI |
MDIX | auto] {description <desc 32> | flow_control [enable | disable] | learning
[enable | disable] | state [enable | disable] | speed [auto | 1000_full | 10_half |
100_full | 100_half | 10_full | 10_half]}
delete ports
[<portlist> | all] medium_type [copper | fiber_100 | fiber_1G] description
show ports
{<portlist> | all} {description | err_disabled}
show duld ports
{all | <portlist>}
Each command is listed in detail, as follows:
config ports
Purpose
To
configure the Switch’s Ethernet port settings.
Syntax
config ports [all | <portlist>] medium_type [copper | fiber_100 |
fiber_1G] MDI/MDIX [MDI | MDIX | auto] {description <desc 32> |
flow_control [enable | disable] | learning [enable | disable] |
state [enable | disable] | speed [auto | 1000_full | 10_half |
100_full | 100_half | 10_full | 10_half]}
Description
The
config ports
command configures
the Switch’s Ethernet port
settings. Only the ports listed in the <portlist> are affected.
Parameters
<portlist>
− A port or range of ports to be configured.
all
− Configures all ports on the Switch.
medium_type [copper | fiber_100 | fiber_1G]
−
If configuring the
Combo ports, this defines the type of medium being configured.
MDI/MDIX [MDI | MDIX | j auto]
−
Specifies the MDI or MDIX setting
of the port. The MDIX setting can be auto, normal or cross.
If set to normal state, the port in MDIX mode, can be connected to
PC NIC using a straight cable. If set to cross state, the port in mdi
mode, can be connected to a port (in mdix mode) on another switch
through a straight cable.
description <desc 32>
−
Enter and alphanumeric string of no more
that 32 characters to describe a selected port interface.
flow_control [enable]
– Enables flow control for the specified ports.
flow_control [disable]
– Disables flow control for the specified ports.
learning [enable | disable]
c Enables or disables the MAC address
learning on the specified range of ports.
state [enable | disable]
− Enables or disables the specified range of
ports.
speed
– Sets the speed of a port or range of ports, with the addition
of one of the following:
Summary of Contents for DGS-1100-06/ME
Page 1: ...D Link DGS 1100 06 MEVer A1 MetroEthernetManagedSwitch CLI Reference Guide V1 0 ...
Page 2: ......
Page 132: ...DGS 1100 06 ME Metro Ethernet Managed Switch CLI Reference Guide 120 Success DGS 1100 06 ME 5 ...
Page 273: ...DGS 1100 06 ME Metro Ethernet Managed Switch CLI Reference Guide 261 ...