4 Command Line Interface

Interface Commands

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

Table 4-39. Interface Commands

Command

Function

Mode

Page

interface

Configures an interface type and enters interface configuration

GC

4-104

 

mode

 

 

description

Adds a description to an interface configuration

IC

4-105

 

 

 

 

speed-duplex

Configures the speed and duplex operation of a given interface

IC

4-105

 

when autonegotiation is disabled

 

 

negotiation

Enables autonegotiation of a given interface

IC

4-106

 

 

 

 

capabilities

Advertises the capabilities of a given interface for use in

IC

4-107

 

autonegotiation

 

 

flowcontrol

Enables flow control on a given interface

IC

4-108

 

 

 

 

shutdown

Disables an interface

IC

4-109

 

 

 

 

switchport broadcast

Configures the broadcast storm control threshold

IC

4-110

packet-rate

 

 

 

clear counters

Clears statistics on an interface

PE

4-110

 

 

 

 

show interfaces status

Displays status for the specified interface

NE, PE

4-111

 

 

 

 

show interfaces

Displays statistics for the specified interfaces

NE, PE

4-112

counters

 

 

 

show interfaces

Displays the administrative and operational status of an

NE, PE

4-113

switchport

interface

 

 

interface

This command configures 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-4)

vlan vlan-id(Range: 1-4094)

Default Setting

None

4-104

Page 280
Image 280
SMC Networks 100BASE-TX, 16 10BASE-T manual Interface Commands Function Mode, Port-channel channel-idRange