Selective MAC address learning is now enabled in VPLS 1 and VPLS 2, as follows:
*A:PE1# show service id [1,2] fdb | match expression ", Service|Sel Learned FDB"
Forwarding Database, Service 1
Sel Learned FDB : Enabled
Forwarding Database, Service 2
Sel Learned FDB : Enabled
*A:PE1#
The MAC addresses learned are the same, with the same traffic being sent; however, there are now selective MAC addresses that are allocated FDB entries on different line cards.
The system and line card FDB usage is as follows:
*A:PE1# show service system fdb-usage
===============================================================================
FDB Usage
===============================================================================
System
-------------------------------------------------------------------------------
Limit: 511999
Allocated: 8
Free: 511991
Global: 2
-------------------------------------------------------------------------------
Line Cards
-------------------------------------------------------------------------------
Card Selective Allocated Limit Free
-------------------------------------------------------------------------------
1 0 2 511999 511997
2 4 6 511999 511993
5 2 4 511999 511995
-------------------------------------------------------------------------------
===============================================================================
*A:PE1#
The system MAC address limit and allocated numbers have not changed but now there are only two global MAC addresses; these are the two EvpnS MAC addresses.
There are two FDB entries allocated on card 1, which are the global MAC addresses; there are no services or network interfaces configured on card 1, so the FDB entries allocated are for the global MAC addresses.
Card 2 has six FDB entries allocated in total: two for the global MAC addresses plus four for the selective MAC addresses in VPLS 2 (these are the two sets of two local MAC addresses in VPLS 2 on SAP 2/1/1:2 and 2/1/2:2).
Card 5 has four FDB entries allocated in total: two for the global MAC addresses plus two for the selective MAC addresses in VPLS 1 (these are the two local MAC addresses in VPLS 1 on SAP 5/1/1:1).
This output can be reduced to specific line cards by specifying the card’s slot ID as a parameter to the command.
To see the MAC address information per service, tools dump commands can be used for VPLS 1.
The following output displays the card status:
*A:PE1# tools dump service id 1 fdb card-status
===============================================================================
VPLS FDB Card Status at 01/31/2017 08:44:39
===============================================================================
Card Allocated PendAlloc PendFree
-------------------------------------------------------------------------------
1 2 0 0
2 2 0 0
5 4 0 0
===============================================================================
*A:PE1#
There are two FDB entries allocated on line card 1, two on line card 2, and four on line card 5. The ‟PendAlloc” and ‟PendFree” columns are all zeros.
The following output displays the MAC address status for VPLS 1:
*A:PE1# tools dump service id 1 fdb mac-status
===============================================================================
VPLS FDB MAC status at 01/31/2017 08:44:39
===============================================================================
MAC Address Type Status : Card list
-------------------------------------------------------------------------------
00:00:00:00:01:01 Select Allocated : 5
00:00:00:00:01:02 Select Allocated : 5
00:00:00:00:01:03 Global Allocated : All
00:00:00:00:01:04 Global Allocated : All
===============================================================================
*A:PE1#
The type and card list for each MAC address in VPLS 1 is displayed. VPLS 1 has learned four MAC addresses: the two local MAC addresses on SAP 5/1/1:1 and the two EvpnS MAC addresses. The local MAC addresses are selective and have FDB entries allocated only on card 5. The global MAC addresses are allocated on all line cards. This output can be further reduced by optionally including a specified MAC address, a specific card, and the operational pending state.