Here we will mainly introduce the configuration and initial installation of Cisco routers. Describes how to configure Cisco router settings and remote access, this article discusses how to use the DHCP service function of the internal network to allocate address information for users who remotely dial in and how to troubleshoot common vro faults.
1. Initial installation
During the first installation, the system automatically enters the Dialog Setup, as prompted on the screen, answer the router name, encrypted super login password, super login password, remote login password, dynamic routing protocol, and the configuration of each interface, and save the configuration. After the vro name appears, run the enable command, type the super logon password, and the vro name appears (Here we assume the vro name is Cisco2620). After the Cisco2620 # prompt appears, it indicates that the vro mode has entered, now you can configure the Cisco router.
2. Configure the vro
Type config terminal. The prompt Cisco2620 (config) # appears to enter the configuration mode.
(1) set the password for the Cisco Router
Cisco2620 (config) # enable secret 123123: Set the privileged mode password to 123123
Cisco2620 (config) # line console 0: Enter the Console port configuration mode
Cisco2620 (config-line) # password 123123: Set the Console port password to 123123
Cisco2620 (config-line) # login: Make the console port configuration take effect
Cisco2620 (config-line) # line vty 0 5: Switch to remote logon Port
Cisco2620 (config-line) # password 123123: Set the remote logon password to 123123
Cisco2620 (config-line) # login: Make the configuration take effect
(2) configure a Fast Ethernet port for a Cisco Router
Cisco2620 (config) # interface fastFastethernet 0/0: enter the port configuration mode
Cisco2620 (config-if) # ip address 192.168.1.6 255.255.255.0: Set the ip address and mask
Cisco2620 (config-if) # no shutdown: Enable the port
Cisco2620 (config-if) # exit: exit from Port Configuration Mode
(3) Configure synchronous serial ports for Cisco Routers
Cisco2620 (config) # interface serial 0/0: Enter synchronous serial port settings.
Cisco2620 (config-if) # ip unnumbered fastfastfastethernet 0/0: Synchronous Serial Port uses the same ip address as the fast Ethernet port.
Cisco2620 (config-if) # encapsulation ppp: sets the data link layer protocol as PPP.
(4) configure the 16-port Modem dial-up module on the Cisco router and use the internal DHCP service to assign addresses to the dial-in users.
Cisco2620 (config) # interface Group-Async1.
Cisco2620 (config-if) # ip unnumbered FastEthernet0/0.
Cisco2620 (config-if) # encapsulation ppp.
Cisco2620 (config-if) # ip tcp header-compression passive: Enable passive IP header compression.
Cisco2620 (config-if) # async mode dedicated: works only in asynchronous mode.
Cisco2620 (config-if) # peer default ip address dhcp: Forward ip address requests to the DHCP server.
Cisco2620 (config-if) # ppp authentication chap: sets authentication as CHAP.
Cisco2620 (config-if) # group-range 33 48: the dial-up group contains 16 ports.