Date created: Friday, July 4, 2014 11:01:06 AM. Last modified: Thursday, August 28, 2014 11:52:59 AM

DSLAM/MALC - EFM Bonds with QinQ

EFM Bonds with QinQ

#
# DSLAM/MALC Initial Config
#

# View slows in MALC
slots
# View specific slot details
slot 3

# Get slot card numbers
list card-profile



# Add CPE MGMT VLAN to uplink
bridge add 1-1-2-0/eth tls vlan 99 tagged

# Add customer VLANs to uplink for non QinQ customers
bridge add 1-1-2-0/eth tls vlan 10 tagged
bridge add 1-1-2-0/eth tls vlan 20 tagged

# bridge show vlan 99
# bridge show ethernet1-2-99/bridge
# bridge show brief

# Add IPonBridge to VLAN 99 for MGMT of the DSLAM
interface add 1-1-6-0/ipobridge vlan 99 10.99.0.1 255.255.255.0
# interface show


# Check the client ports are up
port show 1-3-1-0/shdsl
port show 1-3-2-0/shdsl
port show 1-3-3-0/shdsl
port show 1-3-4-0/shdsl
# If not
port up 1-3-1-0/shdsl

# Check the client pairs in sync
dslstat 1-3-1-0/shdsl
dslstat 1-3-2-0/shdsl
dslstat 1-3-3-0/shdsl
dslstat 1-3-4-0/shdsl

# Create a bond group on the line card
bond add gourp 1-3-25-0/efmbond
# bond show all
# bond show group bond-0025/efmbond

# Add SHDSL pairs to bond group
bond add member bond-0025/efmbond 1-3-1-0/shdsl
bond add member bond-0025/efmbond 1-3-2-0/shdsl
bond add member bond-0025/efmbond 1-3-3-0/shdsl
bond add member bond-0025/efmbond 1-3-4-0/shdsl

# bond stats bond-0025/efmbond

port description add bond-0025/efmbond customer-xyz-site-1


#
# For non QinQ customers;
#

# Add MGMT VLAN tagged on efmbond
bridge add bond-0025/efmbond tls vlan 99 tagged
# Add customer VLANs tagged on efmbond
bridge add bond-0025/efmbond tls vlan 10 tagged
bridge add bond-0025/efmbond tls vlan 20 tagged

# Check bridge exist in each VLAN for the downsream bond group and upstream ethernet uplink
# bridge show vlan 10
# bridge show vlan 20
# bridge show vlan 99


#
# QinQ Customers
#

# To convert an exsting non-QinQ bond to QinQ,
# delete any existing VLAN bridges we want to be via QinQ
#bridge delete bond-0025 vlan 10
#bridge delete bond-0025 vlan 20
#bridge delete bond-0025 vlan 99

# For a new bond that will be QinQ, add a QinQ tag of 101 and 0 for the inner tag
# 0 is wildcard to allow any inner tag value; Note that the inner and outer tags 
# must never match! Zhone bug!
bridge add bond-0025 tls vlan 0 slan 100 tagged

# Enable QinQ frames on the uplink port where the outer tag is 101 for this customer
bridge add 1-1-2-0/eth tls vlan 0 slan 100 stagged

# bridge show brief