Target:
Configure Telnet on the vrotelnet.
*
Experiment Principle
Connect the two routers through the serial port and connect them with V.35 DTE/DCE cables, and configure Telnet for each other.
The vro provides the WAN Interface serial high-speed synchronous serial port), and uses the V.35 cable to connect to the WAN interface link. When a Wan is connected, one end is a DCE data communication device) and the other end is a DTE data terminal device ). Clock rate must be configured on the DCE side to ensure link connectivity.
*
Experiment topology:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0530261933-0.png "title =" 002.png"/>
Step:
Step 1: configure the vro name, interface IP address, and clock
R3740 # configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R3740 (config) # hostname roupid
! Configure vro name
Routeconfig # interface serial 4/0
! Enter the interface configuration mode of the serial port
Roupid (config-if) # clock rate 512000
! Set the clock frequency at the DCE end. If you do not know the clock frequency, can you set the clock rate? Query, if the clock frequency is not linked
! Then it fails.
Routeconfig-if # ip address 192.168.1.1 255.255.255.0
! Configure the interface IP Address
Routeconfig-if # no shutdown
! Enable Port
Roupid (config-if) # exit
R3740 # configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R3740 (config) # hostname RouterB
RouterB (config) # interface serial 4/0
RouterB (config-if) # ip address 192.168.1.2 255.255.255.0
RouterB (config-if) # no shutdown
RouterB (config-if) # exit
Step 2: Configure Telnet
Routeconfig # enable password yxh
! Configure the vro's privileged mode password
Routeconfig # line vty 0 4
! Enter thread Configuration Mode
Routeconfig-line # password yxh
! Configure the Telnet Password
Routeconfig-line # login
! Set authentication during Telnet Logon
Routeconfig-line # end
RouterB (config) # enable password yxh
RouterB (config) # line vty 0 4
RouterB (config-line) # password yxh
RouterB (config-line) # login
RouterB (config-line) # end
Step 3: test network connectivity and log on to the vrotelnet using Telnet
RouterB # ping 192.168.1.1
Sending 5, 100-byte ICMP Echoes to 192.168.1.1, timeout is 2 seconds:
<Press Ctrl + C to break>
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 MS
RouterB # telnet 192.168.1.1
Trying 192.168.1.1, 23...
User Access Verification
Password:
! Prompt for entering the Telnet password. Enter yxh here.
Route> en
Password:
! The system prompts you to enter the privileged mode password. Enter yxh here.
Route# en
! Log on to vroa A remotely and configure it.
Roupid #
Rouw.# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Routeconfig # exit
Roupid #
Roupid #
Roupid # exit
! Use the exit command to log out of Telnet
RouterB #
Roupid # ping 192.168.1.2
Sending 5, 100-byte ICMP Echoes to 192.168.1.2, timeout is 2 seconds:
<Press Ctrl + C to break>
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/10 MS
Roupid # telnet 192.168.1.2
Trying 192.168.1.2, 23...
User Access Verification
Password:
RouterB> en
Password:
RouterB #
RouterB # conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterB (config) # exit
RouterB #
RouterB # exit
Roupid #
Note]
1. If the two routers are directly connected through the serial port, the clock frequency DCE must be set at one end ).
2. If the Telnet Password is not configured, the system prompts "Password required, but none set" during logon ".
3. If the enable Password is not configured, you cannot enter the privileged mode after logging on to the vro remotely. The message "Password required, but none set" is displayed ".
Reference Configuration]
Roupid # show running-config
Building configuration...
Current configuration: 582 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname roupid
!
!
Enable password 7 035122110c3706
!
Interface serial 4/0
Ip address 192.168.1.1 255.255.255.0
Clock rate 512000
!
Interface serial 4/1
Clock rate 64000
!
Interface GigabitEthernet 0/0
Duplex auto
Speed auto
!
Interface GigabitEthernet 0/1
Duplex auto
Speed auto
!
!
Line con 0
Line aux 0
Line vty 0 4
Login
Password 7 0133574225
!
End
RouterB # show running-config
Building configuration...
Current configuration: 562 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname RouterB
!
!
Enable password 7 0251563e120f3b
!
Interface serial 4/0
Ip address 192.168.1.2 255.255.255.0
!
Interface serial 4/1
Clock rate 64000
!
Interface GigabitEthernet 0/0
Duplex auto
Speed auto
!
Interface GigabitEthernet 0/1
Duplex auto
Speed auto
!
Line con 0
Line aux 0
Line vty 0 4
Login
Password 7 0059344251
!
End
This article is from the "Security_net" blog, please be sure to keep this http://yxh1157686920.blog.51cto.com/7743046/1284433