close

PPP雙向驗證

 ScreenHunter_12 Mar. 07 17.54  

Router-2也啟動PAP認證

Router-2(config)#username user2 password pass2

Router-2(config)#int s 1/0

Router-2(config-if)#ppp authentication pap

Router-2(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to dow

建立帳號密碼

啟動pap驗證模式

啟動pap驗證模式之後可以發現line Protocol轉變

Router-1設定發送帳號密碼要求建立連線

Router-1(config)#int s 1/0

Router-1(config-if)#ppp pap sent-username user2 password pass2

Router-1(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

提出連線要求的帳號密碼

帳號密碼設定後如果通過驗證,將立即重新建立連線,Line Protocol狀態轉變為up

測試兩端router能否互ping

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 林作倉 的頭像
    林作倉

    林作倉

    林作倉 發表在 痞客邦 留言(0) 人氣()