Example: Configuring the ADSL Interface on SRX Series Services Gateway (CLI)
This topic includes the following sections:
Requirements
Before you configure the ADSL2 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.
- SRX210 device is connected to a DSLAM that supports VDSL2 to ADSL fallback.
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. The VDSL2 uses EFM or PTM mode as first mile and is represented as pt-x/x/x. In case of ADSL fallback mode, the VDSL2 Mini-PIM operates on the ATM encapsulation interface as first mile and is represented as at-x/x/x.
ADSL Interface Configuration
This section provides information about the following configurations:
- Configuring the ADSL Interface for End-to-End Data Path
- Configuring PPPoA on the at-x/x/x Interface with Negotiated IP (CHAP Authentication)
- Configuring PPPoA on the at-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configuring PPPoA on the at-x/x/x Interface with Static IP (CHAP Authentication)
- Configuring PPPoA on the at-x/x/x Interface with Static IP (PAP Authentication)
- Configuring PPPoA on the at-x/x/x Interface with Unnumbered IP (PAP Authentication)
- Configuring PPPoA on the at-x/x/x Interface with Unnumbered IP (CHAP Authentication)
- Configuring PPPoE over ATM on the at-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configuring PPPoE over ATM on the at-x/x/x Interface with Negotiated IP (CHAP Authentication)
Configuring the ADSL Interface for End-to-End Data Path
The following steps provide the basic configuration details for the ADSL interface on an SRX210 device for end-to-end data path for "second mile" ATM.
- Configure the ADSL interface:
user@host# delete interfaces at-1/0/0 [edit] user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 dsl-options operating-mode itu-dmt [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-snap [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 family inet address 10.10.10.1/24 [edit] user@host# commit commit complete [edit] user@host#
- Verify interface status by using the show interface
terse command and test end-to-end data path connectivity by sending
the ping packets to remote end IP address.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 10.10.10.1/24 at-1/0/0.32767 up up [edit] user@host# run ping 10.10.10.2 count 1000 rapid PING 10.10.10.2 (10.10.10.2): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.10.10.2 ping statistics --- 1000 packets transmitted, 1000 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.141/9.356/58.347/3.940 ms [edit] user@host#
- Verify the ADSL interface and traffic statistics.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 02:14:45 PDT (00:09:54 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Itu-dmt Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 596 Logical interface at-1/0/0.0 (Index 69) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-SNAP Input packets : 1000 Output packets: 1000 Security: Zone: Null Protocol inet, MTU: 1456 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.10/24, Local: 10.10.10.1, Broadcast: 10.10.10.255 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 1000 Output packets: 1000 Logical interface at-1/0/0.32767 (Index 70) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: Null VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
Configuring PPPoA on the at-x/x/x Interface with Negotiated IP (CHAP Authentication)
- Configure the Point-to-Point Protocol over
ATM (PPPoA) on ADSL PHY for "second mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 family inet negotiate-address [edit] user@host# set access profile jnpr client sringeri chap-secret india [edit] user@host# commit ommit complete [edit] user@host#
- Verify the interface output:
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 02:39:14 PDT (00:01:37 ago) Input rate : 0 bps (0 pps) Output rate : 80 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 97 Logical interface at-1/0/0.0 (Index 71) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 26 Output packets: 29 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 10 (00:00:02 ago), Output: 8 (00:00:06 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: 1486 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 100.100.100.6, Local: 100.100.100.1 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 26 Output packets: 29 Logical interface at-1/0/0.32767 (Index 70) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: Null VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the end-to-end data path connectivity:
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.1 --> 100.100.100.6 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.231/9.167/58.852/5.716 ms
Configuring PPPoA on the at-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configure the PPPoA on ADSL PHY for "second
mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 dsl-options operating-mode auto [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india [edit] user@host# set interfaces at-1/0/0 unit 0 family inet negotiate-address [edit] user@host# set access profile jnpr client sringeri pap-password india [edit] user@host# commit commit complete
- Verify the Interface status.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 02:39:14 PDT (00:09:29 ago) Input rate : 0 bps (0 pps) Output rate : 80 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 571 Logical interface at-1/0/0.0 (Index 69) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 2 Output packets: 2 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 8 (00:00:01 ago), Output: 9 (00:00:03 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: 1486 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 100.100.100.6, Local: 100.100.100.1 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 2 Output packets: 2 Logical interface at-1/0/0.32767 (Index 70) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: Null VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the interface and check end-to-end data
path connectivity.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.1 --> 100.100.100.6 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.056/8.501/14.194/1.787 ms
Configuring PPPoA on the at-x/x/x Interface with Static IP (CHAP Authentication)
- Configure the PPPoA on ADSL PHY for "second
mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 family inet address 100.100.100.1/24 [edit] user@host# set access profile jnpr client sringeri chap-secret india [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 22:18:50 PDT (00:05:17 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 316 Logical interface at-1/0/0.0 (Index 71) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 46 Output packets: 88 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 18 (00:00:04 ago), Output: 17 (00:00:08 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: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp Protocol inet, MTU: 1486 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.100/24, Local: 100.100.100.1, Broadcast: 100.100.100.255 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 46 Output packets: 88 Logical interface at-1/0/0.32767 (Index 72) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the end-to-end data path testing.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.1/24 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.787/9.300/15.081/2.023 ms
Configuring PPPoA on the at-x/x/x Interface with Static IP (PAP Authentication)
- Configure the PPPoA on ADSL PHY for "second
mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india [edit] user@host# set interfaces at-1/0/0 unit 0 family inet address 100.100.100.10/24 [edit] user@host# set access profile jnpr client sringeri pap-password india [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 22:18:50 PDT (00:10:26 ago) Input rate : 0 bps (0 pps) Output rate : 80 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 624 Logical interface at-1/0/0.0 (Index 73) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 28 Output packets: 29 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 2 (00:00:01 ago), Output: 1 (00:00:09 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: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp Protocol inet, MTU: 1486 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.100/24, Local: 100.100.100.10, Broadcast: 100.100.100.255 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 28 Output packets: 29 Logical interface at-1/0/0.32767 (Index 72) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the end-to-end data path testing.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.10/24 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.698/10.296/61.622/5.856 ms
Configuring PPPoA on the at-x/x/x Interface with Unnumbered IP (PAP Authentication)
- Configure the PPPoA on ADSL PHY for "second
mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 dsl-options operating-mode auto [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options pap local-password india [edit] user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address lo0.0 [edit] user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address destination 100.100.100.6 [edit] user@host# set interfaces lo0 unit 0 family inet address 100.100.100.20/32 [edit] user@host# set access profile jnpr client sringeri pap-password india [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 22:18:50 PDT (00:19:19 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 1158 Logical interface at-1/0/0.0 (Index 73) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 441 Output packets: 342 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 53 (00:00:06 ago), Output: 55 (00:00:05 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: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp Protocol inet, MTU: 1486 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.100/24, Local: 100.100.100.20, Broadcast: 100.100.100.255 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 441 Output packets: 342 Logical interface at-1/0/0.32767 (Index 72) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the end-to-end data path connectivity.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.20 --> 100.100.100.6 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.917/10.164/56.428/5.340 ms
Configuring PPPoA on the at-x/x/x Interface with Unnumbered IP (CHAP Authentication)
- Configure the PPPoA on ADSL PHY for "second
mile" ATM.
user@host# set interfaces at-1/0/0 encapsulation atm-pvc [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap access-profile jnpr [edit] user@host# set interfaces at-1/0/0 unit 0 ppp-options chap local-name locky [edit] user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address lo0.0 [edit] user@host# set interfaces at-1/0/0 unit 0 family inet unnumbered-address destination 100.100.100.6 [edit] user@host# set interfaces lo0 unit 0 family inet address 100.100.100.10/32 [edit] user@host# set access profile jnpr client sringeri chap-secret india [edit] user@host# commit commit complete
- Verify the interface status.
user@host# run show interfaces at-1/0/0 Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 504 Link-level type: ATM-PVC, MTU: 1496, Clocking: Internal, ADSL mode, Speed: ADSL Speed: 832kbps, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 22:18:50 PDT (00:37:35 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) ADSL alarms : None ADSL defects : None ADSL status: Modem status : Showtime (Itu-dmt) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 2253 Logical interface at-1/0/0.0 (Index 71) (SNMP ifIndex 523) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: ATM-PPP-LLC Input packets : 36 Output packets: 35 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 12 (00:00:07 ago), Output: 13 (00:00:05 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: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp Protocol inet, MTU: 1486 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 100.100.100.6, Local: 100.100.100.10 VCI 2.119 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 36 Output packets: 35 Logical interface at-1/0/0.32767 (Index 72) (SNMP ifIndex 525) Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0 Encapsulation: ATM-VCMUX Input packets : 0 Output packets: 0 Security: Zone: HOST Allowed host-inbound traffic : any-service bfd bgp dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp VCI 2.4 Flags: Active Total down time: 0 sec, Last down: Never Input packets : 0 Output packets: 0
- Verify the end-to-end data path connectivity.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 100.100.100.10 --> 100.100.100.6 at-1/0/0.32767 up up [edit] user@host# run ping 100.100.100.6 count 100 rapid PING 100.100.100.6 (100.100.100.6): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 100.100.100.6 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 7.881/9.046/15.136/1.697 ms
Configuring PPPoE over ATM on the at-x/x/x Interface with Negotiated IP (PAP Authentication)
- Configure the Point-to-Point Protocol over
Ethernet over Asynchronous Transfer Mode (PPPoE over ATM) on ADSL
PHY for "second mile" Ethernet.
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc [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 at-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 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 526) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 63, Session AC name: belur, Remote MAC address: 00:90:1a:41:03:c5, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: at-1/0/0.0 (Index 71) Input packets : 464 Output packets: 241 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 1 (00:39:51 ago), Output: 225 (00:00:08 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: 1456 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.15
- Verify the end-to-end data path connectivity.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up at-1/0/0.32767 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.15 --> 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 = 9.369/10.590/16.716/1.660 ms
Configuring PPPoE over ATM on the at-x/x/x Interface with Negotiated IP (CHAP Authentication)
- Configure the Point-to-Point Protocol over
Ethernet over Asynchronous Transfer Mode (PPPoE over ATM) on ADSL
PHY for "second mile" Ethernet.
user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm [edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 [edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.119 [edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc [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 at-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# 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 526) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 64, Session AC name: belur, Remote MAC address: 00:90:1a:41:03:c5, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: at-1/0/0.0 (Index 71) Input packets : 14 Output packets: 13 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 0 (never), Output: 7 (00:00:08 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: 1456 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.16
- Verify the end-to-end data path connectivity.
user@host# run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up at-1/0/0.32767 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.16 --> 12.12.12.1 [edit] user@host# run ping 12.12.12.1 count 1000 rapid !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 12.12.12.1 ping statistics --- 1000 packets transmitted, 1000 packets received, 0% packet loss round-trip min/avg/max/stddev = 8.748/10.461/21.386/1.915 ms [edit] user@host#