troubleshooting interfaces

in CCNA & CCENT
it is my understanding that if i issue the show interfaces command and recieve a "s0 is up, line protocol is down" that this is a clocking or framing issue, so to fix this problem, would the correct command for encapsulation just be "encapsulation [encapsulation type]" in interface configuration mode? Also, would this output mean it could be a keepalive issue, and would i fix that with "keepalive [keepalive time]" in interface configuration mode?
0
Comments
router(config-if)#encapsulation ppp
or
router(config-if)#frame-relay ietf
I doubt that it is a keepalive issue. Keepalives alives are sent every 10 seconds and after three with no response, the line protocol goes down.
Check it out and let me know how it goes.
El G Man