NETWORKS-F5CAB1 practice question 5 of 10

When logged into the bash shell of a BIG-IP system, which of the following commands will display the management-ip address? (Choose two.)

Full set: 49 questions
Answer options
A: tmsh list /sys management-ip Correct answer
B: show mgmt ip
C: ifconfig mgmt Correct answer
D: list / sys management-ip
Correct Answer:
A. tmsh list /sys management-ip; C. ifconfig mgmt
Explanation

From the BIG-IP bash shell, there are two primary methods to view the management IP address. The first is to invoke the Traffic Management Shell (tmsh) with the command tmsh list /sys management-ip. This command specifically queries and displays the BIG-IP configuration object for the management IP address. The second method is to use the standard Linux utility ifconfig mgmt, which displays the current network interface settings for the dedicated management port (mgmt), including its assigned IP address.

Why Incorrect

B. show mgmt ip: This command uses syntax that is not valid in either the bash shell or the BIG-IP tmsh utility.
D. list / sys management-ip: This is a valid command within the tmsh interactive shell, but when executed from bash, it is missing the tmsh prefix and will result in a "command not found" error.

References

1. F5 Networks, BIG-IP TMOS Shell (tmsh) Reference Guide, Version 16.1, page 3-1, "Running tmsh commands from the bash shell": This section explicitly states, "You can run a tmsh command from the bash shell by typing tmsh followed by the command." This validates the syntax used in option A.

2. F5 Networks, BIG-IP TMOS Shell (tmsh) Reference Guide, Version 16.1, page 19-100, "management-ip": This section documents the management-ip component within the /sys module and confirms that list /sys management-ip is the correct syntax to display its configuration.

3. F5 Knowledge Base, K13113: Managing the BIG-IP system with the command line utilities (11.x - 17.x): This official article lists common Linux networking utilities available on the BIG-IP system for troubleshooting, including ifconfig. It confirms that standard Linux commands can be used to inspect the system's network configuration from the bash shell, validating the use of ifconfig mgmt for the management interface.

4. F5 Knowledge Base, K15225: Changing the BIG-IP management IP address: In the verification steps of this procedure, the article instructs the user to run the ifconfig mgmt command to confirm that the management interface is configured with the correct IP address. This directly supports option C as a valid method.

Scroll to Top