cisco labs Flashcards
hone in networking skills
which commands configures dns on a router
ip domain-lookup
ip name-server ip address of dns(no subnet)
where do you set up a management IP on a switch to manage it remotely
vlan of your choice
do you need a subnet mask when configuring dns and default gateway
no, not needed
can you ping a switch with management ip on a vlan if the vlan interface is down
no, vlan interface has to be up to ping other devices on the network
what will happen if an interface connecting two devices has two different speed and duplex settings
the link will remain down despite no shut command on the interfaces
if a switch interface connecting a router interface is up but router end is down, what happens to switch interface
the switch interface will remain down until router end interface is up despite no shut command.
name two conditions needed for cdp to work in devices
the interface has to be up on both sides
cdp has to be configured on that particular device/interface
which command configures cdp globally on a device
cdp run on global configuration and no cdp run to disable cdp
which command configures cdp on an interface
cdp enable on that particular interface and no cdp enable to disable
which commands refreshes cdp on a device
no cdp run then followed by cdp run
which commands factory resets a router or switch
write erase
reload
which command configures a router or switch to boot into the rommon prompt
config-register 0x2120
which command in rommon mode configures router or switch to ignore startup-config and reboot.
confreg 0x2142
reset
which command removes enable secret
no enable secret (do not copy the encrypted or password part)
which command enables the router to boot normally using the startup config
config-register 0x2102
which command copies running config or startup config to flash memory
copy run flash (remember the names in flash are case sensitive)
which command copies start or running configuration to tftp server
copy run/start tftp(you will be required to give the tftp server address and name of the server)
how to copy IOS system image from router to tftp server
copy flash tftp
enter source filename
enter address of tftp server
enter destination filename
if you delete the system image in flash what will happen during your next boot up
boot will fail and will display a rommon prompt
which command deletes the system image contained in flash memory
delete flash:c2900-universalk9-mz.SPA.151-4.M4.bin(name of file name in flash)
what is the work of tftpdnld command in rommon mode
used to download and install a new cisco IOS image from the tftp server(you start the download by invoking tftpdnld on rommon, then enter the ip address, subnet mask, default gateway,tftp server address, tftp file then finish with tftpdnld, after the download is complete finish with reset command to exit rommon and boot normally
how to use tftp server to upgrade IOS image
copy tftp flash(enter tftp server address and the file to which you want to upgrade to, destination on flash is same as file name)
boot system with old filename in global config
copy run start
reload(upgrade complete)
differences between tftp and ftp
ftp uses port 21 while tftp uses port 69
ftp uses username and password for authentication while tftp does not support authentication
ftp encrypts data transfer while tftp does not encrypt data transfer
ftp can recover from errors while transferring while tftp does not have error recovery
ftp supports both ASCII and binary transfer modes while tftp supports only binary transfer mode
ftp supports resuming interrupted transfers while tftp does not support any transfer options