D-link DAS-3224 User Manual [ru]

DAS-3224/48
Command Line Interface
0
Document Date: December 9th 2014 Document Version: V1.2
1

AMENDMENT HISTORY

V1.0 Jun, 2014 New release
V1.1 Oct, 2014 Modified to no brand document
V1.2 Nov, 2014
1. Modify the command line syntax ‘>’ to ‘$’
2. Add bridge command line
2

Contents

AMENDMENT HISTORY........................................................................................................................ 1
CONTENTS............................................................................................................................................ 2
1. SCOPE.......................................................................................................................................... 5
2. CLISH COMMAND DESCRIPTIONS............................................................................................ 6
2.1 SYSTEM COMMANDS................................................................................................................ 7
2.1.1 File management.............................................................................................................. 7
2.1.1.1 Upgrade......................................................................................................................................... 7
2.1.1.2 Passwd........................................................................................................................................... 7
2.1.2 Reboot and Save Configuration........................................................................................ 8
2.1.2.1 Reboot............................................................................................................................................ 8
2.1.2.2 Commit........................................................................................................................................... 8
2.1.3 Info.................................................................................................................................... 9
2.1.3.1 Get system info.............................................................................................................................. 9
2.1.3.2 Modify system info......................................................................................................................... 9
[telnet_timeout] System telnet timeout (Unit: minute. The value should be larger than 0)........................10
2.1.4 Trap log........................................................................................................................... 11
2.1.4.1 Get traps....................................................................................................................................... 11
2.1.4.2 Reset traps................................................................................................................................... 11
2.1.5 Networking tool............................................................................................................... 12
2.1.5.1 Ping.............................................................................................................................................. 12
2.1.5.2 Traceroute.................................................................................................................................... 12
2.2 PROTOCOL COMMANDS.......................................................................................................... 13
2.2.1 IGMP............................................................................................................................... 13
2.2.1.1 Create igmp acl............................................................................................................................13
2.2.1.2 Get igmp acl list............................................................................................................................ 13
2.2.1.3 Modify igmp acl mode.................................................................................................................. 14
2.2.1.4 Modify igmp acl vlan translation mode.........................................................................................14
2.2.1.5 Delete igmp acl............................................................................................................................ 14
2.2.1.6 Create igmp member................................................................................................................... 15
2.2.1.7 Get igmp group list.......................................................................................................................15
2.2.1.8 Get igmp group info...................................................................................................................... 15
2.2.1.9 Get igmp group source list........................................................................................................... 16
2.2.1.10 Get igmp group source info.........................................................................................................16
2.2.1.11 Get igmp info............................................................................................................................... 16
2.2.1.12 Get igmp router list...................................................................................................................... 17
2.2.1.13 Modify igmp group limit............................................................................................................... 17
2.2.1.14 Modify igmp proxy ip................................................................................................................... 17
2.2.1.15 Modify igmp proxy mode.............................................................................................................18
2.2.1.16 Modify igmp proxy priority........................................................................................................... 18
2.2.1.17 Modify igmp fast leave mode...................................................................................................... 18
2.2.1.18 Modify igmp robustness var........................................................................................................ 18
2.2.1.19 Get igmp timeout......................................................................................................................... 19
2.2.1.20 Modify igmp timeout type............................................................................................................ 19
2.2.1.21 Get igmp port stats...................................................................................................................... 19
2.2.1.22 Get igmp vlan stats..................................................................................................................... 19
2.2.1.23 Get igmp member stats............................................................................................................... 20
2.2.2 DHCP_relay.................................................................................................................... 21
2.2.2.1 Get dhcp relay stats..................................................................................................................... 21
2.2.3 DLI.................................................................................................................................. 22
2.2.3.1 Create dli circuit id........................................................................................................................ 22
2.2.3.2 Get dli circuit id list....................................................................................................................... 22
2.2.3.3 Delete dli circuit id........................................................................................................................22
2.2.3.4 Create dli remote id...................................................................................................................... 23
2.2.3.5 Get dli remote id list..................................................................................................................... 23
3
2.2.3.6 Delete dli remote id...................................................................................................................... 23
2.2.3.7 Create dli loop info...................................................................................................................... 23
2.2.3.8 Get dli loop info list....................................................................................................................... 24
2.2.3.9 Get dli loop info mode................................................................................................................... 24
2.2.3.10 Modify dli loop info mode............................................................................................................ 24
2.2.3.11 Delete dli loop info....................................................................................................................... 25
2.2.3.12 Get dli subopt mode list............................................................................................................... 25
2.2.3.13 Get dli trusted port list................................................................................................................. 25
2.2.3.14 Modify dli subopt mode............................................................................................................... 25
2.2.3.16 Modify dli trusted port.................................................................................................................. 26
2.2.3.17 Get dli access id.......................................................................................................................... 26
2.2.3.18 Create dli access......................................................................................................................... 26
2.2.4 SNTP.............................................................................................................................. 27
2.2.4.1 Create sntp servaddr.................................................................................................................... 27
2.2.4.2 Get sntp servaddr......................................................................................................................... 27
2.2.4.3 Delete sntp servaddr....................................................................................................................27
2.2.4.4 Modify sntp cfg.............................................................................................................................27
2.2.4.5 Get sntp cfg.................................................................................................................................. 28
2.2.5 SNMP.............................................................................................................................. 29
2.2.5.1 Create snmp host......................................................................................................................... 29
2.2.5.2 Get snmp host.............................................................................................................................. 29
2.2.5.3 Delete snmp host......................................................................................................................... 29
2.2.5.4 Create snmp traphost................................................................................................................... 30
2.2.5.5 Get snmp traphost........................................................................................................................ 30
2.2.5.6 Delete snmp trap host..................................................................................................................30
2.3 FAN COMMANDS.................................................................................................................... 31
2.3.1 Temperature.................................................................................................................... 31
2.3.1.1 Get fan sensor temperature......................................................................................................... 31
2.3.1.2 Get fan sensor threshold.............................................................................................................. 31
2.3.1.3 Modify fan sensor threshold.........................................................................................................31
2.3.2 Chip................................................................................................................................. 32
2.3.2.1 Reset fan chip.............................................................................................................................. 32
2.3.3 Speed.............................................................................................................................. 33
2.3.3.1 Get fan speed............................................................................................................................... 33
2.3.3.2 Modify fan speed.......................................................................................................................... 33
2.4 XDSL MANAGEMENT.................................................................................................................... 34
2.4.1 Line Interface...................................................................................................................... 34
2.4.2 Line Profile.......................................................................................................................... 35
2.4.3 Channel Profile................................................................................................................... 41
2.4.4 Channel Information............................................................................................................ 44
2.4.5 Info and Configuration......................................................................................................... 45
2.4.6 Line Performance -15 mins/1 day....................................................................................... 46
2.5 BRIDGE................................................................................................................................. 47
2.5.1 Port..................................................................................................................................... 47
2.5.2 Port L2................................................................................................................................ 47
2.5.3 Port VLAN........................................................................................................................... 49
2.5.4 Forwarding.......................................................................................................................... 53
2.5.5 Port Flood........................................................................................................................... 54
2.5.6 Port XVID............................................................................................................................ 55
2.5.7 PBV..................................................................................................................................... 56
3. SPECIAL COMMANDS............................................................................................................... 60
3.1 CREATE VLAN STATIC.......................................................................................................... 60
3.2 MODIFY ETHERNET INTERFACE............................................................................................. 61
3.3 CREATE SNTP SERVER........................................................................................................ 61
3.4 MODIFY SYSTEM INFO TIMEZONE..........................................................................................61
3.5 MODIFY SNTP CONFIGURATION............................................................................................ 62
3.6 CREATE ADSL PROFILE........................................................................................................ 62
3.7 MODIFY ADSL PROFILE........................................................................................................64
3.8 MODIFY ATM VC................................................................................................................. 65
3.9 CREATE ATM VC................................................................................................................. 65
3.10 CREATE EOA INTERFACE...................................................................................................... 66
3.11 CREATE BRIDGE PORT INTERFACE........................................................................................ 66
4
3.12 MODIFY BRIDGE PORT STATUS............................................................................................. 66
3.13 DELETE BRIDGE VLAN PORT ATTACHMENT...........................................................................66
3.14 MODIFY GVRP PORT INFO................................................................................................... 67
3.15 CREATE IRL PROFILE........................................................................................................... 67
3.16 CREATE IRL PROFILE MAPPING............................................................................................ 68
3.17 CREATE SCHEDULING PROFILE............................................................................................. 68
3.18 CREATE SCHEDULING PROFILE CLASS................................................................................... 68
3.19 MODIFY SCHEDULING PROFILE MAPPING TO ATM INTERFACE.................................................69
3.20 MODIFY BRIDGE PORT PRIORITY INFO...................................................................................69
3.21 CREATE IGMP ACL.............................................................................................................. 69
3.22 MODIFY IGMP SNOOP PORT INFO........................................................................................ 70
3.23 Modify IGMP Proxy Mode................................................................................................... 70
5

