How to configure a vro using TFTP and RCP in UNIX

Source: Internet
Author: User

In network applications, file transmission is the most common application. Using the TFTP and RCP functions, files can be transmitted between computers and routers. The following describes how to use the TFTP and RCP commands to configure a CISCO router.

1. Use the TFTP service to configure a CISCO Router

The TFTP command is widely used in the parameter configuration of the CISCO router. You can use it to update the IOS version of the CISCO router, you can also save the parameter configurations of the current vro to the computer-related directory where the UNIX operating system is installed.

1,Start the tftp service on the UNIX server and specify the download directory as/tftpboot.

Take the sco unix system as an example and define it in the/etc/services file

Tftp 69/udp

Define in the/etc/inetd. conf file

Tftp tli udp wait root/usr/etc/tftpd-s/tftpboot

Start the tftp backend Service

/Etc/inetd-c

2,Create the/tftpboot directory and set the directory permissions.

Create a download directory

Mkdir/tftpboot

Change the Directory attribute to "readable and writable"

Chmod 777/tftpboot

3,Under the directory, create an empty file such as: zj-r7513-confg) and set permissions.

Enter the corresponding directory

Cd/tftpboot

Create an empty file

Touch zj-r7513-confg

Change the Directory attribute to "readable and writable"

Chmod 777 zj-r7513-confg

4,Go to the vro and download the configuration file.

Zj-r7513 # copy run tftp

Follow the on-screen prompts.

Ii. Use the RCP service to configure a CISCO Router

The rcp command can be used to conveniently transmit router configuration parameters between a UNIX host and a router.

1,Create a user such as netadmin1 on a UNIX host and enable the user to log on to the system without password verification.

2,Configure vro parameters.

Ip rcmd remote-username netadmin1

3,Enter the vro and pass the configuration parameters.

Zj-r7513 # copy run rcp

Follow the on-screen prompts.

Related Articles]

  • Cisco router IOS image restoration and upgrade party
  • Detailed explanation of Cisco router switch configuration commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.