I have a pppoe profile applied to some vlans interfaces.
set dynamic-profiles PPPOE-PROFILE interfaces pp0 unit "$junos-interface-unit" family inet unnumbered-address lo0.0
set dynamic-profiles PPPOE-PROFILE interfaces pp0 unit "$junos-interface-unit" pppoe-options server
set dynamic-profiles PPPOE-PROFILE interfaces pp0 unit "$junos-interface-unit" ppp-options chap
set dynamic-profiles PPPOE-PROFILE interfaces pp0 unit "$junos-interface-unit" ppp-options pap
set interfaces xe-0/1/1 flexible-vlan-tagging
set interfaces xe-0/1/1 unit 10 encapsulation ppp-over-ether
set interfaces xe-0/1/1 unit 10 vlan-id 10
set interfaces xe-0/1/1 unit 10 pppoe-underlying-options duplicate-protection
set interfaces xe-0/1/1 unit 10 pppoe-underlying-options dynamic-profile PPPOE-PROFILE
set interfaces xe-0/1/1 unit 11 encapsulation ppp-over-ether
set interfaces xe-0/1/1 unit 11 vlan-id 11
set interfaces xe-0/1/1 unit 11 pppoe-underlying-options duplicate-protection
set interfaces xe-0/1/1 unit 11 pppoe-underlying-options dynamic-profile PPPOE-PROFILE
set interfaces xe-0/1/1 unit 100 encapsulation ppp-over-ether
set interfaces xe-0/1/1 unit 100 vlan-id 100
set interfaces xe-0/1/1 unit 100 pppoe-underlying-options duplicate-protection
set interfaces xe-0/1/1 unit 100 pppoe-underlying-options dynamic-profile PPPOE-PROFILE
I also need inet address together with pppoe service on some shared vlans to manage the remote device.
So I have tried to apply the following configuration:
set interfaces xe-0/1/1 unit 100 family inet address 10.0.0.1/30
and got the error:
[edit interfaces xe-0/1/1 unit 100]
'family'
Can't configure protocol family with encapsulation ppp-over-ether
error: configuration check-out failed: (statements constraint check failed)
Is there any way to solve the problem?