Command Line Interface for 1813 and 1823 VoIP Gateways, 1862 SIP IAD, and 6212-A1 Router User’s Guide Document Number 1800-A2-GB20-00 June 2005...
Page 2
Command Line Interface User’s Guide Copyright 2005 Paradyne Corporation. All rights reserved. Printed in U.S.A. Notice This publication is protected by federal copyright law. No part of this publication may be copied or distributed, transmitted, transcribed, stored in a retrieval system, or translated into any human or computer language in any form or by any means, electronic, mechanical, magnetic, manual or otherwise, or disclosed to third parties without the express written permission of Paradyne Corporation, 8545 126th Ave.
Page 3
This instruction guide introduces the command line interface (CLI) for the Telnet management of the 1813 and 1823 VoIP Gateways, the 1862 SIP IAD, and 6212 Router. If your device has a console port, you can also access the CLI from a VT100 terminal or equivalent (such as a PC running Hyperterminal or Telix).
Command Line Interface User’s Guide Table of Contents CHAPTER 1 TELNET ACCESS ... 10 ETTING A OMMON ... 12 OGIN CHAPTER 2 GENERAL OPERATION... 13 CLI R ... 13 EFERENCE ... 14 ENERIC 2.2.1 ls... 14 2.2.2 help... 14 2.2.3 accountstats...
Page 5
3.2.3 PART 3 Set up an IP address for the WAN interface... 31 3.2.4 PART 4 Delete the PVC to RFC 1483 Routed ... 31 A... 32 3.3.1 PART 1 create a new PVC ... 32 3.3.2 PART 2 Set the PVC to IPoA ... 32 3.3.3 PART 3 Delete the PVC for IPoA ...
Page 6
Command Line Interface User’s Guide 4.10 ... 46 INGS 4.11 ... 47 4.12 OICE ONFIGURATION 4.12.1 Voice Options... 47 4.12.2 Jitter Buffer Configuration ... 48 4.12.3 Country ... 48 4.13 HONE PERATIONS 4.13.1 Normal Call Hold ... 48 4.13.2 Consultation Call Hold ... 49 4.13.3 Call Resume ...
Command Line Interface User’s Guide Chapter 1 Telnet Access The Command Line Interface (CLI) can be used to configure your endpoint device. Telnet is used to access the CLI. To Telnet to the device, you can either set your PC’s IP address to the same domain as the endpoint, or set the endpoint’s IP address to the same domain as your PC.
Page 11
You can modify the IP address of your PC by from its TCP/IP definition. Follow the steps below: STEP 1: Enter the TCP/IP screen. (Under Windows XP, for example, click on Control Panel from the Windows Start menu. Double-click on Network Connections.Right-click on Local Area Connection and select Properties.
Command Line Interface User’s Guide 1.2 Login To access Telnet to manage your endpoint, complete the following steps: The default IP address is 192.168.1.1. Use the default IP address to log on to the endpoint if it was not changed. STEP 1 Make sure that the endpoint and your PC are on the same network segment.
Command Line Interface User’s Guide Chapter 2 General Operation 2.1 CLI Reference All the system commands for various modules are organized in different directories. All these directories are put under the directory called home. However, they can be listed using the ls command.
Command Line Interface User’s Guide 2.2 Generic The CLI provides generic commands for navigating between directories, listing the commands in a directory, and providing help. All the generic commands can be executed from any directory. 2.2.1 When you enter a directory, you can use the ls command to display the available commands. It lists all the commands registered in the current working directory.
The following screen is an example of displaying the usage for the rip command. [1234 @ home]$ help -o rip DESCRIPTION Contains RIP related commands USAGE If nothing is specified, it displays information about all general commands. 2.2.3 accountstats accountstats modulename This command displays accounting details of the specified module.
Command Line Interface User’s Guide 2.2.6 date date This command displays the endpoint date and time. EXAMPLE [1234 @ home]$ date DATE (MM:DD:YYYY) 1:10:2002 TIME (H:M:S) 4:56:59 2.2.7 erase erase This command erases all the configurations in the system. That means the factory default settings are retrieved.
COMMAND DESCRIPTION address destination IP address you wish to ping in the form x.x.x.x, where each x is a decimal number 0 to 255. size Data size to ping the host. The accepted size is 56 bytes to 1492 bytes. EXAMPLE 2.2.11 time...
Command Line Interface User’s Guide 2.3 logger logseverity logftpserver loginfo logadd 2.3.1 logSeverity logseverity -o error/info on/off This command is used to set the trace for the log severity level. COMMAND DESCRIPTION error/info This option specifies the severity level. on/off This option specifies weather the trace is set or not.
Command Line Interface User’s Guide This command displays the configured logger information. This will contain the trace information, ftpserver, and login information. EXAMPLE [1234 @ logger]$ loginfo Error Trace Info Trace Server Address User Name Password 2.4 User Account A default user account is provided to configure, maintain, and operate the endpoint in HTTP (web), CLI, and FTP modes.
Page 21
The two access privileges are admin and ordin. The admin privilege provides full right including read and write accesses. The ordin privilege only allows reading and monitoring the parameters via http or cli. An ftp user must have an admin privilege. adduser adduser username -o -services [services] -permissions [permissions] services : [cli/ftp/http]...
Page 22
Command Line Interface User’s Guide COMMAND DESCRIPTION <username> The name of the user whose services or permissions are to be modified. EXAMPLE -addservices <cli | ftp | http> Adds cli, ftp, or http services to the user. -delservices <cli | ftp | http> Removes cli, ftp, or http services from the user.
listusers listusers The listusers command lists all registered users to use cli/http/ftp. EXAMPLE [1234 @ auth]$ listusers 1234 cli http ftp ADMIN pppoe http maylyne pizza cli ftp [1234 @ auth]$ resetuser The resetuser command resets the user password. This is an administrators command; ordinary users can not use this.
Command Line Interface User’s Guide To set up an IP address and subnet mask for the Ethernet interface, use the following command after the prompt of [1234 @ home]$. ifconfig -o <interface-name> inet <address> [parameters] ifconfig -o -a displays the information of the interfaces ifconfig -o -l parameters- mtu <n 72-1500>, broadcast <address>, netmask <mask>, up, down COMMAND DESCRIPTION...
2.5.2 Alias IP Address To set up the alias IP address, use this command: [1234 @ home]$ ifconfig –o <interface name> inet <address> alias netmask <address> EXAMPLE [1234 @ home]$ ifconfig -o eth0 inet 172.1.1.1 alias netmask 255.255.255.0 The above example assigns an alias IP address of 172.1.1.1 with a 24-bit subnet mask to the eth0 interface.
Command Line Interface User’s Guide EXAMPLE add 0x112233445566 192.168.3.4 Adds the H/W address and IP Address mapping in the database. 2.6.2 delete delete <0xH/Waddress > Deletes an entry in the existing RARP DataBase. <0xH/Waddress > Hardware address in hexadecimal format. EXAMPLE delete 0x112233445566 Deletes mapping of H/W address 11:22:33:44:55:66 to IP Address, from the database.
2.6.4 rarpd rarpd <-a | interface> The rarpd command starts the RARPD on the specified interface or all the interfaces. EXAMPLE rarpd eth0 This command starts the RARPD on eth0 interface. rarpd eth0 If RARPD is already running the above command, it displays: “Rarpd is already running on the interface”...
Page 28
Command Line Interface User’s Guide COMMAND DESCRIPTION <value> The baud rate of the console session. 0 represents 9600 bps; 1 represents 38400 bps; 2 represents 57600 bps. 3 represents 115200 bps. EXAMPLE baudrate 3 The baudrate command configures the baud rate to 115200 bps. 1800-A2-GB20-00...
Chapter 3 Quick Configuration This chapter describes how to configure the endpoint for the first time using the CLI. The endpoint can work after these settings are complete. 3.1 RFC 1483 Bridged To enable the bridging function of the endpoint, enter the sndcp directory from the prompt of [1234 @ sndcp]$.
Command Line Interface User’s Guide 5. Type bridge enable. 6. If the bridge prompt pops up, a PVC 0/35 is successfully enabled for the RFC 1483 Bridged mode. 3.1.3 PART 3 Delete the PVC for RFC1483 Bridged To delete the PVC set up for the RFC 1483 Bridged, you must delete the service first under the bridge prompt.
3. At the atm prompt, type home or exit to return to the home prompt. 3.2.2 PART 2 Set the PVC to RFC 1483 Routed 1. Return to the home prompt. 2. Type sndcp to enter the sndcp prompt. 3. Type routedbridge atm0 enable 0 35 -o -enc LLC. In this case, atm0 is used. You can choose other atm interface if you wish.
Command Line Interface User’s Guide 3.3 IPoA 3.3.1 PART 1 create a new PVC 1. Type atm at the home prompt to enter the atm directory. 2. Type vcadd 0 35 ubr aal5 3. At the atm directory, type home or exit to return to the home prompt. 3.3.2 PART 2 Set the PVC to IPoA 1.
4. If the sndcp prompt pops up, a PVC 0/35 is successfully created for the IPoA mode. 3.3.3 PART 3 Delete the PVC for IPoA To delete the PVC set up for IPoA, you must delete the profile first under the sndcp prompt. Secondly, delete the VC under the atm prompt.
Command Line Interface User’s Guide The pppoe command covers the settings for the PPPoE entry number, encapsulation type, timeout period, authentication, user name, password, VPI, VCI, and NAT. You can complete a PPPoE entry by typing this command that covers these basic settings. If you need a complete setting, refer to the usage instruction above.
3.5 PPPoA 3.5.1 PART 1 Create a new VC 1. Type atm to enter the atm directory. 2. Type vcadd 0 35 ubr aal5 3. At the atm prompt, type home or exit to return to the home prompt. 3.5.2 PART 2 Set the PVC to PPPoA 1.
Command Line Interface User’s Guide The pppoa command covers the basic settings for the PPPoA profile number, encapsulation type, timeout period, authentication, user name, password, VPI, VCI, and NAT. You can complete a PPPoA entry by typing this command that covers these basic settings. If you need a complete setting, refer to the usage instruction above.
3. Type 1483mer to display the command to set up an MER entry. The command usage is shown below. For the port parameter specified in the command, always type mer0. Only one MER entry can be created. EXAMPLE 4. If the sndcp prompt pops up, a PVC 0/35 is successfully created for MER mode. 3.6.3 PART 3 Set up an IP address for the WAN interface 1.
Command Line Interface User’s Guide Chapter 4 Command Line Interface SIP SIP Configuration 4.1 SIP Host (User Agent) 4.1.1 Configuration Command syntax: confighost <Interface> -o [-up <useproxy(yes/no)>] Usages: This command configures binding interface and proxy info for Host. Description: Interface: Binding interface of SIP User-Agent useproxy: Option of Using Proxy/Registrar server if it is configured.
4.2 SIP Proxy/Registrar Server 4.2.1 Configuration Command syntax: configproxyreg <proxy/register Addr> -o [-p <proxy/register Port>] Usages: This command configures the Proxy/Registrar Server host address and Port Number. Description: Address: Ip Address or FQDN of outbound SIP-Proxy/Registrar server . Port: Port Number of SIP-Proxy server where it will Receive all the SIP messages.
Command Line Interface User’s Guide 4.5.2 Displaying Command syntax: listphones Usages: Display the Configured sip parameters of all the configured phones. Example: #### PHONELIST #### port User DispName Expires QValue Codec Frame CallerID DTMF ---------------------------------------------------------------------------- Buddy List (List of remote user(s) one wish to call, only works when not using proxy) 4.5.3 Configuration Command syntax:...
4.5.4 Displaying Command syntax: listbuddy Usages: List all the Configured buddy with their information . Example: #### BUDDYLIST#### Index Name Host Dial Port DispName -------------------------------------------------- 5551234 192.168.1.2 4.5.5 Deleting Command syntax: Usages: Delete the Configured buddy information in the Buddy List according the specified index.
Command Line Interface User’s Guide username: Host Ipaddr: Example: Configcf 1 102 192.168.1.102 Command syntax: Usages: To enable call forward to the given port only when the configuration is done. Example: callforward 1 -o -cf yes -uf yes 4.6.2 Displaying Command syntax: listcf Usages:...
The configcf command is used to configure the authentication username and password. Description: portnumber: username: password: Example: configauth 1 123 abc 4.7.2 Displaying Command syntax: listauth Usages: Display the authentication information. Example: #### AUTHLIST#### --------------------------------- 4.8 Registration Command syntax: register <PortNumber> Usages: send Register request to Registrar server and phone corresponding to the port number is registered with proxy/registrar.
Command Line Interface User’s Guide Presently Valid values are 1or 2. Example: register 1 4.9 Inter-digit Timeout Command syntax: digitimeout <sec> Usages: Used to set inter digit timeout value. Description: Inter digit timeout value, valued value are from 1 to 10, 0 to disable. sec: Example: digitimeout 4...
4.13.2 Consultation Call Hold This feature enables the user to hold his conversation and allows making a new connection (consulting connection) to another user. User by pressing * key followed by 2(Normal Hold) and dialing a valid number after getting dial tone invokes consultation.
Command Line Interface User’s Guide Chapter 5 Advanced Configuration 5.1 Static Route To set up the static route, type route at the prompt to display the static route commands. These commands are used to add, delete, modify, and flush the static route table. route add -o -dest {dest ip addr} -gateway {gateway ip addr} [{-option value}*] route add -o -dest {dest ip addr} -interface {interface name} [{-option value }*] route delete -o -dest {dest ip addr}...
5.2 Ethernet The ethernet command is used to configure the Ethernet interface parameters. Ethernet commands are located in the “ethernet” directory. setemac rmon pread pwrite elink down stat 5.2.1 MAC Address setemac <xx:xx:xx:xx:xx:xx> This sets up the MAC address. In order for the MAC changes to take effect, the configuration must be saved (using ‘save’command in the home directory) and the system rebooted.
Command Line Interface User’s Guide 5.2.2 rmon This command reads the MAC RMON counters. Type rmon eth0 at the prompt to collect the Ethernet interface statistics. 5.2.3 pread pread <interface> <port(decimal)> Reads PHY register EXAMPLE [1234 @ ethernet]$ pread eth0 1 Register 1 value 0xffff Displays the register 1 value of eth0 interface.
5.2.5 elink elink <interface> -o [[auto] | [10 | 100 | auto_speed ] | [half | full | auto_duplex] The elink command configures the speed and/or duplex of the Ethernet interface. The default setting is auto for auto negotiation. With auto negotiation, both the speed and duplex are configured based upon what the link is connected to.
Command Line Interface User’s Guide 5.2.6 Ethernet up/down The default setting of the Ethernet function is enabled. To disable it, use the down eth0 command. To enable it, use the up eth0 command. When the Ethernet interface is disabled, the telnet or web session will be terminated.
This disables the ARP proxy 5.3.2 pvc add/delete port vpi vci encapsulation -o <-vpn OUI vpnId> The pvc command attaches a PVC to the WAN interface. COMMAND DESCRIPTION This adds the specified PVC to the bridge. delete This deletes the specified PVC to the bridge. <port>...
Command Line Interface User’s Guide If the bridge group was already set up, to configure the new group, delete the previous group by using the bridge delete command, and then group the new interfaces you wish to the bridge. The group and group3 commands are similar functions, but they group different number of interfaces to the bridge.
If the bridge group was already set up, to configure the new group, delete the previous group by using the bridge delete command, and then group the new interfaces you wish to the bridge. COMMAND DESCRIPTION interface_name The name of an interface e.g. eth0, atm0… atm1 etc. EXAMPLE group eth0 atm0 atm4 The interfaces eth0, atm0, and atm4 are assigned to the bridge.
Command Line Interface User’s Guide 5.3.7 list list Lists bridge parameters. EXAMPLE 5.3.8 stats stats Displays bridge statistics. EXAMPLE 5.3.9 bridge bridge enable | disable | delete Enables, disables, or deletes the configuration of the bridge. 5.3.10 vstats vstats lists the VLAN groups. 1800-A2-GB20-00...
5.3.11 vlantable vlantable groupNumber(0 - 3) -o ethernetPort(1 - 4) -atm vci vpi configures the VLAN groups. Up to four groups (0-3) can be set up, and four Ethernet ports (0- 3) can be joined to these groups. COMMAND DESCRIPTION groupNumber(0 - 3) There are four groups.
Command Line Interface User’s Guide enables VLAN disables VLAN 5.3.13 fdbmode fdbmode [single/multi] configures the forwarding database learning type. COMMAND DESCRIPTION multiple The learned entries will be distributed to five databases, (VLAN 1~4 and non-VLAN) single The learned entries will be collected into a single database. 5.3.14 igmpsnooping igmpsnooping on/off...
Page 61
COMMAND DESCRIPTION <portname> A string identifying the port e.g. eth0, atm0 -priority <priority> A positive integer indicating the port priority. Must be a value between 0 and 255. -linkcost <linkcost> A positive integer indicating the cost associated with the port. The value can range from 0 to 65535.
Command Line Interface User’s Guide span span enable | disable Enables to disable the spanning tree protocol. list list Lists the spanning tree configuration. 5.3.16 filter filter <action> <mac_address> -o [-fwd | -drop] Configures the filtering capability of MAC addresses for the bridge. Up to 128 addresses may be specified.
filter modify 2:3:4:4:5:2 -o -drop Change the filter action for MAC address 2:3:4:4:5:2 to drop. 5.3.17 filterlist filterlist Lists the contents of the filter database. EXAMPLE 5.3.18 filterflush filterflush Flush the dynamic entries of the filter database. 5.3.19 l2_list List the layer 2 entries. EXAMPLE [1234 @ bridge]$ l2_list L2 Module is [enable]...
Page 64
Command Line Interface User’s Guide ifname -act allow|deny l2_fil del -o priority_number Sets up the layer 2 filter. L2 Filters for this endpoint are based on MAC addresses. COMMAND DESCRIPTION <priority> This is the priority level of the rule, smaller numbers have higher priorities, if a conflict between rules occurs.
5.4 SNMP The SNMP commands allow listing and setting of current SNMP configuration. list sysconf shutdown start comconf delcomm trapconf agconfig trap 1800-A2-GB20-00 Command Line Interface User’s Guide...
Command Line Interface User’s Guide 5.4.1 list list This command lists the current SNMP configuration like system version, system contact, System location, system id etc. EXAMPLE 5.4.2 sysconf sysconf [-d] [-c] [-l] [-i] value -d: System Version Description -c: System Contact -l: System Location -i: Assigned Enterprise Number The sysconf command configures system version description, system contact, system location,...
EXAMPLE [1234 @ snmp]$ sysconf -d office1 This command configures the system version description to office1. 5.4.3 shutdown shutdown This command shuts down the SNMP agent. To configure the SNMP agent, shut down the agent first. 5.4.4 start strat This command starts the SNMP agent. 5.4.5 comconf comconf $ipaddress $community_name -o $access...
Command Line Interface User’s Guide COMMAND DESCRIPTION $index Community index in list. The index number can be displayed using the list command. EXAMPLE delcomm 0 5.4.7 trapconf trapconf [1][2] $IPADDRESS $community this command sets up the SNMP trap 1 and trap 2 COMMAND DESCRIPTION SNMP Version 1 SNMP Version2...
5.4.9 agconfig agconfig $interface -o $port This command sets up the SNMP agent COMMAND DESCRIPTION $interface interface on which agent will run, such as eth0, mer0, atm0….atm7, and ppp0….ppp7. $port Port Number (the default port No is 161) EXAMPLE agconfig atm0 -o 121 If the SNMP agent is running, to configure its parameters, first shut it down by using the shutdown command, and then you can configure the parameters.
Command Line Interface User’s Guide Alias only unregistered addresses -same_ports [yes|no] Try to keep original port numbers for connections -status Display currently configured NAT options -disable Disable NAT -enable Enable NAT 5.5.8 publicip publicip publicip add/delete <public address> publicip list NAT Public Address Configuraton COMMAND DESCRIPTION publicip add/delete <public address>...
Command Line Interface User’s Guide COMMAND DESCRIPTION spoof list : list the all the trusted and untrusted interfaces along with status spoof enable : Enable spoof protection spoof disable : Disable spoof protection spoof eth1 trusted : Set eth1 as trusted interface spoof eth1 untrusted : Set eth1 as untrusted interface 5.5.12...
Traffic Name Weight (%) --------------------------------- Default Medium High Critical Real Time Premium Urgent 5.5.15 Attach attach attach <interface_name> -o linkspeed <kbps> admission <yes/no> borrow <yes/no> ackpriority This command is used to attach an interface to WFQ. Default Link Speed : Baud rate of the interface Default admission: no Default Borrow: yes Default AckPriority : Disable...
Command Line Interface User’s Guide ackpriority <enable/disable> ACK packet can be transferred first. EXAMPLE attach adsl0 –o linkspeed 800 admission no borrow yes ackpriority no 5.5.16 listwfq listwfq This command is used to show all configured WFQ EXAMPLE listwfq Interface Information: ---------------------- Name Link Speed Admission Borrow Ack Priority adsl0 800...
EXAMPLE remove adsl0 5.5.18 qstat qstat qstat $interface_name This command is used to show queues statistics on a interface. 5.5.19 createtc createtc createtc <dfmark/dfnomark> <priority_class> -o assuredbw <value> maxbw <value> This command is used to create a Traffic Conditioning rule. COMMAND DESCRIPTION <dfmark/dfnomark>...
Command Line Interface User’s Guide This command is used to delete TC. EXAMPLE deletetc all 5.5.21 listtc listtc listtc <action_id/all> This command is used to list the TC rule. EXAMPLE Listtc all ActionId DF-Marking Priority Assured BW(kbps) Max BW(kbps) --------------------------------------------------------------- dfnomark Critical NA ---------------------------------------------------------------...
attack enable/disable <attack_type> attack list This command is used to setup rules to avoid some attacks from network. COMMAND DESCRIPTION attack set <attack_type> [<threshold> <timeout>] Set the attack type rule with threshold and timeout value. attack enable/disable <attack_type> Enable or disable the rule of the attack type. attack list List the current attack list.
Command Line Interface User’s Guide 5.6.1 natif natif [enable/disable/list] -o ifname The natif command enables or disables the dynamic NAPT for the WAN interface (e.g., atm0, ppp0, mero…), or displays the interface status. EXAMPLE natif enable -o mer0 enables NAPT for mero. natif disable –o atm0 disables NAPT for atm0.
Page 81
unregistered_only nat -o -unregistered_only [yes|no] If yes, only the outbound packets with unregistered source IP addresses are translated. All the outbound packets with the registered source IP addresses are forwarded on the WAN interface without translation. This is useful if you have one more subnet having a registered IP address that shares the common WAN link with the subnet having an unregistered IP address.
Command Line Interface User’s Guide nat -o –alias_address 202.54.30.50 This command configures alias address as 202.54.30.50 and maps this IP address to a interface and takes that as NAT interface. ifa network_if_name This command configures the specified WAN interface to use dynamic Network Address Translation.
[<public_addr>] Maps one or more single local IP addresses to a public IP address. One to one mapping is used for both inbound and outbound connections and many to one mapping are used only for outbound connections. For outbound connections, the packets matches a static link then it creates dynamic link with that static link information on outgoing path.
Command Line Interface User’s Guide This option is used to add or delete the portmap link. tcp | udp This option specifies whether the ports numbers for these arguments are TCP or UDP port numbers. <local_addr>:[<port>/<port range>] The IP address (local_addr) of the machine on the local LAN that the packet will be directed to. The value of the destination port in the packet header is specified by port or the port should fall in the specified range of ports.
The local_addr specified in the addrdaddr command. If the local address is a single address or a subnet address, the user should specify the local address/subnet address. If it is a range of addresses, the user should specify the first address in the range. Removes an address mapping that was specified in the addressmap command.
Command Line Interface User’s Guide addpublic 217.15.52.34 This command enters the public IP address 217.15.52.34 into the pool. 5.6.9 delpublic delpublic <index> This command removes the entered IP addresses specified by index. 5.6.10 listpubaddrs listpubaddrs This command lists the public IP addresses that were configured with addpublic 5.7 HTTP proxy httpproxy -o [enable/disable] [-stat] [-display] [-auth [enable/disable]] Proxy servers restrict users from communicating directly with the public servers.
httpproxy -o –display This option is used to display the configured information of httpproxy. httpproxy -o -stat This option is used to display the statistics of the connections passing through the httpproxy, including inbound packets, outbound packets, inbound bytes, and outbound bytes. httpproxy -o -auth[enable/disable] This option is used to enable or disable the authentication module in httppproxy.
The amount of time the DHCP lease of the IP address will last. This is specified in days. The default is 7 days. -broadcast <broadcast-address> The IP broadcast address that the server will listen to for DHCP requests. By default a standard broadcast address for the subnet is used.
Command Line Interface User’s Guide EXAMPLE host add -o -macaddr 00.00.00.d1.26.95 -ipaddr 192.168.5.34 This command specifies that the machine with the MAC address of 00.00.00.d1.26.95 will be assigned the IP address 192.168.5.34. host delete -o -macaddr 00.00.00.d1.26.95 This command removes this host configuration for the machine with the MAC address of d1.26.95.
This option shows the status of the DHCP Relay. 5.10 ADSL Commands for setting and viewing ADSL parameters are in the “adsl” directory. 5.10.1 setmode setmode <mode> [-trellis on/off] [-vendor default/broadcom/gsv/infineon/ti] -o [-bitswap on/off] This command sets the mode of the ADSL link to ANSI (T1.413), G.DMT, G.Lite, or multi- mode.
Command Line Interface User’s Guide 5.10.3 writecmv writecmv <cmv_index> <offset> <value> The ADSL Configuration and Management Variables (CMV) can be written with the writecmv command. The CMV variables are documented in “CMV Reference Manual”. This command will take effect only after the link is reconnected. COMMAND DESCRIPTION <cmv_index>...
The offset value which is a decimal in the range of 0 to 65535. <value> Value of the CMV. Value is expected in hexadecimal format. <command> Type of operation ( Read or Write ). <msgid> Message Id in decimal digits. 5.10.6 delusercmv delusercmv <index>...
This command terminates the ADSL link 5.10.14 tone tone <offset1> <offset2> Options offset1 and offset2 are the numeric value from 0 to 287 EXAMPLE To read all the tone information, enter the command: tone 0 287 To read the tone 11 to 20 information, enter the command: tone 11 20 5.10.15 bitalloc...
Command Line Interface User’s Guide 5.11 ADSL2+ CLI 5.11.1 Configuration Command syntax: setmode <Hex value> Usages: This command sets the mode of the ADSL link to ANSI (T1.413), G992.1(G.dmt), G992.2(G.Lite), G992.3(ADSL2), G992.5(ADSL2+) or multi-mode. After executing this command, the configuration can be saved and the next time the machine is rebooted, the mode will take effect.
5.11.2 Displaying Command syntax: Usages: It displays the state of the ADSL connection. It only gives meaningful information when the link is Example: ADSL Monitoring is Successful. The values are: adslLineStatus : OPERATIONAL adslMode : G992_5_A Upstream = 1016 Kb ( Interleave ) Downstream = 23996 Kb ( Interleave ) ====================================================== DIAG Info...
Command Line Interface User’s Guide 5.12 DNS list help dnsr Commands for setting DNS parameters are in the “dns” directory. From the “home” directory, type “dns” to enter the directory. The available commands are shown below after typing ls. Among the commands, help is used to give instructions about how to use the other commands. 5.12.1 list list...
[cli @ dns]$ set –n1 137.23.41.2 This command sets the primary name server for DNS queries. [cli @ dns]$ set –n1 0 This command removes the primary name server. 5.12.3 dnsr dnsr start -o [<server1>] [<server2>] dnsr stop -o [<server1>] [<server2>] This command enables/disables the DNS relay function.
[1234 @ home]$ igmp -o -proxyif eth0 [1234 @ home]$ -routerif <interface> This option sets the router interface. Typically a WAN interface (ATM0, PPP0) is specified. When the router interface is successfully configured, the home prompt displays. EXAMPLE [1234 @ home]$ igmp -o -routerif atm0 [1234 @ home]$ -deleteif <interface>...
5.14 Rip RIP is a protocol that automatically updates the routing entries on the system. This is done by cooperating with other nearby routers. The RIP commands are located in the “rip” directory. Two commands are available: rip and ver. In order for any configuration changes to take effect, the configuration must be saved (with “save”...
Command Line Interface User’s Guide 5.15 SNDCP The SNDCP commands are located in the sndcp directory. routedbridge ipoa list pppoe pppoealive onetime pppoestart pppoestop pppoelist pppoedefault pppoa pppoedel pppoadel pppoastart pppoastop pppoalist pppoadefault liststat ppptrace 1483mer relay 5.15.1 pppoe pppoe <profile> -o <-if Interface> <-encap Encapsulation> <-restarttime Timeout> <-auth Auth>...
Page 103
Command Line Interface User’s Guide COMMAND DESCRIPTION profile Profile number to configure. Specify an integer number from 0 through 7. Interface Interface name with unit number. Eight PPP interfaces are available: ppp0, ppp1, ppp2, ppp3, ppp4, ppp5, ppp6, ppp7. These interfaces are configured for the PPPoE and PPPoA services. Encapsulation Encapsulation type (LLC or VC) Timeout...
Command Line Interface User’s Guide The ATM vpi value which was assigned in a vcadd command or listed in a atmshowconn command. The ATM vci value which was assigned in a vcadd command or listed in a atmshowconn command. mask This specifies the netmask for the PPP interface.
This command configures the specified profile as the default PPPoE connection. This profile must be using “auto” mode. Out of all the profiles which are using the “auto” option, only one can be run at a time. This command is used to specify that profile. If the “pppoedefault” command is not used, the first profile that used the “auto”...
Page 106
Command Line Interface User’s Guide COMMAND DESCRIPTION <profile> Profile number to configure. Specify an integer number from 0 through 7. interface Interface name with unit number. Eight PPP interfaces are available: ppp0, ppp1, ppp2, ppp3, ppp4, ppp5, ppp6, and ppp7. These interfaces are configured for the PPPoE and PPPoA services. Encapsulation Encapsulation type (LLC or VC) Timeout...
This enables or disables NAT (Network Address Translation) for this PPP interface. The default is for NAT to be disabled. mask This specifies the netmask for the PPP interface. The mask is specified in dot notation (i.e.255.255.255.0). OUI vpnId This specifies the VPN encapsulation. The OUI (Organizationally Unique Identifier) and VPN identifier are specified as numbers.
Command Line Interface User’s Guide 5.15.12 pppoadefault pppoadefault <profile> This command configures the specified profile as the default PPPoA connection. This profile must be using “auto” mode. Out of all the profiles which are using the “auto” option, only one can be run at a time.
Page 109
COMMAND DESCRIPTION interface The name of the WAN interface. Typically this is ‘atm0’. enable This enables this IPoA interface. disable This disables this IPoA interface. <vpi> <vci> These are the vpi and vci values on which ipoa has to be enabled/disabled. Vpi and vci are assigned with the vcadd command.
Command Line Interface User’s Guide 5.15.15 routedbridge routedbridge <interface> disable <vpi><vci> routedbridge <interface> enable <vpi><vci> -o <-enc encapsulation> <-vpn OUIvpnId> This command configures the specified WAN interface to use Routed Bridge which is RFC 2684 routing. Note the Maximum Transfer Unit (MTU) for the Routed Bridge is 9182. COMMAND DESCRIPTION interface The name of the WAN interface.
This command configures the specified WAN interface to use 1483MER (MAC Encapsulation Routing). The “mer” command is used to enable the configuration. COMMAND DESCRIPTION port The MER interface name (mer0). Vpi vci These are the vpi, vci values on which the 1483 is configured. vpi,vci are assigned with the vcadd command.
Command Line Interface User’s Guide enable This enables the PPPoE Relay feature. disable This disables the PPPoE Relay feature. -display This displays the PPPoE Relay configuration. 5.15.19 liststat liststat bridge | routedbridge | ipoa | pppoe | pppoa This command lists the statistics of the specified module. 5.15.20 ppptrace ppptrace [on | off ]...
5.16.1 showatmconn showatmconn This command lists the existing PVCs. EXAMPLE 5.16.2 vcadd vcadd <vpi> <vci> <service> <encaps> -o -peak <val> -avg <val> -mbs <val> -cdvt <val> This command establishes a Permanent Virtual Circuit (PVC) with the specified traffic descriptors. The service specifies the traffic type of the PVC. Permissible values are: cbr, rtvbr, nrtvbr, or ubr.
Command Line Interface User’s Guide This option defines the fastest rate a user can send cells to the network. It is expressed in units of cells per second. -avg <value> This option defines the maximum sustainable/average rate a user can send cells to the network. It is expressed in cells per second.
Peak cell rate (in cells/s) <avg val> Average/minimum (SCR) cell rate (in cells/s) <mbs val> Burst size in cells <cdvt val> Cell delay variation tolerance (in micro secs) 5.16.4 deletevc deletevc <vpi> <vci> This command deletes the specified PVC. The PVC is identified by the vpi / vci values. EXAMPLE deletevc 0 39 This command deletes a PVC with vpi=0 and vci=39.
Command Line Interface User’s Guide The loopback identifier. This is specified as 32 hex digits. The default is: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5.17 remote web/telnet/ftp/snmp remote [web|telnet|ftp|snmp] [on|off] This command enables or disables the remote access via web, telnet, ftp, or snmp. EXAMPLE remote web on This command enables the remote web access.
Page 117
Priority is mandatory parameter for configuring rule in ACL. By specifying priority we can prioritize rule in Access Control List. The priority values range from the highest priority 1 to the lowest priority 65535. <PERMISSIONS> This is a mandatory parameter for configuring a rule in ACL. By using this permission parameter we can specifies action for specific rule.
Command Line Interface User’s Guide Video files: Video: generic for all video files .mpg, .mpeg: video/mpeg (specific) -TIMEOFDAY <DAY1> <TIME1> <DAY2> <TIME2> This option is used filter the connections using the specified time. We can specify the day and time.DAY1 and DAY2 should be in string format like sun, mon, tue, wed, thu, fri, sat. TIME1, TIME2 should be in the hh:mm (24:00 hr format).
5.18.3 listacls listacls <module> This command is used to displays the acls for the specified module. EXAMPLE listacls httpproxy This command displays all the acls configured for httpproxy. 1800-A2-GB20-00 Command Line Interface User’s Guide...
Command Line Interface User’s Guide Chapter 6 Performance Monitoring 6.1 Bitmap This bitmp command shows the allocation status of bitmaps like sockets, mbuffs and clusters. 1800-A2-GB20-00...
6.2 Statistic The statistic command collects the information about IP, TCP, UDP, and ICMP protocols. [1234 @ home]$ statistic statistic parameter parameters - IP|TCP|UDP|ICMP|INTERFACE For example, to display the IP statistics, type statistic IP to display the IP information. 1800-A2-GB20-00 Command Line Interface User’s Guide...
Command Line Interface User’s Guide Chapter 7 TFTP Upload & Download The TFTP application provides both upload and download functions for the software and configuration settings. The upload enables the endpoint software (put app) or configurations (put param) uploaded as a file, which can be used for backup and maintenance purposes.
The message “Using octet mode to transfer files” or “using netascii mode to transfer files” displays for your reference. To return to the home prompt, use the bye command. The following sections of this chapter will describe the procedures for the upload and download. In all the examples used in these sections, the TFTP server IP address, 172.16.4.16 and file name are only used for reference.
Command Line Interface User’s Guide 4. The following message pops up if the software upload is successful. putting app to xxx.xxx.xxx.xxx : Sent bytes in seconds tftp> connect 172.16.4.16 connected to : 172.16.4.16 tftp> binary mode set to octet tftp> put app sw2003.bin putting app to 172.16.4.16 : sw2003.bin [octet] Sent 983040 bytes in 3 seconds tftp>...
Page 125
1. At the tftp prompt, type connect xxx.xxx.xxx.xx. tftp> connect 172.16.4.12 connected to : 172.16.4.12 A message, “connected to : xxx.xxx.xxx.xxx,” pops up if successful. 2. Type the transfer mode (binary or ascii). tftp> binary mode set to octet A message, “mode set to octet/netascii,” pops up. 3.
Command Line Interface User’s Guide 7.4 Upgrading the software 1. At the tftp prompt, type connect xxx.xxx.xxx.xx. tftp> connect 172.16.4.12 connected to : 172.16.4.12 A message, “connected to : xxx.xxx.xxx.xxx,” pops up if successful. 2. Type the transfer mode (binary or ascii). tftp>...
7.5 Downloading the Configurations 1. At the tftp prompt, type connect xxx.xxx.xxx.xx. tftp> connect 172.16.4.16 connected to : 172.16.4.16 A message, “connected to : xxx.xxx.xxx.xxx,” pops up if successful. 2. Type the transfer mode (binary or ascii). tftp> binary mode set to octet A message, “mode set to octet/netascii,”...
Command Line Interface User’s Guide Chapter 8 Wireless LAN This chapter is only relevant for devices that have wireless LAN functionality. The parameters listed below are available from the [root @ wlan]$ directory. Wireless LAN Configuration Command syntax: wlancfg get [parameter] wlancfg set [parameter]=[value] Usages: Configures/gets wireless LAN configuration.
Command Line Interface User’s Guide wlancfg get Channel Wireless Association When the endpoint finishes booting, the stations can connect to AP during the “AssocTime” interval. Afterward, if other stations want to connect to AP, please use CLI “association” command to let them connect to AP during the “AssocTime” interval. Command Line Interface 8.3.1 disassoc...
8.3.4 listdevices Command syntax: listdevices Usages: List subscribed devices. 8.3.5 Example Assumption that no station connected to AP. First we set the “AssocTime” interval to 1 minute. And we get the “AssocTime” interval. Then we list subscribed devices. It’s a blank list, because nobody connected to AP.
Command Line Interface User’s Guide [root @ wlan]$ remaintime The remainder association time : 00:40 [root @ wlan]$ listdevices Subscribed devices list =============== Entry =============== Entry #01> 00:0D:88:87:E5:DE [root @ wlan]$ disassoc 00:0D:88:87:E5:DE [root @ wlan]$ listdevices Subscribed devices list =============== Entry =============== Wireless LAN Batch Configuration Command syntax:...
Page 135
Option Apply Note: The end of batch file must be SSID=xxxx. If you Telnet to the endpoint with wireless interface, the Telnet session will be broken by “batch apply.” Example: batch clear batch add -o Channel=10 batch add -o HideSSID=0 batch add -o SSID=Wireless batch apply 1800-A2-GB20-00...
Need help?
Do you have a question about the 6212 and is the answer not in the manual?
Questions and answers