nerdexam
F5

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.

Section 2: F5 Solutions and Technology

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)
  • A
    76% (47)
  • B
    6% (4)
  • C
    15% (9)
  • D
    3% (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.

Acreate/net route 10.1.1.1/32 gw 192.168.1.1Correct

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.

Bcreate met route 192.168.1.1/32 gw 10.1.1.1

'met' is not a valid TMSH module name for routing, and the destination and gateway addresses are reversed from the stated requirement.

Cadd met route 192.168.1.1/32 gw 10.1.1.1

'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.

Dadd inet route 10.1.1.1/32 gw 192.168.1.1

'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

#TMSH#static routing#BIG-IP CLI#route configuration

Community Discussion

No community discussion yet for this question.

Full 101 Practice