Chapter 45: Interface Commands

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

Table 45-1 Interface Commands

Command

Function

Mode

Page

 

 

 

 

interface

Configures an interface type and enters interface configuration

GC

45-1

 

mode

 

 

description

Adds a description to an interface configuration

IC

45-2

 

 

 

 

speed-duplex

Configures the speed and duplex operation of a given interface

IC

45-2

 

when autonegotiation is disabled

 

 

negotiation

Enables autonegotiation of a given interface

IC

45-3

 

 

 

 

capabilities

Advertises the capabilities of a given interface for use in

IC

45-4

 

autonegotiation

 

 

flowcontrol

Enables flow control on a given interface

IC

45-5

 

 

 

 

media-type

Force port type selected for combination ports

IC

45-6

 

 

 

 

shutdown

Disables an interface

IC

45-6

 

 

 

 

clear counters

Clears statistics on an interface

PE

45-7

 

 

 

 

show interfaces status

Displays status for the specified interface

NE, PE

45-8

 

 

 

 

show interfaces

Displays statistics for the specified interfaces

NE, PE

45-9

counters

 

 

 

show interfaces

Displays the administrative and operational status of an

NE, PE

45-10

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 - Stack unit. (Range: Always 1)

-port - Port number. (Range: 1-24/48)

port-channel channel-id(Range: 1-24)

vlan vlan-id(Range: 1-4093)

Default Setting

None

45-1

Page 407
Image 407
Accton Technology 24/48-Port, ES4548D, ES4524D manual Interface Commands Function Mode, Port-channel channel-idRange