HPE7-A08 practice question 10 of 35

Which CLI command removes a dynamically learned MAC address from the MAC table?

Full set: 342 questions
Answer options
A: clear mac-address-table dynamic Correct answer
B: delete mac-table entry
C: flush mac-address-table
D: clear mac-table
Correct Answer:
A. clear mac-address-table dynamic
Explanation

The command clear mac-address-table dynamic is used in ArubaOS-CX to remove all dynamically learned MAC address entries from the forwarding database (MAC table). This action forces the switch to relearn the MAC addresses of connected devices as they transmit frames. This is a standard administrative procedure for troubleshooting Layer 2 connectivity issues or clearing stale entries after network topology changes. The dynamic keyword specifically targets entries learned through traffic observation, leaving any statically configured MAC addresses untouched.

Why Incorrect

B. The verb delete and the object name mac-table are not the correct syntax for this operation in the ArubaOS-CX command-line interface.
C. The verb flush is not used for clearing the MAC address table in ArubaOS-CX; the correct command verb is clear.
D. The correct object name is mac-address-table, not mac-table. This command is syntactically incorrect and would not be recognized by the switch.

References

1. ArubaOS-CX 10.12 Command-Line Interface Guide

Page 1

"clear mac-address-table" command section. The guide provides the full command syntax: clear mac-address-table [dynamic | ] [vlan ] [interface ]. The description for the dynamic parameter explicitly states it "Clears all dynamic MAC address entries."

2. ArubaOS-CX 10.10 Fundamentals Guide

Page 211

"Monitoring MAC addresses" section. The guide discusses viewing the MAC address table and mentions the clear mac-address-table command as the method for removing entries.

Scroll to Top