HPE7-A08 practice question 35 of 35

Which two CLI commands are used to reset a trunk port to its default settings? (Select two)

Full set: 342 questions
Answer options
A: no switchport mode trunk Correct answer
B: default interface Correct answer
C: reset trunk settings
D: clear trunk configuration
Correct Answer:
A. no switchport mode trunk; B. default interface
Explanation

To reset a trunk port to its default settings on an ArubaOS-CX switch, two primary commands can be used. The default interface command is a comprehensive method that resets all configuration parameters on the specified interface to their factory-default values. This includes removing trunk mode, VLAN memberships, and any other custom settings. Alternatively, the no switchport mode trunk command specifically targets the trunk mode configuration. Since the default port mode is 'access', this command effectively reverts the port from a trunk port back to its default operational mode, which is a key part of resetting its trunk-specific settings.

Why Incorrect

reset trunk settings: This is not a valid command in the ArubaOS-CX command-line interface. It is a syntactically incorrect distractor. clear trunk configuration: clear commands are used to remove dynamic entries or statistics (e.g., MAC tables, counters), not for removing static configuration from the running-config.

References

1. ArubaOS-CX 10.12 Fundamentals Guide, Page 120, "Configuring a default interface": "The default interface command resets the configuration for the specified interface to the factory-default values." This supports the correctness of the default interface command (Option B).

2. ArubaOS-CX 10.12 Layer 2 Bridging Guide, Page 46, "Configuring a trunk interface": This section states that the default switchport mode is access. The command to configure a trunk is switchport mode trunk. The no form of this command, no switchport mode trunk, would therefore revert the interface to its default access mode, supporting Option A.

3. ArubaOS-CX 10.12 Command-Line Interface Guide, "clear" command section: This guide details the usage of clear commands, confirming they are used for clearing dynamic data, sessions, and counters, not for modifying the persistent configuration. This invalidates Option D.

Scroll to Top