CHAP单向认证
RA认证方
!version1.3.3H
servicetimestampslogdate
servicetimestampsdebugdate
noservicepassword-encryption
!
hostnameRA
!
!
!
!
!
!
gbscgroupdefault
!
!
!
!
!
!
!
aaaauthenticationpppfor_chaplocal
!
usernameRDCEpassword0digital1
!
interfaceSerial0/1
ipaddress192.168.1.1255.255.255.0
noipdirected-broadcast
encapsulationppp
pppauthenticationchapfor_chap
!
RB被认证方
!version1.3.3H
servicetimestampslogdate
servicetimestampsdebugdate
noservicepassword-encryption
!
hostnameRB
!
!
!
!
!
!
gbscgroupdefault
!
!
!
!
!
!
!
aaaauthenticationpppdefaultlocal
!
!
!
!
interfaceFastEthernet0/0
noipaddress
noipdirected-broadcast
!
interfaceGigaEthernet0/3
noipaddress
noipdirected-broadcast
!
interfaceGigaEthernet0/4
noipaddress
noipdirected-broadcast
!
interfaceGigaEthernet0/5
noipaddress
noipdirected-broadcast
!
interfaceGigaEthernet0/6
noipaddress
noipdirected-broadcast
!
interfaceSerial0/1
noipaddress
noipdirected-broadcast
!
interfaceSerial0/2
ipaddress192.168.1.2255.255.255.0
noipdirected-broadcast
encapsulationppp
pppchaphostnameRDCE
pppchappassword0digital1
physical-layerspeed64000
!
interfaceAsync0/0
noipaddress
noipdirected-broadcast
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
RB_config#showru
Buildingconfiguration...
Currentconfiguration:
!
!version1.3.3H
servicetimestampslogdate
servicetimestampsdebugdate
noservicepassword-encryption
!
hostnameRB
!
!
!
!
!
!
gbscgroupdefault
!
!
!
!
!
!
!
aaaauthenticationpppdefaultlocal
!
!
interfaceSerial0/2
ipaddress192.168.1.2255.255.255.0
noipdirected-broadcast
encapsulationppp
pppchaphostnameRDCE
pppchappassword0digital1
physical-layerspeed64000
!
CHAP双向认证
RA
!
!version1.3.3H
servicetimestampslogdate
servicetimestampsdebugdate
noservicepassword-encryption
!
hostnameRA
!
!
!
!
!
!
gbscgroupdefault
!
!
!
!
!
!
!
aaaauthenticationpppfor_chaplocal
!
usernameRBpassword0123456
!
!
interfaceSerial0/1
ipaddress10.1.1.1255.255.255.0
noipdirected-broadcast
encapsulationppp
pppauthenticationchapfor_chap
pppchaphostnameRA
pppchappassword0123456
!
RB
!
!version1.3.3H
servicetimestampslogdate
servicetimestampsdebugdate
noservicepassword-encryption
!
hostnameRB
!
!
!
!
!
!
gbscgroupdefault
!
!
!
!
!
!
!
aaaauthenticationpppfor_chaplocal
!
usernameRApassword0123456
!
!
interfaceSerial0/2
ipaddress10.1.1.2255.255.255.0
noipdirected-broadcast
encapsulationppp
pppauthenticationchapfor_chap
pppchaphostnameRB
pppchappassword0123456
physical-layerspeed64000
!