cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8232
Views
0
Helpful
4
Replies

Can Port Security enabled on Trunk Ports?

jahanzeb.feroze
Level 1
Level 1

Can port security be enabled on Trunk Ports? The Problem is whenever i enable port security on trunk ports, the port get is disabled, and after removing it, it starts behaving perfectly.

 

Please Suggest

1 Accepted Solution

Accepted Solutions

rafael_ormedo
Level 1
Level 1

Hi,

the port-security can´t enabled in trunk ports, because restricted de number of MACs. The better choice is mac access-list, with mac access group, for to configure MAC ACL, please visit:

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/4_0/security/configuration/guide/n1000v_security/security_9mac_acls.html

 

Thanks.

View solution in original post

4 Replies 4

jahanzeb.feroze
Level 1
Level 1

Any one having any idea about it?

rafael_ormedo
Level 1
Level 1

Hi,

the port-security can´t enabled in trunk ports, because restricted de number of MACs. The better choice is mac access-list, with mac access group, for to configure MAC ACL, please visit:

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/4_0/security/configuration/guide/n1000v_security/security_9mac_acls.html

 

Thanks.

sambeet jee
Level 1
Level 1

The following output illustrates how to enable port security on an interface and to configure a
static secure MAC address of 001f:3c59:d63b in VLAN 5 on a switch trunk port:
VTP-Server-1(config)#interface GigabitEthernet0/2
VTP-Server-1(config-if)#switchport
VTP-Server-1(config-if)#switchport trunk encapsulation dot1q
VTP-Server-1(config-if)#switchport mode trunk
VTP-Server-1(config-if)#switchport port-security
VTP-Server-1(config-if)#switchport port-security mac-address 001f.3c59.d63b vlan 5

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: