Showing posts with label dslam. Show all posts
Showing posts with label dslam. Show all posts

Tuesday, November 25, 2014

Zyxel IES 6000 DSLAM Series Commands





Zyxel IES 6000 Series Commands:

Set IP Address :
DSLAM> ip set inband 10.32.32.130/25 2 10.32.32.129
usage: set inband <ip>[/<netmask>] [<inband-vid> <gateway-ip>]
  <inband-vid> : inband management vlan id
  <gateway-ip> : default gateway ip

Creating Management Vlan :
DSLAM> vlan set 2 all normal untag
DSLAM> vlan set 2 enet5 fix tag
DSLAM> vlan  name 2 management
usage: set <vid> <giga-port> fix|forbid|normal tag|untag

Creating Access Vlan :
DSLAM> vlan set 11 all normal untag
DSLAM> vlan set 11 enet5 fix tag
DSLAM> vlan  name 11 Access
usage: set <vid> <giga-port> fix|forbid|normal tag|untag

Creating Profiles :
DSLAM> profile adsl set 220 512 2048
usage: set <profile> <us-max-rate> <ds-max-rate>

Removing PVCs:
DSLAM> port pvc delete *-*-0/33
usage: delete <slot-port-vpi/vci>

Creating and assigning new PVC s
DSLAM> port pvc set 1-1-0/35 DEFVAL llc 11 0
usage: set <slot-port-vpi/vci> <profile> <mux> <pvid> <priority>
             <slot-port-vpi/vci>: example: 3-1-0/33, 3-1~10-0/33, 3-*-0/33, *-*-0/33
             <profile>          : atm profile
             <mux>              : encapsulation: llc, vcmux
             <pvid>             : default vlan id, 1~4094
             <priority>         : default priority, 0~7

Assigning Profile to port:
DSLAM> port adsl set 1-1 220 auto
usage: set <slot-port> <profile> <mode>

Activate the first port:
DSLAM> port enable 1-1
usage: enable <slot-port>

Copy first port configuration to others:
DSLAM> port copy 1-1 1-*
DSLAM> port copy 1-1 2-*
DSLAM> port copy 1-1 3-*
DSLAM> port copy 1-1 4-*
.
.
.
usage: copy <source> <destination>
<source>      : source port, example: 3-3, 4-26
<destination> : destination ports, example *-*

Copy first port configuration to a range of ports:
Copy first port (PVC,Profile) to range:
DSLAM> port copy 1-1 1-47~56
usage: copy <source> <destination>
<source>      : source port, example: 3-3, 4-26
  <destination> : destination ports, example 1-1,3~5,10~15

Activating TR101:
DSLAM> acl pppoeagent set 11
usage: set <vid>
DSLAM> acl pppoeagent enable 11
usage: enable <vid>
DSLAM> acl pppoeagent optionmode 11 tr101 vid on
usage: optionmode <vid> private|tr101 [vid on|off]

Activating Antimacspoof  :
DSLAM> acl antimacspoof enable
DSLAM> acl pktfilter set *-* pppoe-only
usage: set <slot-port> <type>
  <type>     : can be accept-all, pppoe-only, or any combination of
               ip, arp, dhcp, eapol, pppoe, netbios, igmp seperate by a space
  pppoe-only : accept pppoe packet only
  accept-all : accept all packets


show commands:
SNR:
DSLAM> show linerate 1-1
payload rate   (kbps)=        509       4095
actual rate    (kbps)=        519       4141
attainable rate(kbps)=       1322      22284
noise margin     (dB)=       31.8       29.3
attenuation      (dB)=       12.4       22.0


Stat:
DSLAM> show linestat 1-1
                    usPayLoadRate dsPayLoadRate
port  link              (kbps)        (kbps)    protocol       up time
----- ------------- ------------- ------------- -------------- --------------
 1- 2 up                      509          4095 adsl2plus         2d 2h53m 6s


