
外网配置
配置主机
先认证再捆绑
使用CHAP认证进行
RT1主验证 (采用简单的接口验证
[RT1]local-user rt2 class network
New local user added.
[RT1-luser-network-rt2]password simple rt2
[RT1-luser-network-rt2]service-type ppp
[RT1-luser-network-rt2]quit
[RT1]inter s1/0
[RT1-Serial1/0]ppp authentication-mode chap
[RT1-Serial1/0]inter s2/0
[RT1-Serial2/0]ppp authentication-mode chap
)
RT1配置完成后,RT2马上开启认证
[RT2]inter s1/0
[RT2-Serial1/0]ppp chap password simple rt2
[RT2-Serial1/0]dis inter s1/0
Serial1/0
Current state: UP
Line protocol state: UP
Description: Serial1/0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet protocol processing: Disabled
Link layer protocol: PPP
LCP: opened
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: 0 hours 42 minutes 4 seconds
Last clearing of counters: Never
此时接口处于open状态,所以我们需要重启接口进行验证
[RT2-Serial1/0]shut
[RT2-Serial1/0]undo shut
[RT2-Serial1/0]dis inter s1/0
Serial1/0
Current state: UP
Line protocol state: UP
Description: Serial1/0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet protocol processing: Disabled
Link layer protocol: PPP
LCP: opened
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: 0 hours 0 minutes 34 seconds
Last clearing of counters: Never
接口仍处于open状态则说明验证成功,进入接口S2/0验证
[RT2]inter s2/0