Q6. Which of the following commands is used for configuring static route tables?
A. rip add 126.96.36.199
B. route add 188.8.131.52
C. ipaddress add 184.108.40.206
D. add ipaddress 220.127.116.11
Correct Answer: B
The proper command to be used for adding a route statically is "ROUTE" command. The syntax is:
route [-f] [-p] [command [destination] [MASK netmask] [gateway] [METRIC value] ].
-f Clears the routing table of all current entries
-p Means persistent, the routes are maintained from reboot to reboot
command Available options are print (to print a route); add (to add a route); delete (to delete a route), change ( to modify)
mask Specifies that what follows is the subnet mask to be associated with the route.
Netmask The subnet mask for the destination. If no value is supplied, the subnet mask is assumed to be 255.255.255.255
gateway The gateway where the packets are to be forwarded to reach the specified destination
metric Specifies that the parameter value that follows is the metric
value This specifies the distance (in hops) to the destination.
An example of this command is :
"route add 18.104.22.168 mask 255.255.255.0 22.214.171.124 metric 5".
Here the destination route added is 126.96.36.199 and gateway to be used is 188.8.131.52
Disclaimer: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.CCNA™ is a trademark of Cisco® systems