R1配置:
R1#sh run
Building configuration...
Building configuration...
Current configuration : 465 bytes
!
version 12.3
no service password-encryption
!
hostname R1
!
!
username R2 password 0 123456
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
ppp authentication chap
!
!
!
version 12.3
no service password-encryption
!
hostname R1
!
!
username R2 password 0 123456
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
ppp authentication chap
!
!
...command omit...
R2配置:
R2#sh run
Building configuration...
Building configuration...
Current configuration : 483 bytes
!
version 12.3
no service password-encryption
!
hostname R2
!
!
username R1 password 0 123456
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.0
encapsulation ppp
ppp authentication chap
clock rate 64000
!
!
!
!
version 12.3
no service password-encryption
!
hostname R2
!
!
username R1 password 0 123456
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.0
encapsulation ppp
ppp authentication chap
clock rate 64000
!
!
!
...command omit...
end