Thursday, June 16, 2016

1. HDLC encapsulation

Router(config-if)#encapsulation HDLC

2. PPP encapsulation

HDLC is default encapsulation on cisco router, PPP using to connect non-cisco router

Authentication: PAP or CHAP
Pap - send password
Chap - same password

PAP 

Router#username r3 password 0 ccna123

interface Serial0/1/0
ip address 10.0.1.2 255.255.255.0
encapsulation ppp
ppp authentication pap
ppp pap sent-username r1 password 0 ccna123


CHAP

Router#username pnh1 password 0 cisco

interface Serial0/1/0
ip address 10.0.1.2 255.255.255.0
encapsulation ppp

ppp authentication chap

3. Frame relay/ATM

Cấu hình Poit To Point

======= Trên R biên================
interface Serial0/0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0/0.201 point-to-point
ip address 192.168.4.1 255.255.255.0
frame-relay interface-dlci 201

Tương tự cho R với dlci 301
========Trên R nối================
interface Serial0/0/0
no ip address

encapsulation frame-relay
!
interface Serial0/0/0.102 point-to-point
ip address 192.168.4.2 255.255.255.0
frame-relay interface-dlci 102
clock rate 2000000
!
interface Serial0/0/0.103 point-to-point
ip address 192.168.5.2 255.255.255.0

frame-relay interface-dlci 103

0 comments:

Post a Comment

Chuyên mục

Bài viết theo tháng

Bài đăng gần nhất