
Setting the MAC Learning Limit
To set a MAC learning limit on an interface, use the following command.
•
Specify the number of MAC addresses that the system can learn off a Layer 2 interface.
INTERFACE mode
mac learning-limit
address_limit
Three options are available with the
mac learning-limit
command:
–
dynamic
–
no-station-move
–
station-move
NOTE: An SNMP trap is available for
mac learning-limit station-move
. No other SNMP traps are available
for MAC Learning Limit, including limit violations.
mac learning-limit Dynamic
The MAC address table is stored on the Layer 2 forwarding information base (FIB) region of the CAM.
The Layer 2 FIB region allocates space for static MAC address entries and dynamic MAC address entries. When you enable MAC
learning limit, entries created on this port are static by default. When you configure the
dynamic
option, learned MAC addresses are
stored in the dynamic region and are subject to aging. Entries created before this option is set are not affected.
Dell Networking OS Behavior
: If you do not configure the
dynamic
option, the system does not detect station moves in which a
MAC address learned from a MAC-limited port is learned on another port on the same system. Therefore, any configured violation
response to detected station moves is not performed. When a MAC address is relearned on any other line card (any line card except
the one to which the original MAC-limited port belongs), the station-move is detected and the system takes the configured the
violation action.
mac learning-limit mac-address-sticky
Using sticky MAC addresses allows you to associate a specific port with MAC addresses from trusted devices. If you enable sticky
MAC, the specified port retains any dynamically-learned addresses and prevents them from being transferred or learned on other
ports.
If you configure
mac-learning-limit
and you enabled sticky MAC, all dynamically-learned addresses are converted to sticky
MAC addresses for the selected port. Any new MAC addresses learned on this port is converted to sticky MAC addresses.
To save all sticky MAC addresses into a configuration file that can be used as a startup configuration file, use the
write config
command. If the number of existing MAC addresses is fewer than the configured mac learn limit, any additional MAC addresses are
converted to sticky MACs on that interface. To remove all sticky MAC addresses from the running config file, disable sticky MAC and
use the
write config
command.
When you enable sticky mac on an interface, dynamically-learned MAC addresses do not age, even if you enabled
mac-learning-
limit dynamic
. If you configured
mac-learning-limit
and
mac-learning-limit dynamic
and you disabled sticky
MAC, any dynamically-learned MAC addresses ages.
mac learning-limit station-move
The
mac learning-limit station-move
command allows a MAC address already in the table to be learned from another
interface.
For example, if you disconnect a network device from one interface and reconnect it to another interface, the MAC address is
learned on the new interface. When the system detects this “station move,” the system clears the entry learned on the original
interface and installs a new entry on the new interface.
Layer 2
485
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...