Dell N1100-ON Reference Manual page 299

Table of Contents

Advertisement

Command History
Updated in 6.3.0.1 firmware.
Example
Enable port security/MAC locking globally and on an interface.
console(config)#switchport port-security
console(config)#interface gi1/0/3
console(config-if-gi1/0/3)#switchport port-security
Enable port security/MAC locking globally and on an interface, enable sticky
mode on the interface and convert all dynamic addresses on the interface to
sticky.
console(config)#switchport port-security
console(config)#interface gi1/0/3
console(config-if-gi1/0/3)#switchport port-security
console(config-if-gi1/0/3)#switchport port-security mac-address sticky
Add a statically locked MAC address to trunk port Gi1/0/3 and VLAN 33.
console(config)#vlan 33
console(config-vlan33)#interface gi1/0/3
console(config-if-Gi1/0/3)#switchport mode trunk
console(config-if-Gi1/0/3)#switchport port-security mac-address
0011.2233.4455 vlan 33
Add a sticky mode statically locked locked MAC address to trunk port Gi1/0/3
and VLAN 33.
console(config)#vlan 33
console(config-vlan33)#interface gi1/0/3
console(config-if-Gi1/0/3)#switchport mode trunk
console(config-if-Gi1/0/3)#switchport port-security mac-address sticky
0011.2233.4455 vlan 33
Remove a sticky mode MAC address from trunk port Gi1/0/3 and VLAN 33.
console(config)#vlan 33
console(config-vlan33)#interface gi1/0/3
console(config-if-Gi1/0/3)#switchport mode trunk
console(config-if-Gi1/0/3)#no switchport port-security mac-address
0011.2233.4455 vlan 33
Convert all dynamically learned MAC addresses on trunk port 33 to sticky
MAC addresses and save the running-config so the configuration will persist
across reboots.
console(config)#vlan 33
console(config-vlan33)#interface gi1/0/3
console(config-if-Gi1/0/3)#switchport mode trunk
299
Layer 2 Switching Commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1500N3100-onN4000N2100-onN2000N3000

Table of Contents