PPP PROTOCOL

 


ppp protocoal


Router>enable

Router#

Router#configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#interface Serial0/0/0

Router(config-if)#ip address 192.168.10.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#ip address 192.168.10.1 255.255.255.0

Router(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up


Router(config-if)#ex

Router(config)#hostname R1

R1(config)#USErname R2 PASsword agrawal

R1(config)#interface serial 0/0/0

R1(config-if)#encapsulation ppp

R1(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down


R1(config-if)#ppp authentication chap 

R1(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up


R1(config-if)#

R1(config-if)#^Z

R1#

%SYS-5-CONFIG_I: Configured from console by console


R1#ping 192.168.10.2


Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/39 ms


Router>enable

Router#

Router#configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#interface Serial0/0/0

Router(config-if)#ip address 192.168.10.2 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up


Router(config-if)#EX


Router(config)#HOstname R2

R2(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down


R2(config)#

R2(config)#username R1 password agrawal 

R2(config)#interface s0/0/0

R2(config-if)#encapsulation ppp

R2(config-if)#ppp authentication chap 

R2(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up







Follow me on Instagram 

Join me on LinkedIn

Follow me on FB

Subscribe the channel 

Subscribe the channel




Comments

Popular Posts