The following examples show different ways to configure profiles.
- host1(config)#profile ProfileA
- host1(config-profile)#ip mtu 1024
- host1(config-profile)#exit
- host1(config)#profile ProfileB
- host1(config-profile)#ip mtu 512
- host1(config-profile)#ppp authentication chap
- host1(config-profile)#ppp keepalive 120
- host1(config-profile)#exit
- host1(config)#profile ProfileC
- host1(config-profile)#ip mtu 1400
- host1(config-profile)#ppp authentication chap
- host1(config-profile)#ppp keepalive 60
- host1(config-profile)#pppoe sessions 64
- host1(config-profile)#exit
- host1(config)#interface atm 4/0.1
- host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
- host1(config-subif)#profile ip ProfileA
- host1(config-subif)#profile ppp ProfileB
- host1(config-subif)#profile pppoe ProfileC
- host1(config-subif)#subscriber ip user atm1
domain isp1 password atm1pw
- host1(config-subif)#auto-configure ip
- host1(config-subif)#auto-configure ppp
- host1(config-subif)#auto-configure pppoe
- host1(config-subif)#exit
- host1(config)#interface atm 4/0.2
- host1(config-subif)#atm pvc 200 0 200 aal5autoconfig
- host1(config-subif)#profile any ProfileC
- host1(config-subif)#subscriber ip user atm2
domain isp2 password atm2pw
- host1(config-subif)#auto-configure ip
- host1(config-subif)#auto-configure ppp
- host1(config-subif)#auto-configure pppoe
- host1(config-subif)#exit
- host1(config)#interface atm 4/0.3
- host1(config-subif)#atm pvc 300 0 300 aal5autoconfig
- host1(config-subif)#profile any ProfileC
- host1(config-subif)#subscriber ip user atm2
domain isp3 password atm3pw
- host1(config-subif)#auto-configure ip lockout-time
3600 7200
- host1(config-subif)#auto-configure ppp
- host1(config-subif)#auto-configure pppoe
- host1(config-subif)#exit
- host1(config)#interface atm 4/0.3
- host1(config-subif)#atm pvc 300 0 300 aal5autoconfig
- host1(config-subif)#profile bridgedEthernet
ProfileA
- host1(config-subif)#subscriber bridgedEthernet
user atm3 domain isp1
password
fjdkei
- host1(config-subif)#auto-configure bridgedEthernet
lockout-time 3600 21600