
30
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. (Optional) Configure the
MAC Information cache
queue length.
mac-address information
queue-length value
The default setting is 50.
MAC Information configuration example
Network requirements
As shown in Figure 6:
• Host A is connected to a remote server (Server) through Device.
• Enable MAC Information on GigabitEthernet 1/0/1 on Device. Device sends MAC address
changes in syslog messages to Host B through GigabitEthernet 1/0/3. Host B analyzes and
displays the syslog messages.
Figure 6 Network diagram
Configuration procedure
1. Configure Device to send syslog messages to Host B.
For more information, see Network Management and Monitoring Configuration Guide.
2. Enable MAC Information:
# Enable MAC Information globally.
<Device> system-view
[Device] mac-address information enable
# Configure MAC Information mode as syslog.
[Device] mac-address information mode syslog
# Enable MAC Information on GigabitEthernet 1/0/1.
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] mac-address information enable added
[Device-GigabitEthernet1/0/1] mac-address information enable deleted
[Device-GigabitEthernet1/0/1] quit
# Set the MAC Information queue length to 100.
[Device] mac-address information queue-length 100
Commentaires sur ces manuels