nerdexam
F5

101 · Question #558

VLAN test-vlan" is configured on interface 1.1 instead of interface 1.2. Which TMSH command should be used to correct this issue?

The correct answer is C. modify /net vlan test-vlan interfaces replace all with {1.2}. Correcting a VLAN interface assignment in BIG-IP TMSH requires the 'modify /net vlan' command with 'interfaces replace-all-with' to overwrite the existing interface entry with the correct one.

Section 2: F5 Solutions and Technology

Question

VLAN test-vlan" is configured on interface 1.1 instead of interface 1.2. Which TMSH command should be used to correct this issue?

Options

  • Amodify /net test vlan interfaces {1.2}
  • Bmodify /net test-vlan interfaces replace all with {1.2}
  • Cmodify /net vlan test-vlan interfaces replace all with {1.2}
  • Dmodify /net sian test-vlan interfaces {1.2}

How the community answered

(19 responses)
  • A
    11% (2)
  • B
    5% (1)
  • C
    79% (15)
  • D
    5% (1)

Why each option

Correcting a VLAN interface assignment in BIG-IP TMSH requires the 'modify /net vlan' command with 'interfaces replace-all-with' to overwrite the existing interface entry with the correct one.

Amodify /net test vlan interfaces {1.2}

'/net test vlan' is not a valid TMSH module path because it omits the required 'vlan' keyword as the module identifier, and the command also lacks the necessary 'replace all with' clause to update the interface list.

Bmodify /net test-vlan interfaces replace all with {1.2}

'/net test-vlan' incorrectly embeds the VLAN name 'test-vlan' into the module path rather than separating the module '/net vlan' from the object name, resulting in an invalid TMSH path.

Cmodify /net vlan test-vlan interfaces replace all with {1.2}Correct

The correct TMSH object path for a VLAN is '/net vlan <name>', where 'vlan' is the module keyword and 'test-vlan' is the object name. The 'interfaces replace all with {{1.2}}' clause replaces all currently assigned interfaces, correcting the misconfiguration from interface 1.1 to interface 1.2.

Dmodify /net sian test-vlan interfaces {1.2}

'/net sian' is not a recognized TMSH module - 'sian' is an invalid keyword that does not correspond to any BIG-IP TMSH module, making this command entirely non-functional.

Concept tested: BIG-IP TMSH VLAN interface assignment modification

Source: https://techdocs.f5.com/en-us/bigip-16-0-0/big-ip-tmsh-reference/tmsh-reference.html

Topics

#TMSH#VLAN#interface assignment#net vlan

Community Discussion

No community discussion yet for this question.

Full 101 Practice