Para ONUS modelo Rev1:
Substituir as partes destacadas em vermelho:
vlan 200 -->> modifique pela VLAN utilizada
ppp user teste -->> Usuário PPPoE
ppp password teste -->> Senha PPPoE
Script
conf t
!
nat-rule masquerade ip any any change-source-to interface-address
!
no ip dns relay
!
vlan database
vlan 200
!
interface vlan200
pppoe 1
no shutdown
!
interface pppoe1
ip nat masquerade out
ip address negotiated
ppp authentication chap
ppp ipcp default-route
ppp password teste
ppp user teste
no shutdown
!
end
copy running-config startup-config
Para ONUS modelo Rev2 e rev3:
Substituir as partes destacadas em vermelho:
interface virtual-ethernet0/0/0.101 -->> modifique pela VLAN utilizada
ppp user teste -->> Usuário PPPoE
ppp password teste -->> Senha PPPoE
Script
conf t
!
nat-rule masquerade ip any any change-source-to interface-address
!
interface virtual-ethernet0/0/0.101
pppoe 1
no shutdown
!
interface pppoe1
ip nat masquerade out
ip address negotiated
ppp authentication pap
ppp ipcp default-route
ppp ipcp dns-request
ppp user teste
ppp password teste
no shutdown
!
end
copy r s