1.Scope

This document shows the CLI (Command Line Interface) that are used in DAS-
3224/48 ADSL2+ IPDSLAM.
6

1.CLISH Command Descriptions

This chapter listed the syntax, parameter, and description of each command.
Before configuring the DAS-3224/48 ADSL2+ IP DSLAM, there are some hot keys to
help user with managing the device:
Up Arrow Key – Repeat the history input commands.
For example:
If “ipconfig”, “get port list”, and “modify port admin” have previously been entered
before, pressing the up arrow key repeatly will show these commands in de-
chronological order.
Tab Key – Finish the rest of the incomplete commands.
For example:
If “bridge” is to be typed, pressing “Tab” key after “bri” is entered, command “bridge”
will be automatically be completed.
If “modify” is to be typed, pressing “Tab” key after “modi” is entered, command
“modify” will be automatically be completed.
“?” key – List the valid commands.
For example:
If “system”, “bridge”, “interface”, “port”, and “vlan” are the valid commands after “get”,
these above commands will show up when “?” is pressed after “get” is entered.
7

2.1 System commands

2.1.1 File management

2.1.1.1 Upgrade
Description: Upgrade firmware of system through TFTP.
Command Syntax
$ upgrade <ip> <config> <filename>
Parameters
[ip] TFTP server IP address
[config] -i (download f/w image),
-c (download configuration file),
-fd (download FD file),
-bc (backup configuration file),
-bf (backup FD file)
[filename] f/w or configuration filename
2.1.1.2 Passwd
Description: Change the password associated with a user login. An ordinary
user may change the password for another user if he knows the old
password. However, the root does not need to know a user’s existing
password before changing it. The passwords are not echoed on to the
screen.
Command Syntax
$ passwd [name name] [passwd passwd]
Parameters
[name] user name to be created - String of up to 64 characters (‘A’- ‘Z’,
‘a’-‘z’, ‘0’-‘9’, ‘-’, ‘_’) and any combination of printable characters excluding
“;”.
[passwd] password which is changed by user.
8

