文書番号: 000121440
Article Summary: This article shows how to configure MAC based port security on Dell N Series switches
Command | Parameters |
console>enable | Enter enable Privilege Exec mode. |
console#config | Enter configuration mode. |
console(config)#switchport port-security | Enable port security globally on the switch. |
console(config)#interface gi1/0/5 | Enter specific interface that needs port security. |
console(config-if-gi1/0/5)#switchport port-security | Enable port security on the interface level. |
Command | Parameters |
console#config | Enter configuration mode. |
console(config)# mac address-table static c2f3.220a.12f4 vlan 1 interface gi1/0/5 | This adds the MAC address c2f3.220a.12f4 to the MAC table for interface gi1/0/5. |
console(config)#no mac address-table static c2f3.220a.12f4 vlan 1 interface gi1/0/5 | Add "no" to the beginning of the command to remove the MAC address. |
Command | Parameters |
console#config | Enter configuration mode. |
console(config)#interface gi1/0/5 | Enter specific interface that needs port security. |
console(config-if-Gi1/0/5)#switchport port-security maximum 3 | Sets the max limit of static MAC addresses to 3. Range is <0-100> Default is 100. |
Command | Parameters |
console#config | Enter configuration mode. |
console(config)#interface gi1/0/5 | Enter specific interface that needs port security. |
console(config-if-gi1/0/5)#switchport port-security dynamic 0 | This example uses 0 as you would normally want the port not to learn macs dynamically. Range is <0-600> Default is 100. |
PowerSwitch N2000 Series, PowerSwitch N3000 Series, PowerSwitch N4000 Series
21 2月 2021
3
How To