Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Example: Configure ADSL and SHDSL Network Interfaces

 

In this example you configure the ADSL and SHDSL interface on an SRX Series device which supports LFI through an MLPPP. To support MLPPP encapsulation and the family mlppp on the ADSL interface on an SRX Series device, you enable an existing Junos OS CLI. To establish an ADSL link between network devices, you must use some intermediate connections. First, use an RJ-11 cable to connect the CPE (for example, an SRX Series device) to a DSLAM patch panel to form an ADSL link. Then use OC3 or DS3 to connect the DSLAM to M Series or E Series devices to form an ATM backbone.

Table 1 specifies the CLI quick configuration commands used for configuring ADSL and SHDSL interfaces.

Table 1: CLI Quick Configuration

Configuration Step

CLI Quick Configuration Commands

Configure the DHCP client on ADSL interface

set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 atm-options vpi 2
set interfaces at-1/0/0 dsl-options operating-mode auto
set interfaces at-1/0/0 unit 0
set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
set interfaces at-1/0/0 unit 0 vci 2.122
set interfaces at-1/0/0 unit 0 family inet
set interfaces at-1/0/0 unit 0 family inet dhcp

Configure the IPv6 address on an ADSL interface

set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 atm-options vpi 2
set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
set interfaces at-1/0/0 unit 0 vci 2.118
set interfaces at-1/0/0 unit 0 family inet6 address 13:13::1/64

Configure ATM-over-ADSL network interfaces

set interfaces at-2/0/0 atm-options vpi 25 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 atm-options vpi 25 oam-period 100
set interfaces at-1/0/0 unit 0 shaping cbr
set interfaces at-1/0/0 unit 0 shaping vbr peak 33000
set interfaces at-1/0/0 dsl-options operating-mode auto
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 unit 3 encapsulation atm-nlpid oam-liveness up-count 200 down-count 200
set interfaces at-1/0/0 unit 3 oam-period 100
set interfaces at-1/0/0 unit 3 family inet
set interfaces at-1/0/0 unit 3 vci 35

Configure CHAP on DSL interfaces

set access profile A-ppp-client client client1 chap-secret my-secret
set interfaces at-3/0/0 unit 0 ppp-options chap access-profile A-ppp-client local-name A-at-3/0/0.0 passive

Configure ATM-over-SHDSL network interfaces

set chassis fpc 6 pic 0 shdsl pic-mode 1-port-atm
set interfaces at-2/0/0 atm-options vpi 25 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 atm-options vpi 25 oam-period 100
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options annex annex-a
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options line-rate auto
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options loopback local
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options snr-margin current 5 snext 5
set interfaces at-2/0/0 unit 3 encapsulation atm-nlpid
set interfaces at-2/0/0 unit 3 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 unit 3 oam-period 100
set interfaces at-2/0/0 unit 3 oam-period 100
set interfaces at-2/0/0 unit 3 vci 35

Configure the DHCP client on ADSL interface

In this example, you configure the ATM interface as at-1/0/0. Then set the logical interface to unit 0 and specify the family protocol type as inet. Finally, configure the DHCP client. To configure DHCP client on ADSL interfaces:

  1. Set the encapsulation mode.
  2. Configure the ATM VPI option.
  3. Set operating mode.
  4. Set the logical interface.
  5. Set the encapsulation mode for logical interface.
  6. Set the ATM VCI option.
  7. Specify the family protocol type.
  8. Configure the DHCP client.
  9. Set the DHCP client identifier as a ASCII or hexadecimal value (optional):

    Use hexadecimal if the client identifier is a MAC address—for example, 00:0a:12:00:12:12.

  10. Set the DHCP lease time in seconds—for example, 86400 (24 hours). The range is 60 through 2147483647 seconds (optional).
  11. Define the number of attempts allowed to retransmit a DHCP packet (optional)—for example, 6

    The range is 0 through 6. The default is 4 times.

  12. Define the interval, in seconds, allowed between retransmission attempts (optional)—for example, 5.

    The range is 4 through 64. The default is 4 seconds.

  13. Set the IPv4 address of the preferred DHCP server (optional)—for example, 10.1.1.1.
  14. Set the vendor class ID for the DHCP client (optional)—for example, ether.

Use the show interfaces at-1/0/0 command to see the output of the configuration.

Configure the IPv6 Address on an ADSL Interface

To configure the IPv6 address on an ADSL interface:

  1. Configure the encapsulation type.
  2. Specify the annex type.
  3. Configure the encapsulation for the logical unit.
  4. Configure the VCI value.
  5. Configure family protocol type and assign an IPv6 address.

Use the show interfaces at-1/0/0 command to see the output of the configuration.

Configure ATM-over-ADSL Network Interfaces

This example shows how to use devices with ADSL Annex A or Annex B PIMs to send network traffic through a point-to-point connection to a DSLAM. Within the example, you set the DSL operating mode type to auto so that the ADSL interface will autonegotiate settings with the DSLAM.

The example shows how to create an ATM interface called at-2/0/0. The values for the interface’s physical properties are kept relatively low—the ATM VPI is set to 25; both the OAM down count and up count are set to 200 cells; the OAM period is set to 100 seconds.

The example also shows how to set traffic shaping values on the ATM interface to support CoS. CBR is enabled in order to stabilize the cell transmission rate throughout the duration of the connection. Additionally, the VBR peak is set to 33,000 for data packet transfers.

