dinesh.thathana... Tue, 07/03/2007 - 03:26
User Badges:

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).

swaroop.potdar Tue, 07/03/2007 - 13:10
User Badges:
  • Blue, 1500 points or more

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

jordanbauduin Tue, 11/27/2007 - 06:58
User Badges:

you can disable vlan MAC learning by douing this: (config) no mac-address-table learning vlan


cheers


Actions

This Discussion