2.1.2 Reboot and Save Configuration

2.1.2.1 Reboot
Description: Reboot the system and to set the boot configuration.
Command Syntax
$ reboot [config config]
Parameters
[config] The boot configuration, the source, from which to boot up. The boot
configuration is set to last automatically, whenever a commit command is
given. The boot configuration is an optional parameter. If it is not specified, it
retains the previous value. So giving reboot after a commit will result in a
reboot from the committed configuration - default / last.
2.1.2.2 Commit
Description: Use this command to commit the active configuration to the
flash.
Command Syntax
$ commit
Parameters
N/A
9

2.1.3 Info

2.1.3.1 Get system info
Description: Display system parameters
Command Syntax
$ get system info
Parameters
N/A
2.1.3.2 Modify system info
Description: Modify the system parameters
Command Syntax
$ modify system info [contact contact] [name name] [location location]
[vendor vendor] [logthresh logthresh] [systime systime] [dst dst] [timezone
timezone] [telnet_timeout telnet_timeout]
Parameters
[contact] This contains the textual identification of the contact person for this
modem, together with information on how to contact this person.
[name] This specifies the name of the system.
[location] This specifies the physical location of this system.
[vendor] This contains the vendor-specific information.
[logthresh] This specifies the severity level of the trap equal to or lower than
that shall be logged. 1 is the lowest and represents critical traps - 1..4.
[systime] This specifies the current system time - “mon dd hh:mm:ss year”,
e.g. "Feb 01 21:20:10 2001".
[dst] This specifies if the Daylight Savings Time has been enabled or not -
on / off.
[timezone] – IDLW / NT / HST / CAT / AHST / YST / PST / MST / CST /
EST / AST / NFST / NFT / BRST / AT / WAT / GMT / UTC / WET / CET /
FWT / MET / MEWT / SWT / EET / IST / BT / IT / ZP4 / ZP5 / INST / ZP6 /
NST / WAST / SSMT / JT / CCT / CAST / ROK / KST / JST / EAST / GST /
IDLE / NZST / NZT.
10
[telnet_timeout] System telnet timeout (Unit: minute. The value should be larger than
0)
11