Within the example, you set the encapsulation mode to ethernet-over-atm to support PPP over Ethernet IPv4 traffic. You also configure a logical interface (unit 3). The logical interface uses ATM NLPID encapsulation. As with the physical interface, the OAM down count and up count are set to 200 cells on the logical interface and the OAM period is set to 100 seconds. The family protocol is set to inet and the VCI is set to 35.

On SRX devices, the ATM interface takes more than 5 minutes to come up when CPE is configured in ANSI-DMT mode and CO is configured in automode. This occurs only with ALU 7300 DSLAM, due to limitation in current firmware version running on the ADSL Mini-PIM.

To configure ATM-over-ADSL network interfaces for the devices:

  1. Create an ATM interface.
  2. Configure the physical properties for the ATM interface.
  3. Specify the CBR value and VBR value for the Ethernet interface.
  4. Set the DSL operating mode type.
  5. Configure the encapsulation type.
  6. Configure the encapsulation for the logical unit.
  7. Configure the OAM liveness values for an ATM virtual circuit.
  8. Specify the OAM period.
  9. Set the family protocol type.
  10. Configure the VCI value.

Use the show command to see the output of the configuration.

Configure MLPPP-over-ADSL Interfaces

In this example, you set the encapsulation as atm-mlppp-llc for the interface at-5/0/0. You then configure the family MLPPP bundle as lsq-0/0/0.1.

Figure 1 shows a typical example of MLPPP-over-ADSL end-to-end connectivity.

Figure 1: MLPPP-over-ADSL Interface
 MLPPP-over-ADSL Interface

To configure MLPPP on an ADSL interface:

  1. Configure an interface.
  2. Set the MLPPP encapsulation.
  3. Specify the family MLPPP.
  4. If you are done configuring the device, commit the configuration.

Use the show command to see the output of the configuration.

Configure CHAP on DSL Interfaces

In this example, you specify the CHAP access profile and create an interface called at-3/0/0. You configure CHAP on either the ATM-over-ADSL or the ATM-over-SHDSL interface and specify a unique profile name called A-ppp-client containing a client list and access parameters. You then specify a unique hostname called A-at-3/0/0.0 to be used in CHAP. Finally, you set the passive option to handle incoming CHAP packets. To configure CHAP on either the ATM-over-ADSL or the ATM-over-SHDSL interface:

  1. Define a CHAP access profile.
  2. Create an interface.
  3. Configure CHAP and specify a unique profile name.
  4. Specify a unique hostname.
  5. Set the option to handle incoming CHAP packets only.

Use the show command to see the output of the configuration.

Configure ATM-over-SHDSL Network Interfaces

In this example, you set the ATM-over-SHDSL mode on the G.SHDSL interface, if required. You create an interface called at-2/0/0 and configure the physical properties for the interface. You configure the encapsulation type and annex type. You specify the SHDSL line rate for the ATM-over-SHDSL interface and the loopback address for testing the SHDSL connection integrity. Then you configure the SNR margin, set the logical interface, and configure the encapsulation for the ATM-over-SHDSL logical unit.

Additionally, you configure the OAM liveness values for an ATM virtual circuit and set the OAM period, Finally, you add the family protocol type inet and configure the VCI value. To configure ATM-over-SHDSL network interfaces for the device:

  1. Set the ATM-over-SHDSL mode on the G.SHDSL interface.
  2. Create an interface.
  3. Configure the physical properties for the interface.
  4. Configure the encapsulation type.
  5. Set the annex type.
  6. Configure the SHDSL line rate.
  7. Configure the loopback option for testing the SHDSL connection integrity.
  8. Configure the signal-to-noise ration margin.
  9. Configure the logical interface.
  10. Configure the encapsulation for the logical unit.
  11. Configure the OAM liveness values for an ATM virtual circuit
  12. Configure the OAM period.
  13. Add the Family protocol type.
  14. Configure the VCI value.

Use the show command to see the output of the configuration.

Verification

Purpose

Display information about the parameters configured on the ADSL and SHDSL interfaces.

Action

  • To verify that the DHCP options are configured use the run show system services dhcp client command:

    user@host# run show system services dhcp client

    To verify the interface status and check traffic statistics use the show 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 at-1/0/0 terse
    user@host# run ping 10.40.1.1 count 100 rapid
  • To verify that the ADSL interface properties are configured use the show ipv6 neighbors command. The output shows a summary of interface information.

    user@host> show ipv6 neighbors

    Meaning

    The IPv6 Address field displays the configured IPv6 address on the interface.

  • To verify the ADSL interface properties, use the show interfaces at-1/0/0 extensive command:

    user@host> show interfaces at-1/0/0 extensive

    The output shows a summary of interface information.

    To verify the PPPoA configuration for an ATM-over-ADSL interface is correct, use the the show interfaces at-1/0/0 and the show access commands.

  • To verify the configuration for an MLPPP-over-ADSL Interface is correct, use the show interfaces at-5/0/0 command.

  • To verify that the ADSL interface properties are enabled, use the show interfaces at-3/0/0 extensive command.

    user@host> show interfaces at-3/0/0 extensive

    To verify the PPPoA configuration for an ATM-over-ADSL interface is correct, use the show interfaces at-3/0/0 and the show access commands.

    To verify that an ATM-over-SHDSL configuration is correct, use the show interfaces at-3/0/0 extensive command.

    user@host> show interfaces at-3/0/0 extensive