Can't find what you need?


• Ask the Community
• Create a Case
Reset Search
 

 

Article

What is the difference between "mac-tracking ports" and "create fdb mac-tracking entry" in MAC-tracking configuration?

« Go Back

Information

 
TitleWhat is the difference between "mac-tracking ports" and "create fdb mac-tracking entry" in MAC-tracking configuration?
Question
There are two types of configuration in MAC tracking as below:
  • configure fdb mac-tracking ports <port_list>
  • create fdb mac-tracking entry <mac_address>
What is the difference between "mac-tracking ports" and "create fdb mac-tracking entry" in MAC-tracking configuration?
Environment
  • EXOS
  • MAC tracking
Answer
Both configurations are used for tracking MAC address (addition / deletion / moves).
However there is a difference between them.

1. configure fdb mac-tracking ports <port_list>

You can enable mac address tracking for ALL mac address on the specified port(s). In other words, SNMP trap and log message for addition/deletion/moves is provided
for all mac address on the specified port(s).
However, no statistics information is provided like as below:


* (debug) exos.149 # sh fdb mac-tracking statistics no-refresh

MAC Tracking Statistics      Tue Mar 14 08:58:07 2017

                   Add         Move        Delete

MAC Address        events      events      events

=====================================================

=====================================================


When you want to add other port to the port-list, then you should execute,
configure fdb mac-tracking add ports <port_list>.
Otherwise the existed port(s) will be overwritten.

2.
create fdb mac-tracking entry mac_addr

If you specified MAC address entries with above configuration, then the statistics information of add/delete/move for the specified MAC addresses will be provided as below.

 

* (debug) exos.151 # sh fdb mac-tracking statistics no-refresh

MAC Tracking Statistics      Tue Mar 14 08:58:52 2017

                   Add         Move        Delete

MAC Address        events      events      events

=====================================================

00:00:00:00:00:02           2           0           2

=====================================================

However, mac tracking for other unspecified MAC addresses on the same port are not supported. In other words, SNMP trap or log message (for add/delete/move) will be provided only for specified MAC address.

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255