beautypg.com

Port commands set – American Fibertek SM10p-PoE User Manual

Page 32

background image




Port Commands Set

Commands

Level Description






Example

interface fastEthernet

[Portid]

duplex

[full | half]








speed

[10|100|1000|auto]

G Choose the port for

modification.

I Use the duplex

configuration

command to specify

the duplex mode of

operation for Fast

Ethernet.

I Use the speed

configuration

command to specify

the speed mode of

operation for Fast

Ethernet., the speed

can’t be set to 1000 if

the port isn’t a giga

port..

switch(config)#interface

fastEthernet 2

switch(config)#interface

fastEthernet 2

switch(config-if)#duplex full






switch(config)#interface

fastEthernet 2

switch(config-if)#speed 100

no flowcontrol

I Disable flow control of switch(config-if)#no flowcontrol

interface

security enable




no security




bandwidth type all

I Enable security of

interface


I Disable security of

interface


I Set interface ingress

limit frame type to

‘accept all frame’






25

switch(config)#interface

fastEthernet 2

switch(config-if)#security enable

switch(config)#interface

fastEthernet 2

switch(config-if)#no security

switch(config)#interface

fastEthernet 2

switch(config-if)#bandwidth type

all