MAC Information commands
mac-address information enable (interface view)
Use
mac-address information enable
Use
undo mac-address information enable
Syntax
mac-address information enable { added | deleted }
undo mac-address information enable { added | deleted }
Default
MAC Information is disabled on an interface.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
: Enables the device to record MAC change information when a new MAC address is learned
added
on an interface.
: Enables the device to record MAC change information when an existing MAC address is
deleted
deleted.
Usage guidelines
Before you enable MAC Information on an interface, enable MAC Information globally.
Examples
# Enable MAC Information on GigabitEthernet 1/0/1 to enable the interface to record MAC change
information when learning a new MAC address.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-address information enable added
Related commands
mac-address information enable
mac-address information enable (system view)
Use
mac-address information enable
Use
undo mac-address information enable
Syntax
mac-address information enable
undo mac-address information enable
Default
MAC Information is disabled globally.
to enable MAC Information on an interface.
to disable MAC Information on an interface.
(system view)
to enable MAC Information globally.
to disable MAC Information globally.
0