02-01-2013 10:48 PM - edited 03-07-2019 11:27 AM
hi , i want to ask about security in voice vlan .
plz have a look at command below :
===================
Switch(config-if)# switchport port-security maximum 20
Switch(config-if)# switchport port-security violation restrict
Switch(config-if)# switchport port-security mac-address sticky
Switch(config-if)# switchport port-security mac-address sticky 0000.0000.0002
Switch(config-if)# switchport port-security mac-address 0000.0000.0003
Switch(config-if)# switchport port-security mac-address sticky 0000.0000.0001 vlan voice
Switch(config-if)# switchport port-security mac-address 0000.0000.0004 vlan voice
Switch(config-if)# switchport port-security maximum 10 vlan access
Switch(config-if)# switchport port-security maximum 10 vlan voice
=======================
does the command :
#switchport port-security maximum 20
limit the maximum macs whatever it was pc or phone to 20 ?
or
it just limit the max number of pc macs to 20 ?
regards
02-01-2013 10:52 PM
Hi,
Its the total mac's.
Thanks
02-01-2013 10:56 PM
ok ,
i want to ask ,
if i have voilce vlan configured on an interface
and i just typed the command
#switchport port security
whats the max numbers default macs allowed ??
is it 1 total for voice & data
or its 2 total allowed ( 1 data , 1 voice) ??
regards
02-01-2013 11:01 PM
Hi
By default is 1.
Thanks
02-01-2013 11:03 PM
so , if i connected both pc & phone , the port will go err disbaled ?
im talkign about default configuration , just typed
#switchport port security+
reragrds
02-01-2013 11:07 PM
HI
Yes it will fo err-disabled
02-01-2013 11:03 PM
Hello ,
Is total for both of them, so it basically limits the amount of mac addresses learned on that particular interface
Regards
02-01-2013 11:05 PM
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