Router R1 Configuration

 

R1(config)#username R2 password <chappassword>

 

R1(config)#int f 0/0 (Configure VLAN1 and VLAN number)

R1(config)#int f 0/0.1

R1(config-subif)#encapsulation dot1q 1 native

R1(config-subif)#ip address <ip addr> <subnet mask>

 

R1(config)#int f 0/0.2

R1(config-subif)#encapsulation dot1q <vlan number>

R1(config-subif)#ip address <ip addr> <subnet mask>

 

R1(config)#int s0/0

R1(config-if)#encapsulation ppp

R1(config-if)#ppp authentication [chap | pap]

R1(config-if)#ppp compress [stacker | Predictor]

R1(config-if)#ppp quality <1 100>

R1(config-if)#multilink

R1(config-if)#ip address <ip addr> <subnet mask>

 

R1(config)#Router RIP

R1(config-router)#network <ip addr> (IP of R2 network)

R1(config-router)#network <ip addr> (IP of R3 network)

 

R1(config)ip route 0.0.0.0 0.0.0.0 <ip addr> (IP of next hop to outside world, eg R2)

 

 

Router show and debug commands

show run

show controllers

show controllers s0/0

show interfaces s0/0

debug ppp [ authentication | packet | negotiation | error | chap | tasks ]