This article provides a configuration example of how to directly configure a pp0.xx interface over an Ethernet interface. This configuration template can help a customer to set up a BBE (Broadband Edge) environment.
Customer wishes to set up a broadband edge environment using a pp0.xx interface over Ethernet.
dynamic-profiles { pppoe-profile { interfaces { pp0 { unit "$junos-interface-unit" { ppp-options { pap; } pppoe-options { underlying-interface "$junos-underlying-interface"; server; } keepalives interval 3; family inet { unnumbered-address lo0.0; } } } } } } interfaces { ge-1/1/7 { unit 0 { family pppoe { dynamic-profile pppoe-profile; } } } lo0 { unit 0 { family inet { address 192.168.0.1/32; } } } } access { profile noradius-auth { authentication-order none; } address-assignment { pool pool1 { family inet { network 192.168.0.0/24; } } } }
lab@JMX240> show subscribers Interface IP Address/VLAN ID User Name LS:RI pp0.1073741849 192.168.0.2 [email protected] default:default lab@JMX240> show interfaces pp0.1073741849 Logical interface pp0.1073741849 (Index 325) (SNMP ifIndex 680) Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 1, Session AC name: MX240, Remote MAC address: 00:0e:c6:f0:11:f3, Underlying interface: ge-1/1/7.0 (Index 333) Bandwidth: 1000mbps Input packets : 113 Output packets: 104 Keepalive settings: Interval 3 seconds, Up-count 1, Down-count 3 LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Protocol inet, MTU: 1480 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Primary Local: 192.168.0.1