Disabling MAC Address Learning


 In certain fabric topologies, the MAC address learning function can be disabled in order to achieve better scalability, or because it is not strictly required (for example on point-to-point connections).


For these cases, starting from Netvisor ONE release 6.0.0, it is possible to disable MAC address learning as part of the VXLAN configuration. For this purpose, a new configuration option is added, mac-learning | no-mac-learning, to the following commands:


  • tunnel-create
  • tunnel-modify
  • vtep-create
  • vtep-modify


In the above commands, mac-learning is the default setting. The tunnel-show and vtep-show commands are extended to display the learning state in a new column. For example:


CLI (network-admin@switch) > tunnel-create name tun1 scope local local-ip 1.1.1.1 remote-ip 1.1.1.2 vrouter-name vr1 no-mac-learning


CLI (network-admin@switch) > tunnel-show format name,local-ip,remote-ip,mac-learning,


name  local-ip  remote-ip mac-learning

----- -------- ---------- ------------

tun1  1.1.1.1    1.1.1.2     off


Then to re-enable MAC address learning, you can use:


CLI (network-admin@switch) > tunnel-modify name tun1 mac-learning


CLI (network-admin@switch) > tunnel-show format name,local-ip,remote-ip,mac-learning,


name  local-ip  remote-ip  mac-learning

----- -------- ---------- ------------

tun1  1.1.1.1   1.1.1.2     on


Similarly, in case of VTEP object creation to disable MAC address learning you can use:


CLI (network-admin@switch) > vtep-create name VTEP-01 location switch vrouter-name vr1 ip 10.16.111.2 virtual-ip 10.16.111.1 no-mac-learning


CLI (network-admin@switch) > vtep-show


scope  name    location vrouter-name    ip        virtual-ip  mac-learning

------ ------- -------- ------------ ----------- ----------- ------------

fabric VTEP-01  switch    vr1        10.16.111.2  10.16.111.1   off


To re-enable it:


CLI (network-admin@switch) > vtep-modify name VTEP-01 mac-learning


CLI (network-admin@switch) > vtep-show


scope  name    location vrouter-name   ip         virtual-ip  mac-learning

------ ------- -------- ------------ -----------  ----------- ------------

fabric VTEP-01  switch    vr1        10.16.111.2  10.16.111.1  on


Note: Disabling MAC address learning at the tunnel or VTEP level means that the learning function is disabled for all of the associated VNIs.


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south