Long Test:
DSLAM> diagnostic selt test 1-1
DSLAM> diagnostic selt show 1-1
port     inprogress       cableType loopEstimateLength
----- -------------------- --------- ------------------
 1-1           INPROGRESS     24AWG    1004 m(3.29 kFt)

Profile:
DSLAM> profile adsl show
adsl profile(s):
----------------------
1. 210
2. 220
3. DEFVAL

DSLAM> profile adsl show 220
max rate      (Kbps):      512        2048
  min rate      (Kbps):       64          64
  latency delay   (ms):       20          20
  max margin      (dB):     31.0        31.0
  min margin      (dB):      0.0         0.0
  target margin   (dB):      6.0         6.0
  sra mode            :  startup     startup
  up shift mgn    (dB):      9.0         9.0
  down shift mgn  (dB):      3.0         3.0



PVC:
DSLAM> port pvc show 1-1
pvc               type   mux   pvid  pri  mvlan profile
--------------- ------- ----- ------ ---- ----- ------------------------------
1-1-0/35        bridged  llc     11    0   -   DEFVAL

Vlan:
DSLAM> Vlan show
vid  uplink            12345678901234567 name
----- ----------------- ----------------- -------------------------------
    1 FFFFFFFF/UUUUUUUU XXXXXXX XXXXXXXXX 1
    2 ----F---/UUUUTUUU XXXXXXX XXXXXXXXX Management
  11 ----F---/UUUUTUUU FFFFFFF FFFFFFFFF Access

Line Card:
DSLAM> lcman show
48V power: Input-A up, Input-B up
id state    card type          uptime f/w version         heat vol mon down out
-- -------- ----------- ------------- ------------------- ---------------------
 1 active   ALC1272G-51  146:01:35:18 V3.95(ARV.0)          -   -   -    -   -
 2 active   ALC1272G-51  146:01:35:15 V3.95(ARV.0)          -   -   -    -   -
 3 active   ALC1272G-51  146:01:35:14 V3.95(ARV.0)          -   -   -    -   -       

DSLAM> lcman reset 1
usage: lcman reset <slot>

Tuesday, November 4, 2014

Configure Huawei MA5600 Dslam Guide






Here is the step by step guide to configure a Huawei MA5600 Dslam, you can use a cisco console cable to access the device
* vlan numbers are optional except using vlan 1.




 
MA5600#config
 
MA5600(config)#
 
MA5600(config)#vlan 2 standard
 
MA5600(config)#vlan 15 smart
 
MA5600(config)#interface vlanif 2
 
MA5600(config-if-vlanif2)#ip address 10.10.10.2 255.255.255.252
 
{ <cr>|sub<K> }:
 
  Command:
 
          ip address 10.10.10.2 255.255.255.252
 
MA5600(config-if-vlanif2)#quit
 
***MA5600(config)#port vlan 2 0/7 2
 
***MA5600(config)#port vlan 15 0/7 2
 
MA5600(config)#board add 0/0 ade
 
1[2010-01-08 18:25:38]:
 
  A board auto disappear,FrameID:0,SlotID:0,Board_name:H565ADEF
 
MA5600(config)#
 
  0 frame 0 slot board added successfully
 
MA5600(config)#board add 0/1 ade
 
1[2010-01-08 18:25:53]:
 
  A board auto disappear,FrameID:0,SlotID:1,Board_name:H565ADEF
 
MA5600(config)#
 
  0 frame 1 slot board added successfully
 
MA5600(config)#adsl line-profile add 20
 
  Start adding profile
 
  Press 'Q' to quit the current configuration and new configuration will be
 
neglected
 
>¡¡Do you want to name the profile (y/n) [n]:y
 
>¡¡Please input profile name:20
 
>  Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]:1
 
>  Will you set basic configuration for modem? (y/n)[n]:y
 
  Note: Setting to these mode of G992.3~5 will lead that the adsl ports that are not support adsl2+ not be activated
 
ADSL transmission mode:
 
