Manuals

Manuals
Interface Commands: Dell PowerConnect Switch User's Guide

Back to Contents Page

Interface Commands:
Dell PowerConnect Switch User's Guide

interface 

shutdown 

clear counters

description

speed-duplex

negotiation

capabilities

flowcontrol

port security

show interfaces status

show interfaces counters

show interfaces switchport

These commands are used to display or set communication parameters for an Ethernet port, aggregated link, or VLAN.


interface

Use this command to configure an interface type and enter interface configuration mode. Use the no form to remove a trunk.

Syntax

interface interface
no interface port-channel channel-id

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
    • port-channel channel-id (Range: 1-6)
    • vlan vlan-id (Range: 1-4094)

Default Setting

None

Command Mode

Global Configuration

Example

To specify the first Ethernet port, enter the following command:

Console(config)#interface ethernet 1/1
Console(config-if)#


shutdown

Use this command to disable an interface. To restart a disabled interface, use the no form.

Syntax

shutdown
no shutdown

Default Setting

All interfaces are enabled.

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

This command allows you to disable a port due to abnormal behavior (e.g., excessive collisions), and then reenable it after the problem has been resolved. You may also want to disable a port for security reasons.

Example

The following example disables Ethernet port 5.

Console(config)#interface ethernet 1/5
(config-if)#shutdown
(config-if)#


clear counters

Use this command to clear statistics on an interface.

Syntax

clear counters interface

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
    • port-channel channel-id (Range: 1-6)

Default Setting

None

Command Mode

Privileged Exec

Command Usage

Statistics are only initialized for a power reset. This command sets the base value for displayed statistics to zero for the current management session. However, if you log out and back into the management interface, the statistics displayed will show the absolute value accumulated since the last power reset.

Example

The following example clears statistics on Ethernet port 5.

Console#clear counters ethernet 1/5
Console#


description

Use this command to add a description to an interface. Use the no form to remove the description.

Syntax

description string
no description

string - Comment or a description to help you remember what is attached to this interface.
(Range: 1-64 characters)

Default Setting

None

Command Mode

Interface Configuration (Ethernet, Port Channel)

Example

The following example adds a description to Ethernet port 5.

Console(config)#interface ethernet 1/5
Console(config-if)#description RD SW#3
Console(config-if)#


speed-duplex

Use this command to configure the speed and duplex mode of a given interface when auto-negotiation is disabled. Use the no form to restore the default.

Syntax

speed-duplex {1000full | 100full | 100half | 10full | 10half}
no speed-duplex

  • 1000full - Forces 1000 Mbps full-duplex operation
  • 100full - Forces 100 Mbps full-duplex operation
  • 100half - Forces 100 Mbps half-duplex operation
  • 10full - Forces 10 Mbps full-duplex operation
  • 10half - Forces 10 Mbps half-duplex operation

Default Setting

  • Auto-negotiation is enabled by default.
  • When auto-negotiation is disabled, the default speed-duplex setting is 100half for Fast Ethernet ports and 1000full for Gigabit Ethernet ports.

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

To force operation to the speed and duplex mode specified in a speed-duplex command, use the no negotiation command to disable auto-negotiation on the selected interface.

Example

The following example configures port 5 to 100 Mbps, half-duplex operation.

Console(config)#interface ethernet 1/5
Console(config-if)#speed-duplex 100half
Console(config-if)#no negotiation
Console(config-if)#

Related Commands

negotiation


negotiation

Use this command to enable auto-negotiation for a given interface. Use the no form to disable auto-negotiation.

Syntax

negotiation
no negotiation

Default Setting

Enabled

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

If auto-negotiation is disabled, auto-MDI/MDI-X pin signal configuration will also be disabled for the RJ-45 ports.

Example

The following example configures port 11 to use auto-negotiation.

Console(config)#interface ethernet 1/11
Console(config-if)#negotiation
Console(config-if)#


capabilities

Use this command to advertise the port capabilities of a given interface during auto-negotiation. Use the no form with parameters to remove an advertised capability, or the no form without parameters to restore the default values.

Syntax

capabilities {1000full | 100full | 100half | 10full | 10half | flowcontrol | symmetric}
no capabilities [1000full | 100full | 100half | 10full | 10half | flowcontrol | symmetric]

  • 1000full - Supports 1000 Mbps full-duplex operation
  • 100full - Supports 100 Mbps full-duplex operation
  • 100half - Supports 100 Mbps half-duplex operation
  • 10full - Supports 10 Mbps full-duplex operation
  • 10half - Supports 10 Mbps half-duplex operation
  • flowcontrol - Supports flow control
  • symmetric - Transmits and receives pause frames for flow control (Gigabit ports only)

