R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

11
MAC Information configuration commands
The MAC Information feature is available on only SAP modules that are operating in bridge mode.
MAC Information applies only to Layer 2 Ethernet interfaces.
mac-address information enable (interface view)
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.
Syntax
mac-address information enable { added | deleted }
undo mac-address information enable { added | deleted }
Default
MAC Information is disabled on a Layer 2 Ethernet interface.
Views
Layer 2 Ethernet interface view
Default command 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.
Usage guidelines
This command is not supported on aggregate interfaces.
Before you enable MAC Information on an Ethernet interface, enable MAC Information globally.
Examples
# Enable MAC Information on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] mac-address information enable added
mac-address information enable (system view)
Use mac-address information enable to enable MAC Information globally.
Use undo mac-address information enable to restore the default.
Syntax
mac-address information enable