Date created: 01/22/15 09:33:13. Last modified: 10/08/17 19:57:14

DSLAM/MALC - ADSL Provisioning (PPPoE Tunneling)

Assuming an ADSL line card is already installed we can connect up DSL modems provisioning new ports...

# Check the ADSL link has come up at the physical layer
TEST-ZHONE-MALC port show 1-15-1-0/adsl
Interface 1-15-1-0/adsl
        Physical location:     1/15/1/0/adsl

        Administrative status: up


# View ADSL status of the link (this has auto negotiated to ADSL2+ by default with max line rate because we're in the lab)

TEST-ZHONE-MALC dslstat 1-15-1-0/adsl
General Stats:
-------------
AdminStatus..................................UP
LineStatus...................................DATA
Line uptime (DD:HH:MM:SS)....................0:02:28:31
DslUpLineRate (bitsPerSec)...................1023000
DslDownLineRate (bitsPerSec).................23896700
DslMaxAttainableUpLineRate (bitsPerSec)......1179400
DslMaxAttainableDownLineRate (bitsPerSec)....25044000
Out Octets...................................0
Out Pkts/Cells/Frags.........................0
Out Discards.................................0
Out Errors...................................0
In Octets....................................0
In Pkts/Cells/Frags..........................0
In Discards..................................0
In Errors....................................0
ATM OCD Count................................0
ATM NCD Count................................0
ATM HEC Count................................0
ATM far-end OCD Count........................0
ATM far-end NCD Count........................0
ATM far-end HEC Count........................0

ADSL CPE Information:
--------------------
CPE Serial Number............................XXXXXXXXXXX 1941/K9 15.3(3)M3
CPE Vendor Id................................B5004353434F4602Ap6v35j.23j 68
CPE Version Number...........................Ap6v35j.23j 68

ADSL Physical Stats:
-------------------
Actual Transmission connection standard......ADSL2+
AdslAtucCurrLineSnrMgn (tenths dB)...........95
AdslAtucCurrLineAtn (tenths dB)..............0
AdslAtucCurrOutputPwr (tenths dB)............133
AdslAturCurrLineSnrMgn (tenths dB)...........61
AdslAturCurrLineAtn (tenths dB)..............20
AdslAturCurrOutputPwr (tenths dB)............74
LOFS.........................................0
LOLS.........................................0
LOSS.........................................0
ESS..........................................1
Inits........................................1
Adsl connects................................1
Adsl disconnects.............................0

near-end statistics:
-------------------
blocks received..............................467170
errored blocks received......................1
CRC errors on interleaved buffer.............0
CRC errors on fast buffer....................1
FEC corrected errors on interleaved buffer...0
FEC corrected errors on fast buffer..........0
background errored blocks received...........0
non-SES blocks received......................0
Severely Errored Seconds.....................0
Unavailable Seconds..........................0
Loss of Signal Seconds.......................0
Seconds with one/more FECs...................0
Seconds declared as high BER.................0
Fast retrains................................0
Fast retrain failures........................0

far-end statistics:
-------------------
blocks received..............................526628
errored blocks received......................0
CRC errors on interleaved buffer.............0
CRC errors on fast buffer....................0
FEC corrected errors on interleaved buffer...0
FEC corrected errors on fast buffer..........0
background errored blocks received...........0
non-SES blocks received......................0
Severely Errored Seconds.....................0
Unavailable Seconds..........................7435
Loss of Signal Seconds.......................0
Seconds with one/more FECs...................0
Loss of Power (dying gasps)..................0
Seconds declared as high BER.................0

phyR Statistics:
-------------------
Atuc PhyRActive..............................FALSE
Atuc Retransmitted codewords.................0
Atuc Corrected Retransmitted codewords.......0
Atuc UnCorrectableRetransmitted codewords....0
Atur PhyRActive..............................FALSE
Atur Retransmitted codewords.................0
Atur Corrected Retransmitted codewords.......0
Atur UnCorrectable Retransmitted codewords...0



# The default settings are usually fine for standard ADSL2+, these can be updated per port with
update adsl-profile 1/15/1
get adsl-profile 1/15/1

# Update the downstream interface settings
update adsl-co-profile 1/15/1
get adsl-co-profile 1/15/1

# Update the upstream interface settings
update adsl-cpe-profile 1/15/1
get adsl-cpe-profile 1/15/1



# Define an ATM traffic descriptor

TEST-ZHONE-MALC list atm-traf-descr
0 entries found.

TEST-ZHONE-MALC new atm-traf-descr 100

atm-traf-descr  100
Please provide the following: [q]uit.
td_type: ----------------->  {atmNoClpNoScr}:
td_param1: --------------->  {0}: 65535
td_param2: --------------->  {0}:
td_param3: --------------->  {0}:
td_param4: --------------->  {0}:
td_param5: --------------->  {0}:
cac-divider: ------------->  {1}:
td_service_category: ----->  {ubr}:
td_frame_discard: -------->  {false}:
usage-parameter-control: ->  {true}:
....................
Save new record? [s]ave, [c]hange or [q]uit: s
New record saved.

TEST-ZHONE-MALC list atm-traf-descr
atm-traf-descr  100
1 entry found.



# Add an untagged IP interface on the DSLAM for management on the Ethernet uplink
interface add 1-1-2-0/eth 192.168.47.11 255.255.255.0

interface show



# Create a downloink bridge from an ATM VC to a PPPoE tunnel via the Ethernet uplink on the untagged/native VLAN using the traffic description we set up earlier (index 100)
# Downlink/uplink bridges are asymmetric, and only pass traffic from an uplink bridge down them, there is no inter-customer communication using asymmetricbridges

bridge add 1/15/1/0/adsl vc 0/38 td 100 downlink vlan 100 pppoa

bridge showdetail  1-15-1-0-adsl-0-38

# Create an uplink bridge where the PPPoA data shall be forwarded inside a PPPoE tunnel

bridge add 1-1-2-0/eth uplink vlan 100 tagged


TEST-ZHONE-MALC bridge showall
     Orig
Type VLAN/SLAN     VLAN/SLAN  Bridge                              St  Table Data
--------------------------------------------------------------------------------------
poa                 100       1-15-1-0-adsl-0-38/bridge           DSC
upl             Tagged 100    ethernet1-2-100/bridge              UP  S Global default
2 bridges displayed


# Now a bridge-path is required to link these two asymmetric bridges

bridge-path add ethernet1-2-100/bridge global


# This is all that is required. As PPPoA packets come in via the ATM/ADSL card port they are bridge up the ethernet uplink as PPPoE discovery packets.