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>

1 comment: