0% found this document useful (0 votes)
20 views7 pages

02-Interface Configuration Command

02-Interface configuration command
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views7 pages

02-Interface Configuration Command

02-Interface configuration command
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Interface Configuration Command

-I-
Content

Table of Content
Chapter 1 Interface Configuration Command....................................................................................................................... 1
1.1.1 speed......................................................................................................................................................... 1
1.1.2 duplex........................................................................................................................................................ 1
1.1.3 flow-control................................................................................................................................................ 2
1.1.4 switchport block......................................................................................................................................... 3
1.1.5 storm-control ............................................................................................................................................. 4

-I-
02-Interface configuration command

Chapter 1 Interface Configuration Command

1.1.1 speed

Syntas

speed {10 | 100 | auto }

no speed

Set port speed.

Parameter

Parameter Description

10, 100,1000 set port speed into10M 100M 1000M.

auto set port speed be auto negotiated.

Default

Auto negotiation on TX, 100M on FX.

Explanation

Working in layer 2 port configuration mode

Note:

Speed of TX port is fixed, for example: speed of GBIC and GE-FX is 1000M, speed of FE-FX is 100M. If
parameter "auto" follow instruction "speed" on TX port, then auto negotiation function can be opened,
otherwise, the port be forced do not support auto-negotiate function.

Example

Set speed of port f0/1 to be 100M.


Switch(config)# interface fastethernet0/1
Switch(config-if)# speed 100

1.1.2 duplex

Syntas

duplex {auto | full | half}

-1-
02-Interface configuration command

no duplex

Configure duplex mode of port

Parameter

Parameter Description
auto auto negotiate.

full full duplex.

half half duplex.

Default

Auto negotiation on TX, 100M on FX.

Explanation

Working in layer 2 port configuration mode.

Note:

Duplex mode of TX is fixed: full duplex mode.

Example

Set duplex mode of port f0/1 to be full duplex.


Switch(config)# interface fastethernet0/1
Switch(config-if)# duplex full

1.1.3 flow-control

Syntas

flow-control threshold count

no flow-control threshold

Configure flow control of port.

Parameter

Parameter Description
count Enable the interface flow-control percent .the range: 1 100.

-2-
02-Interface configuration command

Default

close flow control

Explanation

Working in layer 2 port configuration mode

1.1.4 switchport block

Syntas

[no] switchport block {unicast | multicast | broadcast }

Configure port do not transmit assigned packets

Parameter

Parameter Description
unicast Port do not transmit unknown unicast packets.

multicast Port do not transmit multicast packets.

broadcast Port do not transmit broadcast packets.

Default

Transmit all packets

Explanation

Working in layer 2 port configuration mode.

Example

Configure port f0/1 do not transmit unknown unicast packet


Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport block unicast

1.1.5 switchport protected

Syntas

[no] switchport protected

Configure port protection function.

-3-
02-Interface configuration command

Parameter

None

Default

Un-protection on port

Explanation

Working in layer 2 port configuration mode.

Example

Configure port f0/1 do not transmit unknown unicast packet.


Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport block unicast

1.1.6 storm-control

Syntas

storm-control {broadcast | multicast | unicast} threshold count

no storm-control {broadcast | multicast | unicast} threshold

Configure storm-control on port.

Parameter

Parameter Description
broadcast Define storm-control of broadcast.

multicast Define storm-control of multicast.

unicast Define storm-control of unicast.

Define storm-control percent of port. count define the max flow count. 0
threshold count
100

Default

No storm-control function.

Explanation

Working in layer 2 port configuration mode:

-4-
02-Interface configuration command

When configure value is in 0-3, control scale is 3.3; in 4-9 case, control scale is 5; in
10-19 case, control scale is 20; in 20-100 case, control scale is 20

Example

Configure storm-control percent to be 20% on port f0/1 for unicast packet.


switch(config)# interface fastethernet0/1
switch(config-if)# storm-control unicast threshold 20

-5-

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy