Per-VLAN MAC Learning Limit
Per-VLAN MAC Learning Limit
An individual MAC learning limit can be configured for each VLAN using Per-VLAN MAC Learning
Limit.
One application of Per-VLAN MAC Learning Limit is on access ports. In the following illustration, an
Internet Exchange Point (IXP) connects multiple Internet Service Provider (ISP). An IXP can provide
several types of services to its customers including public and private peering. Public peering means that
all customers are connected to one VLAN. If one ISP wants to peer with another ISP, it establishes a BGP
peering session over this VLAN. Private Peering means that the IXP sets up a separate VLAN between two
customers that want to peer privately; only the ports of these two ISPs would belong to this VLAN and
they would peer via BGP. In the following illustration, Per-VLAN MAC Learning Limit is used on the
access ports for the ISPs that have subscribed to private and public peering since these access ports are
members of multiple VLANs.
ISP A, B, and C are all public peers through VLAN 10.
In addition, ISP A and C are private peers on a separate
VLAN, VLAN 20. Since the access ports for ISP A
and C are members of multiple VLANs, Per-VLAN MAC
Learning Limit can be applied to those ports.
Task
Configure a MAC learning limit on a
VLAN.
Display the MAC learning limit
counters for a VLAN.
is available only on platform:
Internet Exchange Point
Command Syntax
mac learning-limit limit vlan vlan-id
show mac learning-limit
]]
vlan-id
e
interface GigabitEthernet 1/1
...
mac learning-limit 1 vlan 10
mac learning-limit 1 vlan 20
[
[
interface slot/port
vlan
Command Mode
INTERFACE
EXEC Privilege
Layer 2 | 627