Posts Tagged ‘TFTP’

June 8 2009

LAN Network Command Equivalences

Here the command equivalences of network command that shows the corresponding old and new versions of the commands. Most people find the new set of commands more logical and prefer using the new ones. However, old habits are difficult to break, and because the old syntax is supported, people still type write mem instead of copy running startup.

Command Equivalences LAN Network

Old-Style (Pre 10.3) Commands                                        New-Style (10.3 and Later) Commands
Configure terminal                                                            configure terminal
Configure memory                                                            copy startup-config running-config
Configure network                                                            copy tftp running-config
Configure overwrite-network                                             copy tftp startup-config
write terminal                                                                   show running-config
write memory                                                                   copy running-config startup-config
write network                                                                   copy running-config tftp
write erase                                                                       erase startup-config
show configuration                                                            show startup-config

An important detail about making changes to the router’s active configuration is that the new configuration file does not substitute the current settings as occurs during a file copy operation. Rather, new commands are merged with the existing settings. It is usually no problem to understand the manual changes made using the “configure terminal command”. However, people tend to incorrectly imagine the way the copy startup-config running-config and the copy tftp running-config commands work as substitution.

Consider an example. The following is the initial configuration of a router’s interface Serial0:

interface serial 0
 no ip address
 shutdown

It is updated with following configuration file on a TFTP server:

interface serial 0
 ip address 10.1.1.1 255.255.255.0
June 6 2009

Knowing Copy running-config and startup-config

Another common configure network commands are copy running-config and startup-config. Those commands create the backup copy of the running configuration in the NVRAM. The show configuration command can be used to check the contents of the NVRAM. The show running-config command displays active settings in the current terminal session. Here the example list of parameters for the copy command that use running-config and startup-config.

R1#copy ?
  /erase          Erase destination file system.
  flash:          Copy from flash: file system
  ftp:            Copy from ftp: file system
  null:           Copy from null: file system
  nvram:          Copy from nvram: file system
  rcp:            Copy from rcp: file system
  running-config    Copy from current system configuration         
  startup-config    Copy from startup configuration                
  system:         Copy from system: file system
  tftp:           Copy from tftp: file system
  xmodem:         Copy from xmodem: file system
  ymodem:         Copy from ymodem: file system
R1#copy running-config ?
  flash:          Copy to flash: file system
  ftp:            Copy to ftp: file system
  null:           Copy to null: file system
  nvram:          Copy to nvram: file system
  rcp:            Copy to rcp: file system
  running-config  Update (merge with) current system configuration
  startup-config  Copy to startup configuration
  system:         Copy to system: file system
  tftp:           Copy to tftp: file system
R1#copy running-config
May 4 2009

Lock Down Wireless Network Using Access Lists

Use access lists to further lock down your wireless network, implement an access list, if possible. Not all wireless access points support this feature, but if yours does, it will allow you to specify exactly what machines are allowed to connect to your access point. The access points that support this feature can sometimes use Trivial File Transfer Protocol (TFTP) to periodically download updated lists in order to prevent the administrative nightmare of having to sync these lists on every unit.

February 7 2009

Configuration File From TFTP Server

If the configure network command is entered, the router tries to download a configuration file from a TFTP (trivial file transfer protocol) server to a portion of RAM and then passes it to the parser for processing. Before the download procedure starts, several questions about the IP address of the TFTP server and the name of the file are asked

Powered by Yahoo! Answers