101 · Question #694
A BIG-IP Administrator needs to create a route to send traffic destined to 10.1.1.1 to another router with an address of 192.168.1.1. Which TMSH command should the administrator use?
The correct answer is A. create/net route 10.1.1.1/32 gw 192.168.1.1. The correct TMSH syntax for creating a static host route on BIG-IP places the destination network first followed by the 'gw' keyword and gateway address.
Question
A BIG-IP Administrator needs to create a route to send traffic destined to 10.1.1.1 to another router with an address of 192.168.1.1. Which TMSH command should the administrator use?
Options
- Acreate/net route 10.1.1.1/32 gw 192.168.1.1
- Bcreate met route 192.168.1.1/32 gw 10.1.1.1
- Cadd met route 192.168.1.1/32 gw 10.1.1.1
- Dadd inet route 10.1.1.1/32 gw 192.168.1.1
How the community answered
(62 responses)- A76% (47)
- B6% (4)
- C15% (9)
- D3% (2)
Why each option
The correct TMSH syntax for creating a static host route on BIG-IP places the destination network first followed by the 'gw' keyword and gateway address.
The command 'create net route 10.1.1.1/32 gw 192.168.1.1' uses the correct TMSH module path ('net route'), the proper destination host with a /32 prefix mask, and the 'gw' keyword to specify the next-hop gateway of 192.168.1.1. This follows BIG-IP TMSH syntax for static route creation under the net module.
'met' is not a valid TMSH module name for routing, and the destination and gateway addresses are reversed from the stated requirement.
'add' is not a valid TMSH verb for creating routes - TMSH uses 'create' to add new objects - and 'met' is not a valid TMSH module.
'add inet' is not valid TMSH syntax; BIG-IP TMSH uses 'create net route' for static route creation, and 'inet' is not a recognized TMSH module for routing.
Concept tested: Creating static routes using TMSH net module on BIG-IP
Source: https://techdocs.f5.com/en-us/bigip-16-0-0/big-ip-tmos-routing-administration/adding-static-routes.html
Topics
Community Discussion
No community discussion yet for this question.