Default Setting

  • Fast Ethernet - 10half, 10full, 100half, 100full
  • Gigabit Ethernet - 10half, 10full, 100half, 100full, 1000full

Command Mode

Interface Configuration (Ethernet, Port Channel)

Example

The following example configures Ethernet port 5 capabilities to 100half, 100full and flow control.

Console(config)#interface ethernet 1/5
Console(config-if)#capabilities 100half
Console(config-if)#capabilities 100full
Console(config-if)#capabilities flowcontrol
Console(config-if)#


flowcontrol

Use this command to enable flow control. Use the no form to disable flow control.

Syntax

flowcontrol
no flowcontrol

Default Setting

Flow control enabled

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

  • Flow control can eliminate frame loss by “blocking” traffic from end stations or segments connected directly to the switch when its buffers fill. When enabled, back pressure is used for half-duplex operation and IEEE 802.3x for full-duplex operation.
  • When using the negotiation command to enable auto-negotiation, the optimal settings will be determined by the capabilities command. To enable flow control under auto-negotiation, “flowcontrol” must be included in the capabilities list for any port
  • To force operation to the specified flowcontrol mode (i.e., on or off), use the no negotiation command to disable auto-negotiation on the selected interface.
  • Avoid using flow control on a port connected to a hub unless it is actually required to solve a problem. Otherwise back pressure jamming signals may degrade overall performance for the segment attached to the hub.
  • Flow control can only work on those ports located in the same chip (i.e., cross-chip flow control will not work).
    • PowerConnect 5224 - SW1: 1-12; SW2: 13-24
    • PowerConnect 3248 - SW1: 1-24,49; SW2: 25-48,50

Example

The following example enables flow control on port 5.

Console(config)#interface ethernet 1/5
Console(config-if)#flowcontrol
Console(config-if)#no negotiation
Console(config-if)#

Related Commands

capabilities (flowcontrol, symmetric)


port security

Use this command to enable and configure port security on a port. Use the no form to disable port security or reset the intrusion action to the default.

Syntax

port security [action {shutdown | trap | trap-and-shutdown}]
no port security [action]

  • action - Indicates the security action to be taken when a port security violation is detected.
    • shutdown - Disable the port only.
    • trap - Issue an SNMP trap message only.
    • trap-and-shutdown - Issue an SNMP trap message and disable the port.

Default Setting

Status: Disabled
Action: None

Command Mode

Interface Configuration (Ethernet)

Command Usage

  • If you enable port security, the switch will stop dynamically learning new addresses on the specified port. Only incoming traffic with source addresses already stored in the dynamic or static address table will be accepted.
  • To use port security, first allow the switch to dynamically learn the <source MAC address, VLAN> pair for frames received on a port for an initial training period, and then enable port security to stop address learning. Be sure you enable the learning function long enough to ensure that all valid VLAN members have been registered on the selected port.
  • To add new VLAN members at a later time, you can manually add secure addresses with the mac-address-table static command, or turn off port security to reenable the learning function long enough for new VLAN members to be registered. Learning may then be disabled again, if desired, for security.
  • A secure port has the following restrictions:
    • It cannot be connected to a network interconnection device.
    • It cannot be a member of a static trunk.
    • It can be configured as an LACP trunk port, but the switch does not allow the LACP trunk to be enabled.
  • A port that is already configured as an LACP or static trunk port cannot be enabled as a secure port.
  • If a port is disabled due to a security violation, it must be manually re-enabled by using the no shutdown command.
  • PowerConnect 5224 restrictions:
    • The switch only supports the trap-and-shutdown security action.
    • Although the port security action command is an Interface Configuration command, it applies globally to all switch ports.

Example

This example sets the port security action and enables port security for port 5.

Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap-and-shutdown
Console(config-if)#port security
Console(config-if)#

Related Commands

shutdown
mac-address-table static


show interfaces status

Use this command to display status for an interface.

Syntax

show interfaces status interface

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
    • port-channel channel-id (Range: 1-6)
    • vlan vlan-id (Range: 1-4094)

Default Setting

None

Command Mode

Normal Exec, Privileged Exec

Command Usage

If no interface is specified, information on all interfaces is displayed.

Example

Console#show interfaces status ethernet 1/11
Information of Eth 1/11
 Basic information:
  Port type: 100tx
  Mac address: 00-00-e8-00-00-0a
 Configuration:
  Name:
  Port admin: Up
  Speed-duplex: Auto
  Capabilities: 10half, 10full, 100half, 100full,
  Broadcast storm: Enabled
  Broadcast storm limit: 500 packets/second
  Flow control: Disabled
  Lacp: Disabled
  Port security: Disabled
  Port security action: None 
 
