Administrator Guide
mac port-security
Enable or disable the port security feature globally in the system.
Syntax
mac port-security
To disable the port security, use the no mac port-security command.
Defaults Enabled
Command Modes CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC
Networking OS Command Line Reference Guide.
Version Description
9.14(1.0) Introduced on the C9010, MXL, FN IOM, S3100 series, S4810, S4820T, S3048–ON,
S4048–ON, S4048T-ON, S5048F-ON, S6000, S6000–ON, S6010–ON, S6100–ON,
Z9100–ON, and Z9500.
Usage Information
Only if you enable the port security, you will be able to configure MAC address learning limit configurations on the
interface level.
When you disable the port security, all the interface level configurations are reset. Also, all dynamically learnt MAC
addresses on the interfaces configured with MAC address learning limit are cleared.
show mac-address-table
Display the MAC address table.
Syntax
show mac-address-table [address mac-address | interface interface | vlan vlan-
id] [aging-time] [dynamic | static] [count [vlan vlan-id] [interface interface-
type [slot [/port[/subport]]]]]
Parameters
address
mac-
address
(OPTIONAL) Enter the keyword address then a MAC address in the nn:nn:nn:nn:nn:nn
format to display information on that MAC address.
dynamic (OPTIONAL) Enter the keyword dynamic to display only those MAC addresses the
switch dynamically learns. Optionally, you can also add one of these combinations:
address/mac-address, interface/interface, or vlan vlan-id.
static (OPTIONAL) Enter the keyword static to display only those MAC addresses
specifically configured on the switch. Optionally, you can also add one of these
combinations: address/mac-address, interface/interface, or vlan vlan-
id.
aging-time Enter the keyword aging-time to display only aging-time information.
interface
interface
(OPTIONAL) Enter the keyword interface and the interface information:
• For a port channel interface, enter the keywords port-channel then a number.
• For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then
the slot/port/subport information.
• For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/
port information.
interface
interface-type
(OPTIONAL) Instead of entering the keyword interface then the interface type, slot/
port[/subport] information, as above, you can enter the interface type, then just a slot
number.
vlan
vlan-id
(OPTIONAL) Enter the keyword vlan then the VLAN ID to display the MAC address
assigned to the VLAN. The range is 1 to 4094.
Layer 2 861










