! aaa new-model aaa authentication login default tacacs+ enable aaa authentication ppp default if-needed tacacs+ aaa authorization exec tacacs+ if-authenticated aaa authorization commands 1 tacacs+ if-authenticated none aaa authorization commands 15 tacacs+ if-authenticated none aaa authorization network tacacs+ local enable password ww ! chat-script default "" at&fls0=1&h1&r2&c1&d2&b1e0q2 OK ! interface Ethernet0 ip address 10.6.1.200 255.255.255.0 ! ! chap/ppp authentication user: interface Async1 ip unnumbered Ethernet0 encapsulation ppp async mode dedicated peer default ip address pool async no cdp enable ppp authentication chap ! ! pap/ppp authentication user: interface Async2 ip unnumbered Ethernet0 encapsulation ppp async mode dedicated peer default ip address pool async no cdp enable ppp authentication pap ! ! authentication user with autocommand ppp: interface Async3 ip unnumbered Ethernet0 encapsulation ppp async mode interactive peer default ip address pool async no cdp enable ! ip local pool async 10.6.100.101 10.6.100.103 tacacs-server host 171.68.118.101 tacacs-server timeout 10 tacacs-server key cisco ! line 1 session-timeout 20 exec-timeout 120 0 autoselect during-login script startup default script reset default modem Dialin transport input all stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware ! line 2 session-timeout 20 exec-timeout 120 0 autoselect during-login script startup default script reset default modem Dialin transport input all stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware ! line 3 session-timeout 20 exec-timeout 120 0 autoselect during-login autoselect ppp script startup default script reset default modem Dialin autocommand ppp transport input all stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware ! end
# Handshake with router--NAS needs 'tacacs-server key cisco':
key = "cisco"
! User who can telnet in to configure:
user = admin {
default service = permit
login = cleartext "admin"
}
# ppp/chap authentication line 1 - password must be cleartext per chap spec
user = chapuser {
chap = cleartext "chapuser"
service = ppp protocol = ip {
default attribute = permit
}
}
# ppp/pap authentication line 2
user = papuser {
login = file /etc/passwd
service = ppp protocol = ip {
default attribute = permit
}
}
# authentication user line 3
user = authauto {
login = file /etc/passwd
service = ppp protocol = ip {
default attribute = permit
}
}
On the Configure/Options properties page, nothing should be
checked except the box under Status Control.
Click OK, then click Next, enter the Telephone Number of the destination, click Next again, then Finish.
Once the new connection icon appears, right-click on it and click
Properties, then Server Type.
tac_plus_executable -C config.file -d 16 tail -f /var/tmp/tac_plus.logOn router:
term mon debug ppp negotiation debug ppp packet debug ppp chap debug aaa authentication debug aaa authorization
Copyright 1997 Cisco Systems, Inc.