2.1.4 Trap log

2.1.4.1 Get traps
Description: Get the listing of all Trap Log Table entries (tTraps) or the last
few entries (Traps).
Command Syntax
$ get traps
Parameters
N/A
2.1.4.2 Reset traps
Description: Delete all trap logs
Command Syntax
$ reset traps
Parameters
N/A
12

2.1.5 Networking tool

2.1.5.1 Ping
Description: This command is used to send one or more ICMP messages to
another host for a reply.
Command Syntax
$ ping <ip>
Parameters
[ip] This specifies the destination address to be pinged.
2.1.5.2 Traceroute
Description: This command is used to trace the route to the specified
destination.
Command Syntax
$ traceroute [-m hopnum] [-m waittime] [-p udpport] [-q prbnum] <ip>
Parameters
[hopnum] max number of hops
[waittime] timeout in seconds
[udpport] destination UDP port
[prbnum] probe number per TTL
[ip] This specifies the Destination address to be pinged.
13

2.2 Protocol commands

2.2.1 IGMP

2.2.1.1 Create igmp acl
Description: Add a member to IGMP ACL database.
Use this command to specify the Destination Group IP address for a
multicast stream.
Command Syntax
$ create igmp acl [grpip grpip] [cvid cvid] [portid portid] [svid svid] [count
count]
Parameters
[grpip] This parameter specifies the destination group IP address for a
multicast stream.
[cvid] user VLAN ID <1..4093>
[portid] This parameter specifies the subscriber port ID
Note: <1..24 in DAS-3224>, <1..48 in DAS-3248>.
[svid] service provider VLAN ID <1..4093>
[count] group IP address range count <1..256>
2.2.1.2 Get igmp acl list
Description: Display IGMP access control list.
Use this command to get the Destination Group IP address for a multicast
stream.
Command Syntax
$ get igmp acl list [toggle toggle] [offset offset] [num num]
Parameters
[toggle] display extended status toggle (on | off)
[offset] ID offset <0..S32>
[num] ID number <1..S32>
14
2.2.1.3 Modify igmp acl mode
Description: Modify ACL mode
Use this command to enable or disable the Destination Group IP address
specified for a multicast stream.
Command Syntax
$ modify igmp acl [mode mode]
Parameters
[mode] this parameter specifies the ACL functions is disabled or enabled -
off / on.
2.2.1.4 Modify igmp acl vlan translation mode
Description: Modify vlan translation mode
Use this command to enable or disable the VLAN translate for a multicast
stream.
Command Syntax
$ modify igmp acl vlan translation [mode mode]
Parameters
[mode] this parameter specifies the VLAN translation functions is disabled
or enabled - off / on.
2.2.1.5 Delete igmp acl
Description: Delete a member to IGMP ACL database
Use this command to delete specified Destination Group IP address for a
multicast stream.
Command Syntax
$ delete igmp acl [grpip grpip] [cvid cvid] [portid portid]
Parameters
[grpip] group IP address
[cvid] user VLAN <1..4093>
[portid] subscriber port ID. Note: <1..24 in DAS-3224>, <1..48 in DAS-3248>
15
2.2.1.6 Create igmp member
Description: Add a member to a multicast group
Use this command to add IGMP member to the specified Destination Group
IP address for a multicast stream.
Command Syntax
$ create igmp member [grpip grpip] [cvid cvid] [portid portid]
Parameters
[grpip] group IP address
[cvid] user VLAN <1..4093>
[portid] subscriber port ID.
Note: <1..24 in DAS-3224>, <1..48 in DAS-3248>
2.2.1.7 Get igmp group list
Description: Display IGMP group information
Use this command to display the IGMP Destination Group IP address.
Command Syntax
$ get igmp group list [offset offset] [num num]
Parameters
[offset] ID offset <0..S32>
[num] ID number <1..S32>
2.2.1.8 Get igmp group info
Description: Retrieve IGMP group list
Command Syntax
$ get igmp group info [grpip grpip] [cvid cvid]
[grpip] This parameter specifies the destination group IP address for a
multicast stream.
[cvid] user VLAN ID <1..4093>
16
2.2.1.9 Get igmp group source list
Description: Retrieve group and source info
Command Syntax
$ get igmp group source list [grpip grpip] [cvid cvid] [offset offset] [num num]
Parameters
[grpip] This parameter specifies the destination group IP address for a
multicast stream.
[cvid] user VLAN ID <1..4093>
[offset] ID offset <1..4093>
[num] ID number <1..4093>
2.2.1.10 Get igmp group source info
Description: Retrieve IGMP sources list
Command Syntax
$ get igmp group source info [grpip grpip] [cvid cvid] [srcip srcip]
Parameters
[grpip] this parameter specifies the destination group IP address for a
multicast stream.
[cvid] user VLAN <1..4093>
[srcip] this parameter specifies the source IP address of the multicast server.
2.2.1.11 Get igmp info
Description: Display IGMP info
Command Syntax
$ get igmp info
Parameters
N/A
17
2.2.1.12 Get igmp router list
Description: Retrieve all IGMP router ports
Command Syntax
$ get igmp router list
Parameters
N/A
2.2.1.13 Modify igmp group limit
Description: Set IGMP Port Group Limit
Command Syntax
$ modify igmp group limit [portid portid] [limit limit]
Parameters
[portid] this parameter specifies the subscriber port ID <1..48>.
[limit] this parameter controls the number of simultaneous channels that can
be received by this port <1..S32>.
2.2.1.14 Modify igmp proxy ip
Description: Set IGMP proxy IP address
Command Syntax
$ modify igmp proxy ip [ip ip]
Parameters
[ip] This parameter specifies the IGMP proxy IP address
18
2.2.1.15 Modify igmp proxy mode
Description: Set the IGMP proxy mode
Command Syntax
$ modify igmp proxy mode [mode mode]
Parameters
[mode] this parameter specifies the IGMP proxy functions is disabled or
enabled - off / on.
2.2.1.16 Modify igmp proxy priority
Description: Set IGMP proxy VLAN priority.
Command Syntax
$ modify igmp proxy priority [prio prio]
Parameters
[prio] VLAN ID priority <0..7>
2.2.1.17 Modify igmp fast leave mode
Description: Set the IGMP fast leave mode.
Command Syntax
$ modify igmp fast leave [mode mode]
Parameters
[mode] this parameter specifies the IGMP fast leave functions is disabled or
enabled - off / on.
2.2.1.18 Modify igmp robustness var
Description: Set IGMP robustness variable
Command Syntax
$ modify igmp robustness [var var]
Parameters
[var] this parameter allows tuning for the expected packet loss on a subnet.
19
The IgmpSnooping module is robust to [RobustnessVar] packet losses.
Valid values: 2 – 10
2.2.1.19 Get igmp timeout
Description: Display IGMP timeout
Command Syntax
$ get igmp timeout
Parameters: N/A
2.2.1.20 Modify igmp timeout type
Description: Change IGMP timeout.
Command Syntax
$ modify igmp timeout [type type] [timeout timeout]
Parameters
[type] Timeout type - query / bc / mrt / lmqt / url
[timeout] Timeout value: X.Y where X is in seconds and Y is expressed in
units of 10 ms.
2.2.1.21 Get igmp port stats
Description: Display IGMP port stats.
Command Syntax
$ get igmp port stats [portid portid]
Parameters
[portid] subscriber port ID
Note: <1..24, 97..98 in DAS-3224>, <1..48, 97..98 in DAS-3248>
2.2.1.22 Get igmp vlan stats
Description: Display IGMP VLAN stats
Command Syntax
20
$ get igmp vlan stats [cvid cvid]
Parameters: [cvid] user VLAN <1..4093>
2.2.1.23 Get igmp member stats
Description: Display IGMP group member stats
Command Syntax
$ get igmp member stats [grpip grpip] [cvid cvid] [portid portid]
Parameters
[grpip] group IP address
[cvid] user VLAN <1..4093>
[portid] subscriber port ID
Note: <1..24, 97..98 in DAS-3224>, <1..48, 97..98 in DAS-3248>
21
Loading...
+ 50 hidden pages