Authentification (Frame Relay, RNIS)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Authentification au niveau de Frame Relay

Router 1 Router 2
Router>enable Router>enable
Router#configure terminal Router#configure terminal
Router(config)#hostname R1 Router(config)#hostname R2
Router(config)#username R2 password 10 Router(config)#username R1 password 10
Router(config)#username R3 password 12 Router(config)#username R3 password 11
R1(config)#interface virtual-template1 R2(config)#interface virtual-template1
R1(config-if)#ip address 10.0.0.1 255.0.0.0 R2(config-if)#ip address 10.0.0.2 255.0.0.0
R1(config-if)#ppp authentication chap R2(config-if)#ppp authentication chap
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface virtual-template2 R2(config)#interface virtual-template2
R1(config-if)#ip address 12.0.0.1 255.0.0.0 R2(config-if)#ip address 11.0.0.1 255.0.0.0
R1(config-if)#ppp authentication chap R2(config-if)#ppp authentication chap
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface serial 2/0.102 point-to-point R2(config)#interface serial 2/0.201 point-to-point
R1(config-if)#frame-relay interface-dlci 102 ppp virtual-template1 R2(config-if)#frame-relay interface-dlci 102 ppp virtual-template1
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface serial 2/0.103 point-to-point R2(config)#interface serial 2/0.203 point-to-point
R1(config-if)#frame-relay interface-dlci 103 ppp virtual-template2 R2(config-if)#frame-relay interface-dlci 203 ppp virtual-template2
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface serial 2/0 R2(config)#interface serial 2/0
R1(config-if)#encapsulation frame-relay R2(config-if)#encapsulation frame-relay
R1(config-if)#no shutdown R2(config-if)#no shutdown
R1(config-if)#exit R2(config-if)#exit

Router 3
Router>enable R3(config)#interface serial 2/0.301 point-to-point
Router#configure terminal R3(config-if)#frame-relay interface-dlci 103 ppp virtual-template1
Router(config)#hostname R3 R3(config-if)#exit
Router(config)#username R1 password 12 R3(config)#interface serial 2/0.302 point-to-point
Router(config)#username R2 password 11 R3(config-if)#frame-relay interface-dlci 203 ppp virtual-template2
R3(config)#interface virtual-template1 R3(config-if)#exit
R3(config-if)#ip address 11.0.0.2 255.0.0.0 R3(config)#interface serial 2/0
R3(config-if)#ppp authentication chap R3(config-if)#encapsulation frame-relay
R3(config-if)#exit R3(config-if)#no shutdown
R3(config)#interface virtual-template2 R3(config-if)#exit
R3(config-if)#ip address 12.0.0.2 255.0.0.0
R3(config-if)#ppp authentication chap
R3(config-if)#exit
Authentification au niveau de RNIS

Router 1 Router 2
Router>enable Router(config)#enable
Router#configure terminal Router(config)#configure terminal
Router(config)#hostname Casa Router(config)#hostname Rabat
Casa(config)#dialer-list 1 protocol ip permit Rabat(config)#dialer-list 1 protocol ip permit
Casa(config)#username Rabat password Cisco Rabat(config)#username Casa password Cisco
Casa(config)#interface bri 0/0 Rabat(config)#interface bri 0/0
Casa(config-if)#isdn switch-type basic-ni Rabat(config-if)#isdn switch-type basic-ni
Casa(config-if)#encapsulation ppp Rabat(config-if)#encapsulation ppp
Casa(config-if)#ip address 192.168.1.1 255.255.255.0 Rabat(config-if)#ip address 192.168.1.2 255.255.255.0
Casa(config-if)#isdn spid1 32177820010100 Rabat(config-if)#isdn spid 1 32177820020100
Casa(config-if)#dialer-group 1 Rabat(config-if)#dialer-group 1
Casa(config-if)#dialer string 7782001 Rabat(config-if)#dialer string 7782002
Casa(config-if)#ppp authentication chap Rabat(config-if)#ppp authentication chap
Casa(config-if)#no shutdown Rabat(config-if)#no shutdown
Casa(config-if)#exit Rabat(config-if)#exit

You might also like