PPP Command List
PPP configuration is often done in connection with configuring other services. To configure PPP on the router, complete the following tasks:
- Set PPP encapsulation on the interface. You must set the encapsulation method to PPP before you can configure authentication or compression.
- Select CHAP and/or PAP as the authentication method (optional).
- If authentication is used, configure username/password combinations.
PPP options are configured in interface mode for a specific interface.
Use . . . | To . . . |
Router(config-if)#encapsulation ppp | Set the encapsulation type to PPP |
Router(config-if)#ppp authentication <chap|pap> Router(config-if)#ppp authentication chap pap | Set the authentication method(s) |
Router(config-if)#ppp compression | Set compression options |
Router(config-if)#ppp chap|pap password <password> | Set the password used with CHAP or PAP for an unknown host |
Router(config)#username <hostname> password <password> | Set the username and password for the local router |
Router(config)#bandwidth <value> | Set a bandwidth value for an interface |
Router#show interface | View encapsulation and PPP information on an interface |
To hide the CHAP password from view in the configuration file, use the service password-encryption command from the global configuration mode.
Example
The following commands configure the SFO router to use PPP and enable it to connect to the LAX router using PAP authentication.
SFO(config)#hostname LAX password cisco5
SFO(config)#int s0/1/0
SFO(config-if)#encap ppp
SFO(config-if)#ppp auth pap
Tidak ada komentar:
Posting Komentar