Configuring PPP on Cisco Routers
Configuring PPP encapsulation on an interface is really pretty straightforward. To
configure it from the CLI, use these simple router commands:
Router#
config t
Router(config)#
int s0
Router(config-if)#
encapsulation ppp
Router(config-if)#
^Z
Of course, PPP encapsulation has to be enabled on both interfaces connected to a serial
line in order to work, and there are several additional configuration options available to
you via the
ppp ?
command.
Configuring PPP Authentication
After you configure your serial interface to support PPP encapsulation, you can then
configure authentication using PPP between routers. But first, you must set the hostname
of the router if it hasn’t been set already. After that, you set the username and password for
the remote router that will be connecting to your router, like this:
Router#
Do'stlaringiz bilan baham: |