CLI Reference Guide-R04

Table Of Contents
Chapter 11
| Interface Commands
Interface Configuration
– 417 –
When using the negotiation command to enable auto-negotiation, the optimal
settings will be determined by the capabilities command. To set the speed/
duplex mode under auto-negotiation, the required mode must be specified in
the capabilities list for an 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 (414)
capabilities (409)
switchport block This command prevents the flooding of broadcast, unknown multicast, or
unknown unicast packets onto an interface. Use the no form to restore the default
setting.
Syntax
[no] switchport block {broadcast | multicast | unicast}
broadcast - Specifies broadcast packets.
multicast - Specifies unknown multicast packets.
unicast - Specifies unknown unicast packets.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Default Setting
Disabled
Command Usage
By default, broadcast, unknown multicast, and unknown unicast traffic is flooded to
all ports. This occurs if a MAC address has been timed out or not yet learned by the
switch.
Example
The following example blocks unknown multicast traffic on port 5:
Console(config)#interface ethernet 1/5
Console(config-if)#switchport switchport block multicast
Console(config-if)#