64 
MAC Information configuration commands 
 
  NOTE: 
MAC Information applies only to Layer 2 Ethernet interfaces. 
 
MAC Information configuration commands 
mac-address information enable (Ethernet interface view) 
Syntax 
mac-address information enable { added | deleted } 
undo mac-address information enable { added | deleted } 
View 
Layer 2 Ethernet interface view 
Default level 
1: Monitor level 
Parameters 
added: Enables the device to record security information when a new MAC address is learned on the 
Ethernet port.  
deleted: Enables the device to record security information when an existing MAC address is deleted. 
Description 
Use the mac-address information enable command to enable MAC Information on the Layer 2 Ethernet 
interface. 
Use the undo mac-address information enable command to disable MAC Information on the Layer 2 
Ethernet interface. 
By default, MAC Information is disabled on a Layer 2 Ethernet interface. 
This command is not supported on aggregate interfaces.  
To enable MAC Information on an Ethernet interface, enable MAC Information globally first.  
Examples 
# Enable MAC Information on GigabitEthernet 1/0/1. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet1/0/1 
[Sysname-GigabitEthernet1/0/1] mac-address information enable added