Subscriber sub-interface configuration over an ATM interface requires a static configuration. Dynamic ATM sub-interface creation is not supported. Here are two configuration examples, PPPoA and PPPoEoA. The latter example shows how to incorporate dynamic profiles for use with dynamic PPP ifl creation.
An ATM sub-interface can only be configured statically, dynamic sub-interfaces are not supported. The dynamic profiles can be used for PPPoEoA ifl creation only.
FPC 8 REV 38 750-031090 CABJ8677 MPC Type 2 3D EQ CPU REV 08 711-030884 CABH2118 MPC PMB 2G MIC 1 REV 22 750-036132 CABB5925 2xOC12/8xOC3 CC-CE PIC 2 BUILTIN BUILTIN 2xOC12/8xOC3 CC-CE Xcvr 1 REV 01 740-011782 PC31BDH SFP-SX QXM 0 REV 06 711-028408 CABL3028 MPC QXM QXM 1 REV 06 711-028408 CABL3027 MPC QXM\
jtac@ERX-MX960-II-RE0# show interfaces at-8/2/1 clocking internal; atm-options { vpi 1; } unit 1 { encapsulation atm-ppp-vc-mux; vci 1.35; ppp-options { chap; pap; } keepalives interval 30; family inet { unnumbered-address lo0.0; } }
jtac@ERX-MX960-II-RE0# run show subscribers Interface IP Address/VLAN ID User Name LS:RI at-8/2/1.1 206.47.253.3 test default:default jtac@ERX-MX960-II-RE0# run show subscribers user-name test extensive Type: PPP User Name: test IP Address: 206.47.253.3 IP Netmask: 255.255.255.255 Logical System: default Routing Instance: default Interface: at-8/2/1.1 Interface type: Static Underlying Interface: at-8/2/1.1 State: Active Radius Accounting ID: 585 Session ID: 585 ATM VPI: 1 ATM VCI: 35 Login Time: 2016-06-23 23:41:01 IST IP Address Pool: regular
jtac@ERX-MX960-II-RE0# show interfaces at-1/2/0 unit 10 encapsulation ether-over-atm-llc; vci 8.35; family inet { address 10.0.0.1/24; } family pppoe { dynamic-profile pppoe-dynamic-prof; service-name-table Table1; } jtac@ERX-MX960-II-RE0# show protocols pppoe service-name-tables Table1 service any { terminate; } jtac@ERX-MX960-II-RE0# show dynamic-profiles pppoe-dynamic-prof routing-instances { "$junos-routing-instance" { interface "$junos-interface-name"; } } interfaces { pp0 { unit "$junos-interface-unit" { ppp-options { chap; pap; } pppoe-options { underlying-interface "$junos-underlying-interface"; server; } keepalives interval 30; family inet { unnumbered-address "$junos-loopback-interface"; } family inet6 { address $junos-ipv6-address; unnumbered-address "$junos-loopback-interface"; } } } } protocols { router-advertisement { interface "$junos-interface-name" { prefix $junos-ipv6-ndra-prefix; } } }
jtac@ERX-MX960-II-RE0# run show subscribers Interface IP Address/VLAN ID User Name LS:RI pp0.1073741824 40.0.0.1 [email protected] default:default * 2001::/64 jtac@ERX-MX960-II-RE0# run show subscribers extensive Type: PPPoE User Name: [email protected] IP Address: 40.0.0.1 IP Netmask: 255.255.255.0 IPv6 User Prefix: 2001::/64 Logical System: default Routing Instance: default Interface: pp0.1073741824 Interface type: Dynamic Underlying Interface: at-1/2/0.10 Dynamic Profile Name: pppoe-dynamic-prof MAC Address: 00:00:64:01:01:02 State: Active Radius Accounting ID: 1 Session ID: 1 ATM VPI: 8 ATM VCI: 35 Login Time: 2015-06-25 00:16:28 PDT IP Address Pool: pool1 IPv6 Address Pool: pool2 IPv6 Interface Address: 2001::1/64 IPv6 Framed Interface Id: 200:64ff:fe01:102 Accounting interval: 600 Dynamic configuration: junos-ipv6-ndra-prefix: 2001::/64 jtac@ERX-MX960-II-RE0# run show pppoe service-name-tables Table1 Service Name Table: Table1 Service Name: <any> , Action: Terminate Max Sessions: 256000 Active Sessions: 1