Current status:
  Link status: Down
  Operation speed-duplex: 100full
  Flow control type: None
Console#


show interfaces counters

Use this command to display statistics for an interface.

Syntax

show interfaces counters interface

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
    • port-channel channel-id (Range: 1-6)

Default Setting

Shows counters for all interfaces.

Command Mode

Normal Exec, Privileged Exec

Command Usage

If no interface is specified, information on all interfaces is displayed.

Example

Console#show interfaces counters ethernet 1/11
Ethernet 1/11
 Iftable stats:
  Octets input: 19648, Octets output: 714944
  Unitcast input: 0, Unitcast output: 0
  Discard input: 0, Discard output: 0
  Error input: 0, Error output: 0
  Unknown protos input: 0, QLen output: 0
 Extended iftable stats:
  Multi-cast input: 0, Multi-cast output: 10524
  Broadcast input: 136, Broadcast output: 0
 Ether-like stats:
  Alignment errors: 0, FCS errors: 0
  Single Collision frames: 0, Multiple collision frames: 0
  SQE Test errors: 0, Deferred transmissions: 0
  Late collisions: 0, Excessive collisions: 0
  Internal mac transmit errors: 0, Internal mac receive errors: 0
  Frame too longs: 0, Carrier sense errors: 0
 RMON stats:
  Drop events: 0, Octets: 734720, Packets: 10661
  Broadcast pkts: 136, Multi-cast pkts: 10525
  Undersize pkts: 0, Oversize pkts: 0
  Fragments: 0, Jabbers: 0
  CRC align errors: 0, Collisions: 0
  Packet size <= 64 octets: 9877, Packet size 65 to 127 octets: 93
  Packet size 128 to 255 octets: 691, Packet size 256 to 511 octets: 0
  Packet size 512 to 1023 octets: 0, Packet size 1024 to 1518 octets: 0
Console#


show interfaces switchport

Use this command to display advanced interface configuration settings.

Syntax

show interfaces switchport [interface]

  • interface
    • ethernet unit/port
      • unit - This is device 1.
      • port - Port number.
    • port-channel channel-id (Range: 1-6)

Default Setting

Shows all interfaces.

Command Mode

Normal Exec, Privileged Exec

Command Usage

If no interface is specified, information on all interfaces is displayed. The items displayed by this command include:

  • Broadcast threshold – Shows if broadcast storm suppression is enabled or disabled; if enabled it also shows the threshold level.
  • Lacp status – Shows if Link Aggregation Control Protocol has been enabled or disabled.
  • VLAN membership mode – Indicates membership mode as Trunk or Hybrid.
  • Ingress rule – Shows if ingress filtering is enabled or disabled.
  • Acceptable frame type – Shows if acceptable VLAN frames include all types or tagged frames only.
  • Native VLAN – Indicates the default Port VLAN ID.
  • Priority for untagged traffic – Indicates the default priority for untagged frames.
  • Gvrp status – Shows if GARP VLAN Registration Protocol is enabled or disabled.
  • Allowed Vlan – Shows the VLANs this interface has joined, where “(u)” indicates untagged and “(t)” indicates tagged.
  • Forbidden Vlan – Shows the VLANs this interface can not dynamically join via GVRP.

Example

This example shows the configuration setting for Ethernet port 11.

Console#show interfaces switchport ethernet 1/11
Information of Eth 1/11
 Broadcast threshold: Enabled, 500 packets/second
 Lacp status: Enabled
 VLAN membership mode: Hybrid
 Ingress rule: Disabled
 Acceptable frame type: All frames
 Native VLAN: 1
 Priority for untagged traffic: 0
 Gvrp status: Enabled
 Allowed Vlan: 1(u),
 Forbidden Vlan:
Console#


Please read all restrictions and disclaimers.


 Back to Contents Page

Laptops | Desktops | Business Laptops | Business Desktops | Workstations | Servers | Storage | Services | Monitors | Printers | LCD TVs | Electronics
© 2012 Dell | About Dell | Terms & Conditions | Unresolved Issues | Privacy Statement | Ads and Emails | Dell Recycling | Contact | Site Map | Feedback
AT | AU | BE | BR | CA | CH | CL | CN | CO | DE | DK | ES | FR | HK | IE | IN | IT | JP | KR | ME | MX | MY | NL | NO | PA | PR | RU | SE | SG | UK | VE | ALL

snEB12