NTC/362: Fundamentals of Networking
- Get link
- X
- Other Apps
NTC/362: Fundamentals of Networking
Q: Your switch is in an air-conditioned locked wiring closet on the first floor of the building. There is a card reader on the door that allows only authorized personnel in the room. On Thursday, you used SSH to connect to this switch and issued the following commands:
Switch(config)# hostname SW1 SW1(config)# end SW1# logout
The following Monday morning, you telnet into the switch, and run the show version command, and see the following output:
Switch#show version Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3) Technical Support: Support - Cisco Support and Downloads – Documentation, Tools, Cases Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Wed 21-Apr-10 05:33 by prod_rel_team Image text-base: 0x01000000, data-base: 0x02E00000 ROM: Bootstrap program is a C3560 boot loader BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) Switch uptime is 1 day, 3 hours, 24 minutes System returned to ROM by power-on System image file is "flash:/c3560-ipservicesk9-mz.122-53.SE2.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer, and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors, and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable --More--
Based on this output, what is the cause for the state of the hostname for this switch?
A: You forgot to save the configuration to NVRAM.
Explanation: Unless the configuration is saved to NVRAM, the switch will not use the updated configuration information, including the hostname, the next time it reboots. The show version shows a reboot, which could be due to loss of power and restoration of power, that occurred 1 day, 3 hours, and 24 minutes previous to when the user issued the show command, and that is when it reverted back to its original hostname.
Configurations may be saved to NVRAM, TFTP servers, and other destinations, but not to a configuration register. The exit command is not required to effect a change to a hostname, which happens automatically in RAM when Enter is pressed. There is no rollback feature by default in IOS.
- Get link
- X
- Other Apps
Comments
Post a Comment