Switch Port Commands; Config Ports - D-Link DGS-1210/ME series Reference Manual

Metro ethernet switches
Hide thumbs Also See for DGS-1210/ME series:
Table of Contents

Advertisement

The Switch Port commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command

config ports

config ports
show ports
delete ports
Each command is listed in detail, as follows:
config ports
Purpose
Syntax
Description
Parameters
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
Parameter
[all | <portlist>] mdix [cross | normal | auto] {clear_description | description <desc
32> | flow_control [enable | disable] | learning [enable | disable] | state [enable |
disable] | speed [auto | 1000_full | 100_full | 100_half | 10_full | 10_half]}
[all | <portlist>] capability_advertised [1000_full | 100_full | 100_half | 10_full |
10_half | 10G_full] {[1000_full | 100_full | 100_half | 10_full | 10_half]}
{<portlist> | all} {description | err_disabled | linkup_time | auto_negotiation |
media_type}
[<portlist> | all] {medium_type [copper | fiber]} description
To configure the Switch's Ethernet port settings.
config ports [all | <portlist>] mdix [cross | normal | auto]
{clear_description | description <desc 32> | flow_control
[enable | disable] | learning [enable | disable] | state [enable |
disable] | speed [auto | 1000_full | 100_full | 100_half | 10_full |
10_half]}
The config ports command configures the Switch's Ethernet port
settings. Only the ports listed in the <portlist> are affected.
<portlist> − A port or range of ports to be configured.
all − Configures all ports on the Switch.
mdix [cross | normal | auto] − Specifies the 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.
clear_description − Clear the description of selected port.
description <desc 32> − Enter and alphanumeric string of no more
that 32 characters to DGScribe 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:

SWITCH PORT COMMANDS

47
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents