It is very useful to know some methods for configuring CISCO router parameters. Here we mainly analyze how to configure CISCO router parameters in a UNIX operating system. In network applications, the most common application is file transmission. 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 CISCO router parameters.
I. Using the TFTP service to configure CISCO router Parameters
The TFTP command is widely used in CISCO router parameter configuration. You can use it to update the IOS version of CISCO router parameter configuration, you can also save the current CISCO router parameter configuration 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 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 directory permissions.
Create a download directory:
Mkdir/tftpboot
Change the Directory attribute to "readable and writable ":
Chmod 777/tftpboot
3. Create an empty file such as net-csai-confg in the directory and set the permission.
Enter the corresponding directory:
Cd/tftpboot
Create an empty file:
Touch net-csai-confg
Change the Directory attribute to "readable and writable ":
Chmod 777 net-csai-confg
4. Enter the vro and download the configuration file:
Net-csai # copy run tftp
Ii. Use the RCP service to configure CISCO router Parameters
The rcp command can be used to conveniently configure CISCO router parameters to be transmitted between UNIX hosts and routers.
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. CISCO router parameter configuration:
Ip rcmd remote-username netadmin1
3. Enter the vro and pass the configuration parameters:
Net-csai # copy run rcp