Which two commands set the configuration register value? (Choose two.)
Click on the arrows to vote for the correct answer
A. B. C. D. E.AE.
The configuration register is a 16-bit software register that controls how a Cisco router or switch boots up and operates. It is used to specify various settings that affect the behavior of the device, such as the boot image, console speed, and console terminal emulation.
To set the value of the configuration register, you can use one of several methods. Two common methods are using the ROM monitor mode (ROMmon) or using the IOS command line interface (CLI).
The correct answers to the question are A and B.
A. rommon>confreg 0x2102: This command sets the configuration register value to 0x2102 in ROMmon mode. ROMmon mode is a special mode that can be accessed if the router is unable to boot normally, such as after a power outage or if the configuration file is missing.
B. router(config)#confreg 0x2102: This command sets the configuration register value to 0x2102 in the IOS CLI configuration mode. This command is entered from global configuration mode, and changes the value of the configuration register in the running configuration.
The other options are incorrect:
C. rommon>config-register 0x2102: This is not a valid command in ROMmon mode. The correct command is confreg.
D. router(config)#configuration-register 0x2102: This is not a valid command in IOS configuration mode. The correct command is confreg.
E. router(config)#config-register 0x2102: This is not a valid command in IOS configuration mode. The correct command is confreg.
In summary, the two commands that set the configuration register value are rommon>confreg 0x2102 and router(config)#confreg 0x2102.