
160
ExtremeWare Software 7.0.0 Command Reference Guide
Commands for Configuring Slots and Ports on a Switch
config ports
config ports [<portlist> vlan <vlan name> | all] [limit-learning <number> |
lock-learning | unlimited-learning | unlock-learning]
Description
Configures virtual ports for limited or locked MAC address learning.
Syntax Description
Default
Unlimited, unlocked learning.
Usage Guidelines
On a modular switch,
<portlist>
can be a list of slots and ports. On a stand-alone switch,
<portlist>
can be one or more port numbers. For a detailed explanation of port specification, see “Modular Switch
Numerical Ranges” or “Stand-alone Switch Numerical Ranges” in Chapter 1.
Limited learning.
The limited learning feature allows you to limit the number of dynamically-learned
MAC addresses per VLAN. When the learned limit is reached, all new source MAC addresses are
blackholed at both the ingress and egress points. This prevent these MAC addresses from learning and
responding to Internet control message protocol (ICMP) and address resolution protocol (ARP) packets.
If the limit you configure is greater than the current number of learned entries, all the current learned
entries are purged.
Dynamically learned entries still get aged, and can be cleared. If entries are cleared or aged out after the
learning limit has been reached, new entries will then be able to be learned until the limit is reached
again.
Permanent static and permanent dynamic entries can still be added and deleted using the
create
fdbentry
and
delete fdbentry
commands. These override any dynamically learned entries.
For ports that have a learning limit in place, the following traffic will still flow to the port:
•
Packets destined for permanent MACs and other non-blackholed MACs
portlist
Specifies one or more ports or slots and ports. On a modular switch, can be a
list of slots and ports. On a stand-alone switch, can be one or more port
numbers. May be in the form 1, 2, 3-5, 2:5, 2:6-2:8.
all
Specifies that all virtual ports should be configured as indicated.
vlan name
Specifies the name of the VLAN.
limit-learning <number>
Specifies a limit on the number of MAC addresses that can be dynamically
learned on the specified ports.
lock-learning
Specifies that the current FDB entries for the specified ports should be made
permanent static, and no additional learning should be allowed.
unlimited-learning
Specifies that there should not be a limit on MAC addresses that can be
learned.
unlock-learning
Specifies that the port should be unlocked (allow unlimited, dynamic learning).
Summary of Contents for ExtremeWare 7.0.0
Page 88: ...88 ExtremeWare Software 7 0 0 Command Reference Guide Commands for Accessing the Switch ...
Page 276: ...276 ExtremeWare Software 7 0 0 Command Reference Guide FDB Commands ...
Page 324: ...324 ExtremeWare Software 7 0 0 Command Reference Guide QoS Commands ...
Page 342: ...342 ExtremeWare Software 7 0 0 Command Reference Guide NAT Commands ...
Page 502: ...502 ExtremeWare Software 7 0 0 Command Reference Guide SLB Commands ...
Page 680: ...680 ExtremeWare Software 7 0 0 Command Reference Guide Security Commands ...
Page 734: ...734 ExtremeWare Software 7 0 0 Command Reference Guide STP Commands ...
Page 772: ...772 ExtremeWare Software 7 0 0 Command Reference Guide ESRP Commands ...
Page 1226: ...1226 ExtremeWare Software 7 0 0 Command Reference Guide IPX Commands ...
Page 1242: ...1242 ExtremeWare Software 7 0 0 Command Reference Guide ARM Commands ...
Page 1320: ...1320 ExtremeWare Software 7 0 0 Command Reference Guide PoS Commands ...
Page 1430: ...1430 ExtremeWare Software 7 0 0 Command Reference Guide MPLS Commands ...