Q6. Which of the following commands is used for configuring static route tables?
A. rip add 192.54.63.0
B. route add 192.54.63.0
C. ipaddress add 192.54.63.0
D. add ipaddress 192.54.63.0
Correct Answer: B
Explanation:
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] ].
Here,
-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 192.54.63.0 mask 255.255.255.0 192.54.62.0 metric 5".
Here the destination route added is 192.54.63.0 and gateway to be used is 192.54.62.0
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