# Put whatever access-lists, static routes, whatever # here. # If you leave this blank, the user will have NO IPX # access-lists (not even the ones installed prior to # this)! } } #--------------------- “access-profile replace” user ---------------------------- # # With the 'replace' option, ALL old configuration is removed and ALL new # configuration is installed. # # One caveat: access-profile checks the new configuration for address-pool and # address AV pairs. As addresses cannot be renegotiated at this point, the # command will fail (and complain) when it encounters such an AV pair. # Such AV pairs are considered to be “invalid” for this context.
#------------------------------------------------------------------------------- user = user_replace { login = cleartex t welcome chap = cleartext “welcome” service = exec { # This is the autocommand that executes when user_replace logs in. autocmd = “access-profile replace” } service = ppp protocol = ip { # Put whatever access-lists, static routes, whatever # here. # If you leave this blank, the user will have NO IP # access-lists (not even the ones installed prior to # this)!
inacl#3=”permit tcp any any” inacl#4=”permit icmp any any” route#2=”10.10.0.0 255.255.0.0" route#3=”10.11.0.0 255.255.0.0" route#4=”10.12.0.0 255.255.0.0" } service = ppp protocol = ipx { # put whatever access-lists, static routes, whatever # here. # If you leave this blank, the user will have NO IPX # access-lists (not even the ones installed prior to # this)! } } Example: Automated Double Authentication This example shows a complete configuration file with automated double authentication configured. The configuration commands that apply to automated double authentication are preceded by descriptions with a double asterisk (**). Current configuration: ! Configuring Authentication Example:
Automated Double Authentication Configuring Authentication 45