PPP
协议
离婚协议模板下载合伙人协议 下载渠道分销协议免费下载敬业协议下载授课协议下载
配置参数表
协协PPP协协配置表参数
协路所协位属参数制定者
服协端地址和协协协型客协端地址和协协协型
协协方式协协方式
命令格式和协协协明参数协例参数PPP协协基本配置(服协端 客协端)Router#show interface serial 0/0Router(config-if)#encapsulation ppp配置串口上用启PPP封装.
Router(config-if)# ip address addr mask配置串口的IP地址和子掩协网,若客协端
IP地址由协商协得将,可以不予配置.Router(config-if)#clock rate link-speed在DCE协协端接口上配置协路协协速率.可协
速率link-speed有1200,2400,
4800,9600,19200,38400,56000,64000,720
00,125000,128000,148000,250000,250000
,800000,1000000,1300000,2000000,40000
00
Router(config-if)#shutdown重接口以使启PPP基本配置生效.Router(config-if)#no shutdown
PPP地址协商配置(服协端)
Router(config-if)#peer default ip address addr配置协商分配协客协端的将IP地址.同协客协
端必协配置协商协取IP地址.
PPP地址协商配置(客协端)
Router(config-if)#ip address negotiated配置客协端采用协商协取IP地址.
PAP协协配置(服协端)
Router(config)#username usname password 0 添加用协usname到本地协协据协数.
pwd
Router(config-if)#ppp authentication pap在接口上用启PAP协协(主协协端).PAP协协配置(客协端)
Router(config-if)#ppp pap set-username 在接口上配置PAP协协据凭user-name usname password 0 pwd(被协协端),协保其在服协端协协据协中存确数
在.
CHAP协协配置(服协端)
Router(config)#username usname-s pwd 0 添加用协usname-s到本地协协据协数.pwd-s
Router(config-if)#ppp authentication chap在接口上用启CHAP协协(主协协端).Router(config-if)#ppp chap hostname usname-指定主协协端协送到被协协端的用协名susname-s,默协协送路由器的主机名将.
CHAP协协配置(客协端)
Router(config)#username usname-s password 添加用协据凭usname-s到本地协协据协数.0 pwd-s
Router(config-if)#ppp chap password 0 pwd-x指定被协协协的默协密协pwd-x,在有它将没
配置用协据或据协中无指定据协做协凭数凭
凭据使用.
Router(config-if)#ppp chap hostname usname-指定被协协端协送到主协协端的用协名cusname-c,默协协送路由器的主机名将.PPP协协配置(Stac协协) (服协端 客协端)
Router(config-if)#compress {predictor|stac}端同协配置两,用启Stac协协,prediction方
式消耗大量存内,而stac方式协消耗大会
量CPU协协.
PPP协协配置(TCP协协协) (服协端 客协端)
Router(config-if)#ip tcp header-compression用启TCP协协协,适合于低速协路.
排协协协:Router#debug ppp packet制表:刘盼