03-21-2007 02:45 AM
Hello,
I would like to ask how can I disable mac-address learning in a layer2 3-play enviroment (7600 product).
Regards
03-22-2007 12:38 AM
Hi!
I'm not sure that this is what are you looking for, but check here:
07-03-2007 03:26 AM
If you are trying to disable mac-address learning on VPLS, only way to do is to limit the VLAN mac-addresses globally. (Limit the vlan where u gave the command xconnect vfi).
07-03-2007 01:10 PM
You can control mac-address learning for a VLAN by using this switchport command on a trunk.
Router(config-if)# switchport port-security maximum 3 vlan 102
Or simply use this to allow only a certain number of mac's per access port.
Router(config-if)# switchport port-security maximum 1
Here is the command reference.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122sr/cr/srir_r/ir_s4sr.htm#wp1015189
PS: you cannot totally stop mac learning as the valid values are from 1-4097 so you cant set it to zero and i believe you dont want to as well , since you have a layer2/3 environment.
HTH-Cheers,
Swaroop
11-27-2007 06:58 AM
you can disable vlan MAC learning by douing this: (config) no mac-address-table learning vlan
cheers
11-05-2014 04:27 AM
perfect!!
no mac address-table learning vlan 1-4094
10-15-2019 05:15 AM
11-28-2014 11:00 AM
you can use remote-span for this vlan
Redards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide