Step 1 Enter a test username command that can only establish one connection:
Router(config)#username althea user-maxlinks 1 password settleback
Step 2 Configure AAA, name authentication, and PPP encapsulation on the interfaces that will be used as described in the following configuration example.
Step 3 Use the show running-config command to verify the configuration.
Step 4 Connect to the router using the connection-limited username.
Step 5 Attempt to open a second connection.
Step 6 Observe the failed PPP authentication相关配置
aaa new-model
aaa authorization network default local
enable secret saintstephen
enable password witharose
!
username sTephen user-maxlinks 5 password gardenhegoes
!
interface Serial0/0:23
no ip address
encapsulation ppp
dialer pool-member 1
ppp authentication chap
ppp multilink
!
interface Serial1/0
ip address 2.2.2.4 255.255.255.0
encapsulation ppp
dialer in-band
dialer map ip 2.2.2.13 name sTephen 12345
dialer-group 1
ppp authentication chap
!
interface Dialer0
ip address 1.1.1.4 255.255.255.0
encapsulation ppp
dialer remote-name sTephen
dialer string 23456
dialer pool 1
dialer-group 1
ppp authentication chap
ppp multilink
!
dialer-list 1 protocol ip permit