DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
43
8
SWITCH PORT COMMANDS
The Switch Port commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
[all | <portlist>] medium_type [copper | fiber] MDI/MDIX [MDI | MDIX | 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
Each command is listed in detail, as follows:
To configure the Switch’s Ethernet port settings.
config ports [all | <portlist>] medium_type [copper | fiber]
MDI/MDIX [MDI | MDIX | 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.
medium_type [copper | fiber] − 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.
clear_description − Clear the description of selected port.
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