Example: Configuring the VDSL2 Interface on SRX Series Services Gateways (CLI)
This topic provides information on the minimum steps required to configure a VDSL2 interface on SRX Series devices. The configuration example uses an SRX210 device; the information is also applicable to the SRX240 device.
This topic includes the following sections:
Requirements
Before you configure the VDSL2 interface, be sure you have completed the following tasks:
- Install JUNOS Software Release 10.1 or later for the SRX Series devices.
- Set up and perform initial configuration on the SRX Series device.
- Install the VDSL2 Mini-PIM on the SRX210 device chassis.
- Connect the SRX210 device to a DSLAM.
Overview
The SRX210 and SRX240 devices support the VDSL2 Mini-Physical Interface Module (Mini-PIM) (Annex A). The VDSL2 Mini-PIM carries the Ethernet backplane. When the Mini-PIM is plugged into the chassis, the Mini-PIM connects to one of the ports of the baseboard switch. The VDSL2 Mini-PIM on the SRX Series devices provides ADSL backward compatibility.
Figure 30 shows a typical SRX Series Services Gateway VDSL2 Mini-PIM network connection.
Figure 30: SRX Series Services Gateway VDSL2 Mini-PIM End-to-End Deployment Scenario
Before You Begin
Note the following before you start configuration:
- On the VDSL2 Mini-PIMs, by default the pt-1/0/0 interface is created when there is no configuration already created
for either pt-1/0/0 or at-1/0/0 interface. You can
switch to ADSL mode by just configuring at-1/0/0. If the
configurations are already created for pt-1/0/0 or at-1/0/0, then you need to deactivate pt-1/0/0 before you create at-1/0/0 or deactivate at-1/0/0 to create pt-1/0/0.
Use the following commands to deactivate pt-1/0/0 or at-1/0/0:
- deactivate interface pt-1/0/0
- deactivate interface at-1/0/0
- Before you begin a new configuration, make sure that you
have deleted the previous configurations on pt-1/0/0 and pp0.
Use following command to delete the old configuration:
- delete interface pt-1/0/0
- delete interface pp0
VDSL2 Interface Configuration
This section provides information about the following configurations:
- VDSL2 Mini-PIM Default Configuration and Verification
- Configuring the VDSL2 Interface for End-to-End Data Path
- Configuring PPPoE on the pt–x/x/x Interface with a Static IP Address
- Configuring PPPoE on the pt-x/x/x Interface with a Static IP Address (CHAP Authentication)
- Configuring PPPoE on the pt-x/x/x Interface with Unnumbered IP (PAP Authentication)
- Configuring PPPoE on the pt-x/x/x Interface with Unnumbered IP (CHAP Authentication)
- Configuring PPPoE on the pt-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configuring PPPoE on the pt-x/x/x Interface with Negotiated IP (CHAP Authentication)
VDSL2 Mini-PIM Default Configuration and Verification
- Verify the FPC status by entering
the show chassis fpc command. The output should display FPC
status as online.
user@host# run show chassis fpc Temp CPU Utilization (%) Memory Utilization (%) Slot State (C) Total Interrupt DRAM (MB) Heap Buffer 0 Online -------------------- CPU less FPC -------------------- 1 Online -------------------- CPU less FPC --------------------
Note: The VDSL2 Mini-PIM is installed in the first slot of the SRX210 device chassis; therefore the FPC used here is fpc 1. For SRX240 devices, the FPC used wil be fpc 1, fpc 2, fpc 3, or fpc 4.
- Enter run show interface pt-1/0/0 and
verify the following information in the command output:
- Status of interface pt-1/0/0 is displayed as physical link is up.
- Modem status is displayed as Showtime (Profile-17a).
- Time in seconds during which the interface stayed up is displayed as Seconds in Showtime.
- VDSL profile is displayed as Auto Annex A.
Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 524, Generation: 149 Type: PTM, Link-level type: Ethernet, MTU: 1496, VDSL mode, Speed: 45440kbps Speed: VDSL2 Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-18 11:56:50 PDT (12:32:49 ago) Statistics last cleared: 2009-10-19 00:29:37 PDT (00:00:02 ago) Traffic statistics: Input bytes : 22438962 97070256 bps Output bytes : 10866024 43334088 bps Input packets: 15141 8187 pps Output packets: 7332 3655 pps Input errors: Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 6759 6760 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 VDSL alarms : None VDSL defects : None VDSL media: Seconds Count State LOF 0 0 OK LOS 0 0 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK VDSL status: Modem status : Showtime (Profile-17a) VDSL profile : Profile-17a Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 45171 VDSL Chipset Information: VTU-R VTU-C Vendor Country : 0xb5 0xb5 Vendor ID : BDCM BDCM Vendor Specific: 0x9385 0x9385 VDSL Statistics: VTU-R VTU-C Attenuation (dB) : 0.0 0.0 Capacity used (%) : 0 0 Noise margin (dB) : 20.0 20.0 Output power (dBm) : 6.0 12.0 Interleave Fast Interleave Fast Bit rate (kbps) : 100004 0 45440 0 CRC : 0 0 0 0 FEC : 0 0 0 0 HEC : 0 0 0 0 Packet Forwarding Engine configuration: Destination slot: 0 (0x00) CoS information: Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 43168000 95 0 low none 3 network-control 5 2272000 5 0 low none Logical interface pt-1/0/0.0 (Index 71) (SNMP ifIndex 525) (Generation 136) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 23789064 Output bytes : 10866024 Input packets: 16052 Output packets: 7332 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Transit statistics: Input bytes : 23789064 97070256 bps Output bytes : 10866024 43334088 bps Input packets: 16052 8187 pps Output packets: 7332 3655 pps Security: Zone: Null Flow Statistics : Flow Input statistics : Self packets : 0 ICMP packets : 0 VPN packets : 0 Multicast packets : 0 Bytes permitted by policy : 0 Connections established : 0 Flow Output statistics: Multicast packets : 0 Bytes permitted by policy : 0 Flow error statistics (Packets dropped due to): Address spoofing: 0 Authentication failed: 0 Incoming NAT errors: 0 Invalid zone received packet: 0 Multiple user authentications: 0 Multiple incoming NAT: 0 No parent for a gate: 0 No one interested in self packets: 0 No minor session: 0 No more sessions: 0 No NAT gate: 0 No route present: 0 No SA for incoming SPI: 0 No tunnel found: 0 No session for a gate: 0 No zone or NULL zone binding 0 Policy denied: 0 Security association not active: 0 TCP sequence number out of window: 0 Syn-attack protection: 0 User authentication errors: 0 Protocol inet, MTU: 1482, Generation: 169, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.10/24, Local: 10.10.10.1, Broadcast: 10.10.10.255, Generation: 158
Configuring the VDSL2 Interface for End-to-End Data Path
The following steps provide the basic configuration details for the VDSL2 interface on an SRX210 device for end-to-end data path.
- Configure the VDSL2 interface with the VDSL profile
and the Layer-3 configuration.
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 family inet address 11.11.11.1/24 [edit] user@host# commit commit complete
- Verify interface status by using theshow interface
terse command and test end-to-end data path connectivity by sending
the ping packets to the remote end IP Address.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up inet 11.11.11.1/24 [edit] user@host# run ping 11.11.11.2 count 1000 rapid PING 11.11.11.2 (11.11.11.2): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - 11.11.11.2 ping statistics --- 1000 packets transmitted, 1000 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.109/17.711/28.591/2.026 ms
- Verify the VDSL2 interface configuration and check
the traffic statistics.
user@host# run show interfaces pt-1/0/0 extensive Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 524, Generation: 197 Type: PTM, Link-level type: Ethernet, MTU: 1496, VDSL mode, Speed: 45440kbps Speed: VDSL2 Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 00:36:29 PDT (00:12:03 ago) Statistics last cleared: 2009-10-28 00:47:56 PDT (00:00:36 ago) Traffic statistics: Input bytes : 84000 0 bps Output bytes : 138000 0 bps Input packets: 1000 0 pps Output packets: 1000 0 pps Input errors: Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 1000 1000 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 VDSL alarms : None VDSL defects : None VDSL media: Seconds Count State LOF 0 0 OK LOS 0 0 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK VDSL status: Modem status : Showtime (Profile-17a) VDSL profile : Profile-17a Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 723 VDSL Chipset Information: VTU-R VTU-C Vendor Country : 0xb5 0xb5 Vendor ID : BDCM BDCM Vendor Specific: 0x9385 0x9385 VDSL Statistics: VTU-R VTU-C Attenuation (dB) : 0.0 0.0 Capacity used (%) : 0 0 Noise margin (dB) : 16.0 20.0 Output power (dBm) : 5.0 13.0 Interleave Fast Interleave Fast Bit rate (kbps) : 100004 0 45440 0 CRC : 0 0 0 0 FEC : 0 0 0 0 HEC : 0 0 0 0 Packet Forwarding Engine configuration: Destination slot: 0 (0x00) CoS information: Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 43168000 95 0 low none 3 network-control 5 2272000 5 0 low none Logical interface pt-1/0/0.0 (Index 72) (SNMP ifIndex 521) (Generation 158) Flags: SNMP-Traps Encapsulation: ENET2 Traffic statistics: Input bytes : 84000 Output bytes : 98000 Input packets: 1000 Output packets: 1000 Local statistics: Input bytes : 84000 Output bytes : 98000 Input packets: 1000 Output packets: 1000 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Security: Zone: Null Flow Statistics : Flow Input statistics : Self packets : 0 ICMP packets : 0 VPN packets : 0 Multicast packets : 0 Bytes permitted by policy : 0 Connections established : 0 Flow Output statistics: Multicast packets : 0 Bytes permitted by policy : 0 Flow error statistics (Packets dropped due to): Address spoofing: 0 Authentication failed: 0 Incoming NAT errors: 0 Invalid zone received packet: 0 Multiple user authentications: 0 Multiple incoming NAT: 0 No parent for a gate: 0 No one interested in self packets: 0 No minor session: 0 No more sessions: 0 No NAT gate: 0 No route present: 0 No SA for incoming SPI: 0 No tunnel found: 0 No session for a gate: 0 No zone or NULL zone binding 0 Policy denied: 0 Security association not active: 0 TCP sequence number out of window: 0 Syn-attack protection: 0 User authentication errors: 0 Protocol inet, MTU: 1482, Generation: 169, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 11.11.11/24, Local: 11.11.11.1, Broadcast: 11.11.11.255, Generation: 189
Configuring PPPoE on the pt–x/x/x Interface with a Static IP Address
- Configure the VDSL2 interface on the SRX210
device.
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-password india [edit] user@host# set interfaces pp0 unit 0 ppp-options pap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24 [edit] user@host# set access profile pap_prof authentication-order password [edit] user@host# set access profile pap_prof client cuttack pap-password india [edit] user@host# commit commit complete
- Verify the interface output.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 71) (SNMP ifIndex 522) Flags: Hardware-Down Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionDown, Session ID: None, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 57 Output packets: 56 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 22 (00:00:40 ago), Output: 25 (00:00:04 ago) LCP state: Down NCP state: inet: Down, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1492 Flags: Protocol-Down Addresses, Flags: Dest-route-down Is-Preferred Is-Primary Destination: 10.1.1/24, Local: 10.1.1.6
- Verify the end-to-end data path on the interface.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.6/24 [edit] user@host# run ping 10.1.1.1 count 100 rapid PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.669/15.649/21.655/1.740 ms
Configuring PPPoE on the pt-x/x/x Interface with a Static IP Address (CHAP Authentication)
- Configure the VDSL interface on the SRX210
device.
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india [edit] user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky [edit] user@host# set interfaces pp0 unit 0 ppp-options chap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24 [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 31, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 12 Output packets: 10 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 1 (00:00:08 ago), Output: 0 (never) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1/24, Local: 10.1.1.6
- Verify the interface and check end-to-end data
path connectivity.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.6/24 [edit] user@host# run ping 10.1.1.1 count 100 rapid PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.608/15.466/25.939/1.779 ms
Configuring PPPoE on the pt-x/x/x Interface with Unnumbered IP (PAP Authentication)
- Configure the VDSL2 interface on the SRX210
device:
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32 [edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-password india [edit] user@host# set interfaces pp0 unit 0 ppp-options pap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 [edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination 10.1.1.1 [edit] user@host# set access profile pap_prof authentication-order password [edit] user@host# set access profile pap_prof client cuttack pap-password india [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 72) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 33, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 22 Output packets: 20 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 1 (00:00:08 ago), Output: 0 (never) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1.1, Local: 10.1.1.24
- Verify the end-to-end data path testing.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.24 --> 10.1.1.1 [edit] user@host# run ping 10.1.1.1 count 100 rapid PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.584/15.503/21.204/1.528 ms
Configuring PPPoE on the pt-x/x/x Interface with Unnumbered IP (CHAP Authentication)
- Configure the VDSL2 interface on the SRX210
device:
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32 [edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india [edit] user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky [edit] user@host# set interfaces pp0 unit 0 ppp-options chap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 [edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination 10.1.1.1 [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 35, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 25 Output packets: 22 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 2 (00:00:10 ago), Output: 2 (00:00:02 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1.1, Local: 10.1.1.24
- Verify the end-to-end data path testing on the
PPPOE interface.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.24 --> 10.1.1.1 [edit] user@host# run ping 10.1.1.1 count 100 rapid PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.585/16.025/22.354/2.019 ms
Configuring PPPoE on the pt-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configure the VDSL2 interface on the SRX210
device.
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile my_prf [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-name purple [edit] user@host# set interfaces pp0 unit 0 ppp-options pap local-password Embe1mpls [edit] user@host# set interfaces pp0 unit 0 ppp-options pap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet negotiate-address [edit] user@host# set access profile my_prf authentication-order password [edit] user@host# set access-profile my_prf [edit] user@host# commit commit complete
- Verify the PPPoE interface status.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 72) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 4, Session AC name: belur, Remote MAC address: 00:90:1a:43:18:d1, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 18 Output packets: 18 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 0 (never), Output: 11 (00:00:01 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Security: Zone: Null Protocol inet, MTU: 1474 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.11
- Verify the end-to-end data path connectivity.
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 12.12.12.11 --> 12.12.12.1 [edit] user@host# run ping 12.12.12.1 count 100 rapid PING 12.12.12.1 (12.12.12.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 12.12.12.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.223/17.692/24.359/2.292 ms
Configuring PPPoE on the pt-x/x/x Interface with Negotiated IP (CHAP Authentication)
- Configure the VDSL2 interface on the SRX210
device.
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a [edit] user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether [edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret Embe1mpls [edit] user@host# set interfaces pp0 unit 0 ppp-options chap local-name purple [edit] user@host# set interfaces pp0 unit 0 ppp-options chap passive [edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 [edit] user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 [edit] user@host# set interfaces pp0 unit 0 pppoe-options client [edit] user@host# set interfaces pp0 unit 0 family inet negotiate-address user@host# commit
- Verifying the interface status.
user@host# run show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 8, Session AC name: belur, Remote MAC address: 00:90:1a:43:18:d1, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 12 Output packets: 11 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 0 (never), Output: 4 (00:00:03 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1474 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.12
- Verify the end-to-end data path connectivity:
user@host# run show interfaces pt-1/0/0 terse Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 12.12.12.12 --> 12.12.12.1 [edit] user@host# run ping 12.12.12.1 count 100 rapid PING 12.12.12.1 (12.12.12.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 12.12.12.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.168/17.452/23.299/2.016 ms