Volume 2 - Chapter 17: SNMP, FTP, and TFTP Flashcards
Describe the purpose of the SNMP Set message.
To set a variable on the SNMP agent running on the network device
Typically used for running commands remotely.
What are the 2 types of Get requests supported by SNMPv1?
- Get
- Get Next
What additional Get request type was added by SNMPv2?
Get Bulk: used to get multiple sets of data without having to do multiple individual queries.
For example, using a Get Bulk command to get all of the information for an interface on a router.
Describe the difference between the SNMP trap versus inform.
The SNMP trap does not have to be acknowledged by the NMS, whereas the inform does.
What transport protocol is used by SNMP trap and inform messages?
Both use UDP.
What version(s) of SNMP have support for clear-text communities?
All versions, v1, v2, and v3 support clear text.
What security features are added with SNMPv3?
- Message Integrity: validating messages have not been modified
- Authentication: Username and password
- Encryption (Privacy): Encryption
Describe the purpose of the “more” command on a Cisco router
To display the contents of a file:
more flash0:myfile.txt
A network engineer wants to verify the files and directories that exist within the bootflash:
What command(s) does the network technician need to use?
- First the network technician should validate that they are in the bootflash using: pwd
- if needed, move to the bootflash using: cd bootflash:
- Then, list all files (including sub-files) using: dir
Alternatively, you can list the bootflash without moving directories using: dir bootflash:
Describe the difference between the dir and show commands.
dir
* lists the files and directories in the current PWD
* lists the total used and unused bytes
show
* lists all files including the files in the sub-directories along with a unique file number for each
* lists only the total used bytes
What command can be used to verify the MD5 hash of an IOS image called:
c1100-universal9.14.3.2.SPA.bin
verify /md5 c1100-universal9.14.3.2.SPA.bin
What command can be used to verify the SHA512 hash of an IOS image called:
c1100-universal9.14.3.2.SPA.bin
verify /sha512 c1100-universal9.14.3.2.SPA.bin
True or False:
Both FTP and SCP provide encryption during the file transfer process, whereas TFTP does not
False, out of the 3 options only SCP provides encryption. FTP and TFTP do not provide encryption
What would be the correct command to copy a file to a router’s flash via FTP using the following?:
* File Path: /myftp/folder1
* File Name: IOS-Image.bin
* Username: myuser
* Password: 1234
* Server IP: 10.3.2.4
copy ftp://myuser:1234@10.3.2.4/myftp/folder1/IOS-Image.bin
What commands are used to set a username and password for FTP connections on a router so that they do not need to be specified when performing the copy?
ip ftp username username
ip ftp username password
copy ftp://serverIP/filename