Configuring the G.SHDSL Interface on SRX Series Devices

This topic provides information on the minimum steps required to configure a G.SHDSL interface on SRX Series devices. The configuration example uses an SRX210 Services Gateway, the information is also applicable to the SRX240 device.

Topology Diagrams of the G.SHDSL Mini-PIM

The following topology diagrams show various G.SHDSL Mini-PIM connections:

Figure 19 shows the topology for the G.SHDSL Mini-PIM operating in the 2X4-wire mode.

Figure 19: G.SHDSL Mini-PIM Operating in the 2X4-Wire Mode

Image g031157.gif

Figure 20 shows the topology for the G.SHDSL Mini-PIM operating in the 4X2-wire mode.

Figure 20: G.SHDSL Mini-PIM Operating in the 4X2-Wire Mode

Image g031158.gif

Figure 21 shows the topology for the G.SHDSL Mini-PIM operating in the 1X8-wire mode.

Figure 21: G.SHDSL Mini-PIM Operating in the 1X8-Wire Mode

Image g031156.gif

Example: Configuring the G.SHDSL Interface on the SRX210 Services Gateway

The following assumptions are made in this example:

Table 30 provides the basic configuration steps for the G.SHDSL interface on an SRX210 device.

Table 30: Basic Configuration of the G.SHDSL Interface

Tasks

Commands

Select the operating wire mode (2-wire, 4-wire or 8- wire).

Note: When the wire mode is set to 8-wire, one physical interface (IFD) is created. Similarly for 2-wire mode and 4-wire modes, four IFDs and two IFDs are created respectively.

From the [chassis] hierarchy level, enter:

  • set chassis fpc 1 pic 0 shdsl pic-mode 1-port-atm

    (1x8-wire configuration)

  • set chassis fpc 1 pic 0 shdsl pic-mode 2-port-atm

    (2x4-wire configuration)

    Note: The 2x4-wire configuration is the default configuration and behavior.

  • set chassis fpc 1 pic 0 shdsl pic-mode 4-port-atm

    (4x2-wire configuration)

Configure the line rates.

From the [edit] hierarchy level, enter:

set interfaces at-1/0/0 shdsl-options line-rate 4096

Set the annex type.

From the [edit] hierarchy level, enter:

set interfaces at-1/0/0 shdsl-options annex annex-a

Table 31 provides the configuration steps for configuring the G.SHDSL interface on an SRX210 device when it is connected to an IP DSLAM.

Table 31: G.SHDSL Interface Configuration Steps (IP DSLAM)

Tasks

Commands

Specify the type of encapsulation on the G.SHDSL interface.

set interface at-1/0/0 encapsulation ethernet-over-atm

Configure the ATM virtual path identifier (VPI) options for the interface.

set interface at-1/0/0 atm-options vpi 0

Specify the type of encapsulation on the G.SHDSL logical interface.

set interface at-1/0/0 unit 0 encapsulation ether-over-atm-llc

Configure the ATM virtual channel identifier (VCI) options for the logical interface.

set interface at-1/0/0 unit 0 vci 0.60

Configure the interface address for logical interface.

set interface at-1/0/0 unit 0 family inet address 1.1.1.1/24

Table 32 provides the configuration steps for configuring the G.SHDSL interface on an SRX210 device when the device is connected to an ATM DSLAM.

Table 32: G.SHDSL Interface Configuration Steps (ATM DSLAM)

Tasks

Commands

Specify the type of encapsulation on the G.SHDSL interface.

set interface at-1/0/0 encapsulation atm-pvc

Configure the ATM virtual path identifier (VPI) options for the interface.

interface at-1/0/0 atm-options vpi 0

Specify the type of encapsulation on the G.SHDSL logical interface.

interface at-1/0/0 unit 0 encapsulation atm-snap

Configure the ATM virtual channel identifier (VCI) options for the logical interface.

set interface at-1/0/0 unit 0 vci 0.65

Configure the interface address for logical interface.

set interface at-1/0/0 unit 0 family inet address 2.1.1.1/24

Table 33 provides the configuration steps for configuring PPPoE over ATM on the G.SHDSL interface on an SRX210 device when it is connected to an IP DSLAM.

Table 33: Steps for Configuring PPPoE over ATM for the G.SHDSL Interface

Tasks

Commands

Configure the ATM virtual path identifier (VPI) options for the interface.

interface at-1/0/0 atm-options vpi 0

Specify the type of encapsulation on the G.SHDSL logical interface.

set interfaces at-1/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc

Configure the ATM virtual channel identifier (VCI) options for the logical interface.

set interfaces at-1/0/0 unit 0 vci 0.35

Configure a PPPoE interface with the PAP access profile.

set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof

Configure a local-name for the PAP interface.

set interfaces pp0 unit 0 ppp-options pap local-name srx-210

Configure a local-password for the PAP interface.

set interfaces pp0 unit 0 ppp-options pap local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre"

Set the passive option to handle incoming PAP packets only.

set interfaces pp0 unit 0 ppp-options pap passive

Specify the logical interface as the underlying interface for the PPPoE session.

set interfaces pp0 unit 0 pppoe-options underlying-interface at-1/0/0.0

Specify the number of seconds (from 1 through 4294967295) to wait before reconnecting after a PPPoE session is terminated.

set interfaces pp0 unit 0 pppoe-options auto-reconnect 120

Specify the logical interface as the client for the PPPoE interface.

set interfaces pp0 unit 0 pppoe-options client

Obtain an IP address by negotiation with the remote end.

set interfaces pp0 unit 0 family inet negotiate-address

Table 34 provides the configuration steps for configuring PPP-over-ATM (PPPoA) on the G.SHDSL interface on an SRX210 device when the device is connected to an IP DSLAM.

Table 34: Steps for Configuring PPPoA for the G.SHDSL Interface

Tasks

Commands

Specify the type of encapsulation on the G.SHDSL interface.

set interfaces at-1/0/0 encapsulation atm-pvc

Configure the ATM virtual path identifier (VPI) options for the interface.

set interfaces at-1/0/0 atm-options vpi 1

Specify the type of encapsulation on the G.SHDSL logical interface.

set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc

(For PPP over ATM adaptation layer 5 (AAL5) logical link control (LLC)

or

set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-vc-mux

(For PPP over ATM AAL5 multiplex)

Configure the ATM virtual channel identifier (VCI) options for the logical interface.

set interfaces at-1/0/0 unit 0 vci 1.122

Configure a PPPoA interface with the CHAP access profile.

set interfaces at-1/0/0 unit 0 ppp-options chap access-profile juniper

Configure a local-name for the CHAP interface.

set interfaces at-1/0/0 unit 0 ppp-options chap local-name srx-210

Obtain an IP address by negotiation with the remote end.

set interfaces at-1/0/0 unit 0 family inet negotiate-address