>  0: All   (G992.1~5,T1.413)
 
>  1: Full rate(G992.1/3/5 or T1.413)
 
>  2: g.lite(G992.2/4) (ADSL over ISDN board doesn't support g.lite mode)
 
>  3: T1.413(ADSL over ISDN board doesn't support T1.413 mode)
 
>  4: g.dmt (G992.1/3/5)
 
>  5: g.hs  (G992.1~5, G992.5 is prior)
 
>  6: G992.1
 
>  7: G992.2
 
>  8: G992.3
 
>  9: G992.4
 
>  10:G992.5
 
>  11: ADSL all (G992.1~2,T1.413)
 
>  12: ADSL&ADSL2(G992.1/3 or T1.413)
 
Please select  (0~12) [0]:0
 
>  Trellis mode 0-disable 1-enable (0~1) [1]:1
 
>  Downstream channel bit swap 0-disable 1-enable (0~1) [1]:1
 
>  Upstream channel bit swap 0-disable 1-enable (0~1) [1]:1
 
>  Please select channel mode 0-interleaved 1-fast (0~1) [0]:1
 
>¡¡Please select form of transmit rate adaptation in downstream:
 
>  0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) [1]:1
 
>  Will you set SNR margin for modem? (y/n)[n]:y
 
>  Target SNR margin in downstream(0~15 dB) [6]:
 
>  Minimum SNR margin in downstream (0~6 dB) [0]:
 
>  Maximum SNR margin in downstream (6~31 dB) [31]:
 
>  Target SNR margin in upstream (0~15 dB) [6]:
 
>  Minimum SNR margin in upstream (0~6 dB) [0]:
 
>  Maximum SNR margin in upstream (6~31 dB) [31]:
 
>  Will you set parameters for rate? (y/n)[n]:y
 
>  Minimum transmit rate in downstream (32~32000 Kbps) [32]:64
 
>  Maximum transmit rate in downstream (128~32000 Kbps) [24544]:512
 
>  Minimum transmit rate in upstream (32~6000 Kbps) [32]:64
 
>  Maximum transmit rate in upstream (128~6000 Kbps) [1024]:512
 
  Add profile 20 successfully
 
MA5600(config)#quit
 
MA5600#Display board 0
 
-------------------------------------------------------------------------
 
  SlotID  BoardName  Status        SubType0 SubType1
 
  -------------------------------------------------------------------------
 
  0       ADE        Failed                         
 
  1       ADE        Failed                         
 
  2    
 
  3    
 
  4    
 
  5    
 
  6    
 
  7       H561SCUB   Active_normal           E4GFA  
 
  8    
 
  9    
 
  10   
 
  11   
 
  12   
 
  13   
 
  14   
 
  15   
 
  -------------------------------------------------------------------------
 
MA5600#display vlan 2
 
{ <cr>|to<K> }:
 
  Command:
 
          display vlan 15
 
  VLAN ID: 15
 
  VLAN type: smart
 
  VLAN attribute: common
 
  VLAN description:
 
  ------------------------------
 
   F/S /P     Native VLAN  State
 
  ------------------------------
 
   0/7 /2               1  down
 
  ------------------------------
 
  Standard port number: 1
 
  Service virtual port number: 0
 
MA5600#display board 0
 
  -------------------------------------------------------------------------
 
  SlotID  BoardName  Status        SubType0 SubType1
 
  -------------------------------------------------------------------------
 
  0       H565ADEF   Normal                         
 
  1       H565ADEF   Config                         
 
  2    
 
  3    
 
  4    
 
  5    
 
  6    
 
  7       H561SCUB   Active_normal           E4GFA  
 
  8    
 
  9    
 
  10   
 
  11   
 
  12   
 
  13   
 
  14   
 
  15   
 
  -------------------------------------------------------------------------
 
MA5600#config
 
MA5600(config)#interface adsl 0/0
 
MA5600(config-if-adsl-0/0)#deactivate all
 
MA5600(config-if-adsl-0/0)#
 
  Deactivate port 0 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Deactivate port 1 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Deactivate port 2 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Deactivate port 3 successfully
..................
   Deactivate port 62 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Deactivate port 63 successfully
 
MA5600(config-if-adsl-0/0)#activate all profile-index 20
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 0 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 1 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 2 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 3 successfully
 
......................
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 61 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 62 successfully
 
MA5600(config-if-adsl-0/0)#
 
  Send the command to activate port 63 successfully
 
MA5600(config-if-adsl-0/0)#quit
 
MA5600(config)#
 
MA5600(config)#
 
***MA5600(config)#multi-service-port vlan 15 board 0-1 vpi 0 vci 35 rx-cttr 5 tx-cttr 5
 
  It will take several minutes, and console may timeout, please use command idle-timeout to set time limit
 
  Are you sure to create service virtual port(s)? (y/n)[n]:y
 
  The number of total board in this operation:                            2
 
  The number of total service virtual port in this operation:             128
 
 
 
  Creating start...
 
    16 service virtual ports have been processed
 
    32 service virtual ports have been processed
 
    48 service virtual ports have been processed
 
    64 service virtual ports have been processed
 
    80 service virtual ports have been processed
 
    96 service virtual ports have been processed
 
    112 service virtual ports have been processed
 
    128 service virtual ports have been processed
 
 
 
  Creating end:
 
  The number of total service virtual port which need be created:         128
 
  The number of total service virtual port which have been created:       128
 
MA5600(config)#
 
NATWORKER.COM(config)#ip route-static 0.0.0.0 0.0.0.0 10.10.10.1
{ <cr>|preference<K> }:
 
  Command:
          ip route-static 0.0.0.0 0.0.0.0 10.10.10.1
 
MA5600(config)#quit
 
MA5600#
 
%Jan  8 18:31:40 2010 MA5600 IFNET/2/UPDOWN:Line protocol on the interface
 
vlanif2 turns into UP state
 
state
 
 
MA5600#ping 10.10.10.1
 
  PING 10.10.10.1: 56 data bytes, press CTRL_C to break
 
  Reply from 10.10.10.1: bytes=56 Sequence=0 ttl=254 time = 4 ms
 
  Reply from 10.10.10.1: bytes=56 Sequence=1 ttl=254 time = 2 ms
 
  Reply from 10.10.10.1: bytes=56 Sequence=2 ttl=254 time = 2 ms
 
  Reply from 10.10.10.1: bytes=56 Sequence=3 ttl=254 time = 2 ms
 
  Reply from 10.10.10.1: bytes=56 Sequence=4 ttl=254 time = 2 ms
 
  --- 10.10.10.1 Ping statistics ---
 
  5 packets transmitted
 
  5 packets received
 
  0.00% packet loss
 
  Round-trip min/avg/max = 2/2/4 ms
 
MA5600#display vlan 15
 
{ <cr>|to<K> }:
 
  Command:
 
          display vlan 15
 
  VLAN ID: 15
 
  VLAN type: smart
 
  VLAN attribute: common
 
  VLAN description:
 
  ------------------------------
 
   F/S /P     Native VLAN  State
 
  ------------------------------
 
   0/7 /2               1  up 
 
  ------------------------------
 
  Standard port number: 1
 
  ---------------------------------------------------
 
  Type  State    F/ S/ P VPI  VCI   FLOWTYPE FLOWPARA
 
  ---------------------------------------------------
 
  adl   act/up   0/ 0/ 0 0    35    -        -    
 
  adl   act/up   0/ 0/ 1 0    35    -        -    
 
  adl   act/up   0/ 0/ 2 0    35    -        -    
 
  adl   act/up   0/ 0/ 3 0    35    -        -    
 
  adl   act/up   0/ 0/ 4 0    35    -        -    
 
  adl   act/up   0/ 0/ 5 0    35    -        -    
 
  adl   act/up   0/ 0/ 6 0    35    -        -    
 
---- More ( Press 'Q' to break ) ----[37D                                     [37D[1A
 
....................................
 
---- More ( Press 'Q' to break ) ----[37D                                     [37D[1A
 
  adl   act/up   0/ 1/39 0    35    -        -    
 
  adl   act/up   0/ 1/40 0    35    -        -    
 
  adl   act/up   0/ 1/41 0    35    -        -    
 
  adl   act/up   0/ 1/42 0    35    -        -    
 
  adl   act/up   0/ 1/43 0    35    -        -    
 
  adl   act/up   0/ 1/44 0    35    -        -    
 
  adl   act/up   0/ 1/45 0    35    -        -    
 
  adl   act/up   0/ 1/46 0    35    -        -    
 
  adl   act/up   0/ 1/47 0    35    -        -    
 
  adl   act/up   0/ 1/48 0    35    -        -    
 
  adl   act/up   0/ 1/49 0    35    -        -    
 
  adl   act/up   0/ 1/50 0    35    -        -    
 
  adl   act/up   0/ 1/51 0    35    -        -    
 
  adl   act/up   0/ 1/52 0    35    -        -    
 
  adl   act/up   0/ 1/53 0    35    -        -    
 
  adl   act/up   0/ 1/54 0    35    -        -    
 
  adl   act/up   0/ 1/55 0    35    -        -    
 
  adl   act/up   0/ 1/56 0    35    -        -    
 
  adl   act/up   0/ 1/57 0    35    -        -    
 
  adl   act/up   0/ 1/58 0    35    -        -    
 
  adl   act/up   0/ 1/59 0    35    -        -    
 
  adl   act/up   0/ 1/60 0    35    -        -    
 
  adl   act/up   0/ 1/61 0    35    -        -    
 
  adl   act/up   0/ 1/62 0    35    -        -    
 
---- More ( Press 'Q' to break ) ----[37D                                     [37D[1A
 
  adl   act/up   0/ 1/63 0    35    -        -    
 
  ---------------------------------------------------
 
  Service virtual port number: 128
 
  Note: F--Frame, S--Slot, P--Port(or virtual port, such as IMA group etc.)
 
  The characters precede / in the STATE column indicate the Admin-Status
 
  and characters behind the / indicate the Oper-Status of the service-port
 
  . act means activate and deact means deactivate, dn is abbreviation of
 
  down.
 
MA5600#config
 
MA5600(config)#sysname natworker.com
 
NATWORKER.COM(config)#quit
 
NATWORKER.COM#save
 
{ <cr>|configuration<K>|data<K> }:
 
  Command:
 
          save
 
NATWORKER.COM#
 
  It will take several minutes to save configuration file, please wait... 
 
NATWORKER.COM#
 
  Configuration file had been saved successfully
 
  Note: The configuration file will take effect after being activated
 
NATWORKER.COM#
 
  The data is being saved, please wait a moment...
 
NATWORKER.COM#save
 
NATWORKER.COM#save data
 
  Failure: System is busy, please retry after a while
 
NATWORKER.COM#
 
  1[2010-01-08 18:34:29]:The percentage of saved data on 7 slot's main control  board is: 21%
 
NATWORKER.COM#
 
  1[2010-01-08 18:34:32]:The percentage of saved data on 7 slot's main control  board is: 27%
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:01]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#save
 
{ <cr>|configuration<K>|data<K> }:
 
  1[2010-01-08 18:35:04]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#save
 
  Command:
 
          save
 
  Failure: System is busy, please retry after a while
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:07]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:10]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#save data [1D[1C
 
  Failure: System is busy, please retry after a while
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:13]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:16]:The percentage of saved data on 7 slot's main control  board is: 98%
 
NATWORKER.COM#
 
NATWORKER.COM#
 
  1[2010-01-08 18:35:17]:The data of 7 slot's main control board is saved
 
completely
 
NATWORKER.COM#