konfigurasi HDLC dan PPP
pada R1
Router#show
interfaces serial 0/0/0
Serial0/0/0
is up, line protocol is up (connected)
Hardware
is HD64570
Internet
address is 20.0.0.1/8
MTU
1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation
HDLC, loopback not set, keepalive set (10 sec)
[output is omited]
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#encapsulation ppp
Router(config)#exit
Router#show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
[output is omited]
Protocols is disable.
To enable it set the encapsulation back to HDLC and restart the port with shut
down command
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#encapsulation hdlc
Router(config-if)#shutdown
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
Router#show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
[output is omited]
Configuration of PPP
Now we will configure PPP encapsulations on both router. We will also
authenticate it with CHAP. Hostname of Router are R1 and R2 and password is
lp2m.Double Click on R1 and configure it
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#username R2 password lp2m
R1(config)#interface serial 0/0/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit
R1(config)#Now configure R2 for PPP
Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#username R1 password lp2m
R2(config)#interface serial 0/0/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0,
changed state to up
R2(config)#
HDLC
PPP command reference sheet
|
Router(config)#interface serial
0/0/0
|
Moves to interface configuration
mode
|
|
Router(config-if)#encapsulation hdlc
|
Sets the encapsulation mode for
this interface to HDLC
|
|
Router(config)#interface serial
0/0/0
|
Moves to interface configuration
mode
|
|
Router(config-if)#encapsulation
ppp
|
Changes encapsulation from default
HDLC to PPP
|
Tidak ada komentar:
Posting Komentar