MAC Information configuration
commands
MAC Information applies only to Layer 2 Ethernet interfaces.
mac-address information enable (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 mac-address information enable to enable MAC Information on the Layer 2 Ethernet
interface.
Use undo mac-address information enable to restore the default.
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.
Examples
# Enable MAC Information on Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] mac-address information enable added
mac-address information enable (system view)
Syntax
mac-address information enable
undo mac-address information enable
View
System view
Default level
2: System level
60