background image

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. The default IP address 
of the endpoint is 192.168.1.1.  

The timeout period of the Telnet session is three minutes. If no command is entered for three 
minutes, the Telnet session is terminated.  

 

1.1

 

Setting a Common IP Address 

To log on to the device using Telnet, your PC and the endpoint should both be on the same 
network segment. You can either modify the IP address of your PC to the same domain of the 
endpoint, or modify the IP address of the endpoint to the same domain as your PC. 

 

You can 

modify the IP address of the endpoint

 by completing the following steps:  

STEP 1:

 Enter a management tool (http or cli) for your endpoint  

STEP 2:

 Change the IP address to the same domain as your workstation.  

STEP 3:

 Save the settings to the flash and reboot the endpoint.  

10                                                                                                                                                                      1800-A2-GB20-00 

Summary of Contents for 1813

Page 1: ...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: ...ation training distributor locations or Paradyne worldwide office locations use one of the following methods Internet Visit the Paradyne World Wide Web site at www paradyne com Be sure to register your warranty at www paradyne com warranty Telephone Call our automated system to receive current information by fax or to speak with a company representative Within the U S A call 1 800 870 2221 Outside...

Page 3: ...console port you can also access the CLI from a VT100 terminal or equivalent such as a PC running Hyperterminal or Telix This manual is written for a range of ADSL products Some specific commands may not be available for all devices For example wireless functions will only be available for products with wireless functionality See the user s guide for your device for information about web based man...

Page 4: ...2 3 1 logSeverity 18 2 3 2 log 18 2 3 3 logFtpServer 19 2 3 4 loginfo 19 2 4 USER ACCOUNT 20 2 5 ETHERNET IP ADDRESS 23 2 5 1 Primary IP address 24 2 5 2 Alias IP Address 25 2 6 RARPD 25 2 6 1 add 25 2 6 2 delete 26 2 6 3 list 26 2 6 4 rarpd 27 2 7 TIMEOUT 27 2 8 BAUDRATE 27 CHAPTER 3 QUICK CONFIGURATION 29 3 1 RFC 1483 BRIDGED 29 3 1 1 PART 1 Create a PVC 29 3 1 2 PART 2 Set the PVC to RFC 1483 B...

Page 5: ...3 6 2 PART 2 Set the PVC to MER 36 3 6 3 PART 3 Set up an IP address for the WAN interface 37 3 6 4 PART 4 Delete the PVC for MER 37 CHAPTER 4 COMMAND LINE INTERFACE SIP 38 4 1 SIP HOST USER AGENT 38 4 1 1 Configuration 38 4 1 2 Displaying 38 4 2 SIP PROXY REGISTRAR SERVER 39 4 2 1 Configuration 39 4 2 2 Displaying 39 4 3 SIP DOMAIN 39 4 3 1 Configuration 39 4 3 2 Displaying 40 4 4 CODECS SUPPORTE...

Page 6: ... ROUTE 50 5 2 ETHERNET 51 5 2 1 MAC Address 51 5 2 2 rmon 52 5 2 3 pread 52 5 2 4 pwrite 52 5 2 5 elink 53 5 2 6 Ethernet up down 54 5 3 BRIDGE 54 5 3 1 arpproxy 54 5 3 2 pvc 55 5 3 3 group 55 5 3 4 group3 56 5 3 5 cachetimer 57 5 3 6 setmultiport 57 5 3 7 list 58 5 3 8 stats 58 5 3 9 bridge 58 5 3 10 vstats 58 5 3 11 vlantable 59 5 3 12 vlanmode 59 5 3 13 fdbmode 60 5 3 14 igmpsnooping 60 5 3 15 ...

Page 7: ... 5 5 10 nataction 73 5 5 11 spoof 73 5 5 12 setwt 74 5 5 13 listwt 74 5 5 14 74 5 5 15 Attach 75 5 5 16 listwfq 76 5 5 17 remove 76 5 5 18 qstat 77 5 5 19 createtc 77 5 5 20 deletetc 77 5 5 21 listtc 78 5 5 22 tcstat 78 5 5 23 firewall 78 5 5 24 attack 78 5 6 NAPT 79 5 6 1 natif 80 5 6 2 links 80 5 6 3 nat 80 5 6 4 addressmap 82 5 6 5 portmap 83 5 6 6 delrdaddr 84 5 6 7 maplist 85 5 6 8 addpublic ...

Page 8: ...own 94 5 10 14 tone 95 5 10 15 bitalloc 95 5 10 16 adslstat 95 5 11 ADSL2 CLI 96 5 11 1 Configuration 96 5 11 2 Displaying 97 5 12 DNS 98 5 12 1 list 98 5 12 2 set 98 5 12 3 dnsr 99 5 13 IGMP PROXY 100 5 14 RIP 101 5 14 1 rip 101 5 14 2 ver 101 5 14 3 list 101 5 15 SNDCP 102 5 15 1 pppoe 102 5 15 2 pppoedefault 104 5 15 3 pppoestart 105 5 15 4 pppoestop 105 5 15 5 pppoelist 105 5 15 6 pppoedel 105...

Page 9: ... 116 5 18 2 deleteacl 118 5 18 3 listacls 119 CHAPTER 6 PERFORMANCE MONITORING 120 6 1 BITMAP 120 6 2 STATISTIC 121 CHAPTER 7 TFTP UPLOAD DOWNLOAD 122 7 1 UPLOADING THE SOFTWARE FILE 123 7 2 AUTO UPGRADE 124 7 3 UPLOADING THE CONFIGURATION FILE 124 7 4 UPGRADING THE SOFTWARE 126 7 5 DOWNLOADING THE CONFIGURATIONS 127 CHAPTER 8 WIRELESS LAN 128 8 1 WIRELESS LAN CONFIGURATION 128 8 2 WIRELESS ASSOCI...

Page 10: ... command is entered for three minutes the Telnet session is terminated 1 1 Setting a Common IP Address To log on to the device using Telnet your PC and the endpoint should both be on the same network segment You can either modify the IP address of your PC to the same domain of the endpoint or modify the IP address of the endpoint to the same domain as your PC You can modify the IP address of the e...

Page 11: ...l Panel from the Windows Start menu Double click on Network Connections Right click on Local Area Connection and select Properties Then select Internet Protocol and select Properties STEP 2 Change the IP address to the same domain as your endpoint which has a default address of 192 168 1 1 and a default subnet mask of 255 255 255 0 For example STEP 2 Click on OK to submit the settings 1800 A2 GB20...

Page 12: ...ype telnet x x x x where x x x x represents the IP address of the endpoint STEP 4 You will be prompted to enter a User Name and Password Enter root for the User Name and 1234 for the Password STEP 5 The first prompt of the CLI interface appears The prompt shows the user name ex 1234 used to log to the endpoint login root Password 1234 home Note If you fail to access the endpoint make sure both you...

Page 13: ...ommand All the administration commands are put in home auth The current working directory s name is included in the command prompt for example 1234 bridge Each prompt consists of two parts user name and directory The two parts are divided by the character For example in the prompt 1234 bridge the first part 1234 is the user logged to the endpoint The second part bridge shows the current working di...

Page 14: ...ommands registered in the current working directory EXAMPLE 1234 ethernet ls A CMD setemac A CMD rmon A CMD pread A CMD pwrite A CMD elink A CMD up A CMD down A CMD stat 1234 ethernet 2 2 2 help The help command is useful when you are not sure of the functions and usages of a command It displays help and usage text for the specified command If nothing is specified it displays help text for all gen...

Page 15: ...ut all general commands 2 2 3 accountstats accountstats modulename This command displays accounting details of the specified module 2 2 4 exit exit If the user is working in the home directory the session is closed Otherwise exit changes the working directory to its immediate parent directory 2 2 5 version version This command displays the endpoint software version EXAMPLE 1234 home version WLAN G...

Page 16: ...nt You must reconnect to the endpoint after you run this command The endpoint will be rebooted with the saved configurations on the flash If you reboot the endpoint without saving the changes those parameters will be lost 2 2 10 ping ping address o s size The utility ping utilizes the ICMP protocol s ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from the specified host or network gateway I...

Page 17: ...rm 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 time The time command reveals the elapsed time of how long the endpoint is powered on EXAMPLE 1234 home time System Elapse Time 23 21 46 1234 home 1800 A2 GB20 00 17 ...

Page 18: ... command will set the trace for the log level error logSeverity o error info on off This command is used to set the specified log level as ON or OFF By default error and info log level messages are off There is no on off option for exception log level messages The exception log messages are always displayed on 2 3 2 log log o all modulename loglevel This command is used to display the logged messa...

Page 19: ...sages logged based on the log level error log o firewall error This command will display the messages logged based on the log level error from the firewall module 2 3 3 logFtpServer logFtpServer server_address username password This command is used to configure the ftp server address user login and password to store the logger messages EXAMPLE logftpserver 192 168 1 100 snaidu 12345 This command w...

Page 20: ... and the default password 1234 To add modify delete or list the user name and password enter the auth directory 1234 home auth At the auth directory you can use the ls command to display the available commands 1234 home auth 1234 auth ls A CMD adduser A CMD deluser A CMD changepasswd A CMD modifyuser A CMD listusers A CMD resetuser 1234 auth There are three management modes and two access privileg...

Page 21: ... system This command asks to set password for the user Only administrators can use this command EXAMPLE 1234 auth adduser mrpizza o services cli permissions ordin Enter password Confirm password User Name Succesfully Added 1234 auth deluser Deluser username Enter this command followed by the name of the user to be deleted Only administrators can use this command EXAMPLE 1234 auth deluser mrpizza S...

Page 22: ...ccessing the system via http modifyuser xyz o addservices ftp delservices http permissions ordin Allows user xyz to access the system via ftp and prohibits that user from accessing the system via http In addition gives the user xyz ordinary permissions In other words user xyz is not an administrator changepasswd changepasswd username Changes password of the existing user This is an administrators ...

Page 23: ...nary users can not use this This command won t prompt for inputting the old password while command changepasswd will EXAMPLE 1234 auth resetuser pppoe Enter New password Confirm New password Password changed 1234 auth Resets the password for user pppoe 2 5 Ethernet IP Address There are two configurable Ethernet interfaces identified with eth0 and eth1 in CLI Each Ethernet interface provides two de...

Page 24: ...ies how much of the IP address is to be reserved for subdividing the network into sub networks which are taken from the host field of the address Netmask is added with the interface IP address to get a network ID that is used in routing to indicate that this network is reachable through these interfaces The mask can be specified as a single hexadecimal number with a leading 0x for example 0xffffff...

Page 25: ...h a 24 bit subnet mask to the eth0 interface 1234 home ifconfig o interface name inet address alias netmask address To delete the alias IP address use this command 2 6 Rarpd add list rarpd delete The rarpd commands are put in the rarpd directory used to get the IP address of diskless system 2 6 1 add add 0xH Waddress IPAddress Used to add Hardware address and IP address into the DataBase COMMAND D...

Page 26: ... 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 3 list list Lists the RARP DataBase entries EXAMPLE 1234 rarpd list H W ADDR IP ADDRESS 11 22 33 44 55 66 192 168 3 4 26 1800 A2 GB20 00 ...

Page 27: ... the above command it displays Rarpd is already running on the interface rarpd a This command starts the RARPD on all the interfaces 2 7 timeout timeout t telnet n seconds The timeout command sets up the timeout period for the telnet session COMMAND DESCRIPTION seconds the timeout period in seconds which can be up to 300 seconds EXAMPLE timeout t 300 The command configures the timeout period to 30...

Page 28: ... 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 28 1800 A2 GB20 00 ...

Page 29: ...he PVC to RFC 1483 Bridged 1 If there is no other RFC 1483 PVC set up you must join the Ethernet interface to an ATM interface atm0 to atm7 Therefore traffic can be transferred between the two interfaces To do this type bridge to enter the bridge prompt By factory default interfaces Ethernet atm7 and wlan0 are joined to the bridge 2 Type group eth0 atm7 In this case atm7 is used You can choose any...

Page 30: ...dge prompt Secondly delete the VC under the atm prompt The following screen is an example 3 2 RFC 1483 Routed There are two major parts to set up a RFC 1483 Bridged PVC The first part is to add a PVC under the atm directory The second part is to assign the new PVC to the RFC1483 Bridged mode under the bridge directory The following is an example of adding an RFC1483 Bridged PVC at 0 35 3 2 1 PART ...

Page 31: ...he sndcp prompt pops up a PVC 0 35 is successfully created for RFC 1483 Routed mode 3 2 3 PART 3 Set up an IP address for the WAN interface 1 Return to the home prompt and type the following command If you need the usage of the ifconfig command type ifconfig 2 If the Ethernet IP address is successfully set up the home prompt pops up 3 2 4 PART 4 Delete the PVC to RFC 1483 Routed To delete the PVC ...

Page 32: ...tory 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 Return to the home prompt 2 Type sndcp to enter the sndcp directory 3 Type ipoa to display the command usage to set up an ipoa entry The command usage is shown below EXAMPLE 32 1800 A2 GB20 00 ...

Page 33: ...the VC under the atm prompt The following screen is an example 3 4 PPPoE 3 4 1 PART 1 Create a new VC 1 Type atm at the home prompt 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 4 2 PART 2 Set the PVC to PPPoE 1 Return to the home prompt 2 Type sndcp to enter the sndcp prompt 3 Type pppoe to display the command usage to s...

Page 34: ... this command that covers these basic settings If you need a complete setting refer to the usage instruction above 4 If the sndcp prompt pops up a PVC 0 35 is successfully created for PPPoE mode 3 4 3 PART 3 Delete the PVC for PPPoE To delete the PVC set up for the PPPoE you must delete the profile first under the sndcp prompt Secondly delete the VC under the atm prompt The following screen is an ...

Page 35: ...e 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 Return to the home prompt 2 Type sndcp at the home prompt to enter the sndcp prompt 3 Type PPPoA to display the command to set up a PPPoA entry The command usage is shown below 1800 A2 GB20 00 35 ...

Page 36: ...ops up a PVC 0 35 is successfully created for PPPoA mode 3 5 3 PART 3 Delete the PVC for PPPoA To delete the PVC set up for the PPPoA you must delete the profile first under the sndcp prompt Secondly delete the VC under the atm prompt The following screen is an example 3 6 MER 3 6 1 PART 1 Create a new VC 1 Type atm to enter the home prompt 2 Type vcadd 0 35 ubr aal5 3 At the atm prompt type home ...

Page 37: ... created for MER mode 3 6 3 PART 3 Set up an IP address for the WAN interface 1 Return to the home prompt and type the following command If you need the usage of the ifconfig command type ifconfig 2 If the WAN IP address is successfully set up the home prompt pops up 3 6 4 PART 4 Delete the PVC for MER To delete the PVC set up for the MER you must delete the profile first under the sndcp prompt Se...

Page 38: ...onfigures 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 Example confighost eth0 confighost eth0 o up yes 4 1 2 Displaying Command syntax listhost Usages Display the Configured Host information Example HostINFO Interface Port Transport UseProxy MaxDigits eth0 5060 UDP NO 14 38 1...

Page 39: ...ion 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 Default Port Number is 5060 Example configproxyreg 192 168 1 254 configproxyreg 192 168 1 254 o p 5060 4 2 2 Displaying Command syntax listproxyreg Usages Display the Configured Proxy Registrar Server information 4 3 SIP Domain 4 3 1 Configuration Co...

Page 40: ...x listdomain Usages Display the Configured Domain information Example Domain LIST Domain paradyne com 4 4 Codecs Supported 4 4 1 Configuration Command syntax configcodecs o PCMU PCMA G729 Usages This command configures Codecs to be supported for the configured User Agent Description PCMU PCMA G729 Name of the Codecs Example configcodecs o PCMU PCMA G729 40 1800 A2 GB20 00 ...

Page 41: ...to build SIP messages for phone s attached to SIP UA to send signaling information to peer Description portNumber port number of the SIP UA to which Phone is attached Presently Valid values are 1or 2 phoneUserName Name of the User who is using the phone connected to above portNumber phoneDisplayName Display Name of the above user expires Time period for registering to Registrar ProxyServer PreferC...

Page 42: ...estIPAddr o d displayName p destPort Usages The BUDDY LIST is used to setup SIP URI of the parties that one wish to call Description speeddial is speedDial number which maps to remote party SIP URI after dialing on key phone pad This should be unique for different SIP URI userName Name of the remote User who is to be contacted destIPAddr is the IP address of the party one wish to call displayName ...

Page 43: ...eletebuddy index Usages Delete the Configured buddy information in the Buddy List according the specified index Example deletebuddy 1 4 6 Call forward 4 6 1 Configuration Command syntax configcf portnumber username Host Ipaddr Usages The configcf command is used to configure the call forward information for the particular phone Description portnumber phone port number for which the configuration w...

Page 44: ...rtnumber o cf yes no uf yes no 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 List all the call forward information Example Call forward configuration port Cf_flag Uf_Flag User_Name Host_Ipaddr NumRings 1 YES YES 102 192 168 1 102 5 4 7 Authentication 4 7 1 Configuration Command...

Page 45: ...uthentication password Password for authentication Example configauth 1 123 abc 4 7 2 Displaying Command syntax listauth Usages Display the authentication information Example AUTHLIST 1 123 abc 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 Description portNumber port...

Page 46: ...s Used to set inter digit timeout value Description sec Inter digit timeout value valued value are from 1 to 10 0 to disable Example digitimeout 4 4 10Max Rings Command syntax maxrings num Usages Used to set max ring numbers for call forward on no reply answer Description num Number of rings for activating CFNR Example maxrings 5 46 1800 A2 GB20 00 ...

Page 47: ...r dialed digits outnumber Out dialing digits Example dialplan o add xxxx 555xxxx dialplan o add 949xxxxxxx xxxxxxx 4 12Voice Configuration 4 12 1 Voice Options Command syntax voiceopt o vad on off plc on off ec on off t val Usages Configuring voice options parameters Description vad Voice Active Detection plc Packet Lose Concealment ec Echo Cancellation t Echo Cancellation Tail Length Example voic...

Page 48: ... 3 Country Command syntax countryopt o c country Usages Used to set display country options Description country Specifies the country AUSTRALIA FRANCE GERMANY JAPAN NETHERLANDS SPAIN TAIWAN USA Example countryopt o c TAIWAN 4 13Phone Operations 4 13 1 Normal Call Hold This feature provides the user to suspend his conversation until he resumes it Pressing key followed by 2 while talking enables thi...

Page 49: ... 4 Call Switch This feature allows user is to switch between the connections if there are 2 calls active at one time User by pressing key followed by 2 then pressing key followed by 5 enables this feature 4 13 5 Call Waiting This feature provides user to switch and talk to two different remote users User by pressing key followed by 2 after hearing intermittent call waiting tone hold the active cal...

Page 50: ...he 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 route change o dest dest ip addr gateway new ip addr route get o dest ip addr route flush options mtu hopcount netmask The command route add o dest dest ip addr interface interface name option value is reserved...

Page 51: ...r for the MAC changes to take effect the configuration must be saved using save command in the home directory and the system rebooted xx xx xx xx xx xx The MAC address in colon separated notation Two hex digits must be supplied between the colons Twelve hex digits comprise a MAC address i e aa bb cc 01 22 05 EXAMPLE 1234 ethernet setemac setemac xx xx xx xx xx xx 1234 ethernet setemac 11 01 0b ab ...

Page 52: ... 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 4 pwrite 1234 ethernet pwrite interface port decimal value hex Writes PHY register 52 1800 A2 GB20 00 ...

Page 53: ...ex COMMAND DESCRIPTION interface The name of the Ethernet interface This is eth0 Auto This specifies that both the speed and duplex are auto negotiated 10 This specifies that the speed is set to 10M bits per second 100 This specifies that the speed is set to 100M bits per second auto_speed This specifies that the speed is auto negotiated half This specifies half duplex full This specifies full dup...

Page 54: ... from the console port 5 3 Bridge The bridge commands sets up the bridge functions covering the following commands They are located in the bridge directory arpproxy pvc group group3 cachetimer setmultiport list stats bridge vstats vlantable vlanmode fdbmode igmpsnooping stp filter filterlist filterflush l2_list l2_fil 5 3 1 arpproxy arpproxy on off The arpproxy command enables or disables the ARP ...

Page 55: ...tual Circuit Identifier for the ATM connection encapsulation This specifies the encapsulation type The possible values are llc or vc which represent Logical Link Control or VC multiplexing respectively vpn OUI vpnId Enable VPN Encapsulation on this interface The OUI Organizationally Unique Identifier and VPN identifier are specified as numbers 5 3 3 group group if if group if if o if The group com...

Page 56: ...0 The interfaces eth0 and atm0 are assigned to the bridge group eth0 atm0 o atm1 The interfaces eth0 atm0 and atm1 are assigned to the bridge 1234 bridge group eth0 atm1 Group Exist or Interface Busy 1234 bridge bridge delete 1234 bridge group eth0 atm0 1234 bridge Bridge group already exists You must delete the group and then assign interfaces eth0 and atm0 to the bridge 5 3 4 group3 group if if ...

Page 57: ...ge Bridge group already exists Delete the group and then assign interfaces eth0 atm1 and atm3 to the bridge 5 3 5 cachetimer cachetimer timeout Specifies the idle timeout for bridge table entries The timeout value is in seconds Whenever there is any traffic passing through bridge bridge will maintain the lookup table with the MAC addresses coming from configured interface through LAN If the traffi...

Page 58: ...st 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 58 1800 A2 GB20 00 ...

Page 59: ...hernetPort 1 Link3 ethernetPort 2 Link2 ethernetPort 3 Link1 ethernetPort 0 3 Each LAN interface can only be attached to one VLAN 0 Ethernet port 1 1 Ethernet port 2 2 Ethernet port 3 3 Ethernet port 4 vci vpi Type the VCI VPI value for the VLAN You can only select from values that have been configured as Bridge mode on the WAN interface EXAMPLE vlantable 0 o 0 1 2 3 atm 0 33 5 3 12 vlanmode vlanm...

Page 60: ...ngle The learned entries will be collected into a single database 5 3 14 igmpsnooping igmpsnooping on off Enables or disables IGMP snooping for VLAN COMMAND DESCRIPTION on enables IGMP snooping off disables IGMP snooping 5 3 15 stp The spanning tree commands are located in the stp directory which is located in the bridge directory port port portname o priority priority linkcost linkcost Specifies ...

Page 61: ...me fwddelaytime fwddelaytime Configuring the bridge wide parameters COMMAND DESCRIPTION priority priority The priority of the individual bridge The value can range from 0 to 65000 The lower the number more the priority hellotime hellotime The time interval between HELLO bridge protocol data unit The time interval can be any value between 1 to 10 seconds maxagettime maxagettime The maximum age of t...

Page 62: ...to be filtered The address is specified by a hex code for each byte separated by a colon For example 00 01 33 44 5F 2C fwd When specified the frame will be forwarded This is the default drop When specified the frame will be dropped EXAMPLE filter add 1 2 3 4 5 6 Forward packets whose MAC destination address is 1 2 3 4 5 6 filter add 2 3 4 4 5 2 o fwd Forward packets whose MAC destination address i...

Page 63: ...r 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 List All Active rule 19 00 00 00 00 00 00 0 01 00 5E 00 00 00 1 1 0000 TxPort 2 wlan0 Deny 5 3 20 l2_fil l2_fil add o pri priority_number src srMac dst multicast dstMac type Eth_type if 1800 A2 GB20 00 63 ...

Page 64: ...by a colon For example 00 01 33 44 5F 2C multicast dstMac This is the destination MAC address of the packet The address is specified by a hex code for each byte separated by a colon If multicast is typed the Multicast MAC address is used for the destination MAC address Eth_type Enter the Ethernet Type in hexadecimal format For example enter 0800 for IP address or enter 0806 for ARP ifname This opt...

Page 65: ...ommand Line Interface User s Guide 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 65 ...

Page 66: ...n 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 and assigned enterprise number 66 1800 A2 GB20 00 ...

Page 67: ...rst 5 4 4 start strat This command starts the SNMP agent 5 4 5 comconf comconf ipaddress community_name o access This command configures the community string COMMAND DESCRIPTION ipaddress IP Address of accessing station community_name community string to access MIB access Type 1 for ReadOnly access or type 2 for ReadWrite access EXAMPLE comconf 10 0 0 1 test o 2 5 4 6 delcomm delcomm index This co...

Page 68: ...f 1 2 IPADDRESS community this command sets up the SNMP trap 1 and trap 2 COMMAND DESCRIPTION 1 SNMP Version 1 2 SNMP Version2 IPADDRESS IP Address of Trap Server community community string to authenticate at manager side EXAMPLE trapconf 2 1 1 1 1 test 5 4 8 trap trap 1 2 enable disable This command enables or disables trap 1 tap 2 EXAMPLE 1234 snmp trap 1 enable 68 1800 A2 GB20 00 ...

Page 69: ...roxies is provided to meet the demanding security needs of today s Internet Stateful firewalls store state and context data which are updated dynamically This provides virtual session information for tracking connection oriented and connectionless protocols Each connection also keeps the set of actions that need to be performed on the packets to avoid the classification process for further IP data...

Page 70: ...oto Protocol nat NAT Action ID This command is used to add firewall rule 5 5 2 policy delete policy delete QoS Policy ID Delete the firewall rule 5 5 3 policy modify policy modify policy modify Policy ID RxIfName TxIfName Sequence Allow Deny srcip a b c d e f g h dstip a b c d e f g h sport p1 p2 dport p1 p2 proto Protocol nat NAT Action ID Modify the firewall rule 70 1800 A2 GB20 00 ...

Page 71: ... IfName2 List the firewall rule EXAMPLE policy set eth0 atm0 2 allow srcip 192 168 1 23 dstip 172 16 1 100 proto tcp 5 5 7 nat nat nat interface alias_address addr unregistered_only yes no same_ports yes no status disable enable The nat command contains several command options to set up different functions of the NAT COMMAND DESCRIPTION alias_address a b c d Address to use for aliasing unregistere...

Page 72: ...igured 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 Add or delete public address publicip list List current public address 5 5 9 links links links Show the NAT links table EXAMPLE links 72 1800 A2 GB20 00 ...

Page 73: ...t the IP address or the port COMMAND DESCRIPTION nataction add Add static NAT address redirect address or redirect port nataction delete action id Delete NAT action list nataction list List NAT action nataction enable action id Enable NAT action nataction disable action id Disable NAT action 5 5 11 spoof spoof spoof list enable disable If name trusted untrusted This command sets which interface is...

Page 74: ...usted Set eth1 as untrusted interface 5 5 12 setwt setwt setwt default_wt low_wt high_wt medium_wt critical_wt real time_wt premium_wt urgent_wt This command is used to configure weights to different traffic The total weight of these queues are 100 Weight Zero queues traffic will use default queue bandwidth EXAMPLE setwt 5 5 5 5 5 65 5 5 5 5 13 listwt 5 5 14 listwt This command is used to display ...

Page 75: ... 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 DESCRIPTION interface_name Attach the traffic scheduler to outgoing interface linkspeed kbps Set the link speed of the interface admission yes no Set yes the all weights will be in default queue borrow yes no Decide the residu...

Page 76: ... 16 listwfq listwfq This command is used to show all configured WFQ EXAMPLE listwfq 1 Interface Information Name Link Speed Admission Borrow Ack Priority adsl0 800 no yes disable Weights Default Low Medium High critical real time premium urgent 5 5 5 5 5 65 5 5 5 5 17 remove remove remove interface_name This command is used to de attach WFQ from an interface 76 1800 A2 GB20 00 ...

Page 77: ...his command is used to create a Traffic Conditioning rule COMMAND DESCRIPTION dfmark dfnomark Mark the packet with color priority_class Set the priority of the TC rule Each priority attach a WFQ assuredbw value The assured bandwidth of this TC rule maxbw value The maximum bandwidth of this TC rule EXAMPLE createtc dfnomark 3 o assuredbw 600 maxbw 800 5 5 20 deletetc deletetc deletetc action_id all...

Page 78: ... all ActionId DF Marking Priority Assured BW kbps Max BW kbps 1 dfnomark Critical NA NA 5 5 22 tcstat tcstat listtc action_id This command is used to list TC Statistics 5 5 23 firewall firewall firewall enable disable status This command is used to enable or disable firewall and also can show firewall status 5 5 24 attack attack attack set attack_type threshold timeout 78 1800 A2 GB20 00 ...

Page 79: ...t tcpportscan 15 50 5 6 NAPT Network Address Translation NAT hides internal IP addresses of a network from the outside world and provides access to the Internet for multiple machines using a single or fixed number of public IP addresses The NAT framework supports both dynamic and static NAT The NAPT relevant commands are put in the qosc directory These commands are used to set up the NAT Among the...

Page 80: ...es NAPT for mero natif disable o atm0 disables NAPT for atm0 natif list display the NAPT status of the interface 5 6 2 links links This command displays the dynamic link table for NAPT 5 6 3 nat The nat command contains several command options to set up different functions of the NAT nat o unregistered_only nat o same_ports yes no nat o alias_address x x x x nat o ifa network_if_name nat o status ...

Page 81: ...ells the NAT module to translate only those outgoing packets that bears a unregistered IP address in the source address field of the packet header same_ports nat o same_ports yes no This command tries to keep original port numbers for connections If yes nat will try to retain the source port without modification for outgoing packets This can only be done if the port is not already in use by anothe...

Page 82: ...WAN interface will have their destination address modified appropriately to reach the appropriate machine on the LAN network EXAMPLE nat o ifa atm0 This command configures the WAN interface atm0 to use network address translation status nat o status This command displays the NAT configurations including NAT interface alias IP address same port and unregistered only setting This will display all th...

Page 83: ... local IP addresses can be specified using dot notation In this form the host part of the IP address is set to zero For example 192 168 1 0 public public_addr This option specifies the public IP address that the local addresses are mapped to Dot notation is used EXAMPLE addressmap local 192 168 2 1 public 202 54 30 2 Maps a local address to a public address addressmap local 192 168 2 10 192 168 2 ...

Page 84: ...000 Packets that whose destination address is 202 54 30 2 and whose TCP port number is 2000 will have its destination address changed to 192 168 2 1 and its port number changed to 21 The packet will be forwarded accordingly portmap add o tcp 192 168 2 1 21 30 202 54 30 2 2001 2010 Packets whose destination address is 202 54 30 2 and whose TCP port will fall in the ports range between 2001 and 2010...

Page 85: ...fied in the addressmap command EXAMPLE addressmap local 192 168 2 1 public 202 54 30 2 addressmap local 192 168 2 10 192 168 2 100 public 202 54 30 3 addressmap local 192 168 2 0 public 202 54 30 4 delrdaddr 192 168 2 1 single ip address delrdaddr 192 168 2 10 range of ip address delrdaddr 192 168 2 0 subnet address 5 6 7 maplist maplist This command displays addressmap and port map entries EXAMPL...

Page 86: ...es the user s request for Internet services such as HTTP FTP and Telnet and forwards them to the actual servers after proper authentication Secondary sets of rules are applied to the application data to provide further security from the known threats associated with these applications These proxies support URL filtering specified web links The httpproxy command configures HTTP proxy including auth...

Page 87: ... module in httppproxy 5 8 DHCP server start stop subnet host lease The dhcpserver commands configure the DHCP server function They are put in the dhcpserver directory There is a pre set DHCP subnet entry To configure a new subnet 1 If it is run use the stop command to stop it 2 Use the subnet if delete command to delete the subnet 3 Use the subnet add command to configure the new subnet 4 Use the ...

Page 88: ...ts of the configuration The list option shows the configured subnets The delete command removes the serving of the specified subnet COMMAND DESCRIPTION subnet subnet The subnet that the server will serve IP addresses on netmask mask The subnet mask for the subnet that the server will serve IP addresses on startip startip endip endip The range of IP addresses that will be served The startip and end...

Page 89: ...asetime 3 dns 192 168 5 7 IP addresses will be assigned to up to 11 DHCP clients The IP addresses assigned will begin with 192 168 5 200 and end with 192 168 5 210 The length of the IP address assignment the lease is 3 days The address of the DNS server 192 168 5 7 will also be sent to the DHCP clients subnet delete o subnet 192 168 5 0 The DHCP server will no longer serve address for the 192 168 ...

Page 90: ...ll outstanding leases delete o ipaddr ipaddr This command deletes the lease for the specified IP addresses Dot notation is used to specify the IP address 5 9 DHCP relay dhcpr start o remote_server dhcpr stop dhcpr status The dhcpr command is used for setting up the DHCP relay function The system acts as a proxy for DHCP requests When enabling the DHCP Relay the address of the DHCP server is specif...

Page 91: ...mode may be ansi gdmt glite or multi trellis on off on enables the trellis code off disables it o bitswap on off on enables bitswap off disables it 5 10 2 readcmv readcmv cmv_index offset The ADSL Configuration and Management Variables CMV can be read with the readcmv command The CMV variables are documented in CMV Reference Manual This command will only provide meaningful results when the link is...

Page 92: ... TEST TONE TXDA UOPT offset This is a numeric value between 0 and 65535 value The value for the variable specified in hexadecimal format 5 10 4 mon mon It displays the state of the ADSL connection It only gives meaningful information when the link is operational 5 10 5 addusercmv addusercmv cmv name offset value This command allows the adding or setting of a CMV The CMV values will be used the nex...

Page 93: ...d user CMV The user cmv was added with the addusercmv command index Index of CMV MASK OPTN PSDM RXDA CNTL TEST TXDA ADPT DIAG FLAG 5 10 7 listusercmv listusercmv This command lists the User CMVs added by the addusercmv command 5 10 8 eread eread offset size This command displays the Eagle 16 bit data memory COMMAND DESCRIPTION offset 0 3ffff hexadecimal size 1 256 decimal 5 10 9 ewrite ewrite offs...

Page 94: ...o Eagle 16 bit data memory COMMAND DESCRIPTION offset 0xa0000000 0xbfffffff hexadecimal value 0 ffffffff hexadecimal 5 10 11 mread mread offset size This command displays the Falcon 32 bit data memory COMMAND DESCRIPTION offset 0xa0000000 0xbfffffff hexadecimal size 1 100 decimal 5 10 12 adslup adslup This command starts the ADSL link 5 10 13 adsldown adsldown 94 1800 A2 GB20 00 ...

Page 95: ... command tone 0 287 To read the tone 11 to 20 information enter the command tone 11 20 5 10 15 bitalloc bitalloc This command reads the bit allocation information 5 10 16 adslstat adslstat This command displays the current ADSL link status EXAMPLE If the ADSL link is down it displays the following information after typing adslstat 1234 adsl adslstat The current ADSL status is STATE_UNTRAINED 1234 ...

Page 96: ... saved and the next time the machine is rebooted the mode will take effect Description Hex value ANSI T1 413 0x1 G992 2_AB G lite AnnexA B 0x2 G992 1_A G dmt AnnexA 0x4 G992 1_B G dmt AnnexA 0x8 G992 1_C G dmt AnnexC 0x10 G992 2_C G lite AnnexC 0x20 G992 3_A ADSL2 AnnexA 0x100 G992 3_B ADSL2 AnnexB 0x200 G992 3_I ADSL2 AnnexI 0x400 G992 3_J ADSL2 AnnexJ 0x800 G992 3_L RE ADSL2 0x1000 G992 5_A ADSL...

Page 97: ...ful The values are adslLineStatus OPERATIONAL adslMode G992_5_A Upstream 1016 Kb Interleave Downstream 23996 Kb Interleave DIAG Info Near end Far end Attenuation dB 5 5 3 0 SNR margin dB 8 15 HEC counter 28060 CRC counter 4472 RTFirmwareVer 0x0e1b0a01 Command syntax showstream Usages It only displays the link rate of the ADSL connection Example up stream 1016 Kb Interleave down stream 23996 Kb Int...

Page 98: ...t n1 name_server n2 name_server This command sets DNS entries for the system The domain_name specifies the name of this domain for the endpoint The name_server specifies the IP address of the server resolving DNS requests To clear a domain entry specify double quotes for the domain name To clear the name server entry specify 0 as the name server COMMAND DESCRIPTION n1 name_server This specifies th...

Page 99: ...s 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 COMMAND DESCRIPTION start This starts the DNS relay function stop This stops the DNS relay function server1 IP address of the primary DNS server server2 IP address of the secondary DNS server 1800 A2 GB20 00 99 ...

Page 100: ... eth0 is specified When the proxy interface is successfully configured the home prompt displays EXAMPLE 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 This...

Page 101: ...e system communicates with other routers in the network to update and maintain the IP routing tables By default RIP is not enabled If RIP is enabled but no version is specified RIP version 1 is used This command is available in the rip directory To enable RIP type the following command with ON capitalized rip o ON A change success message displays RIP Status changed successfully To disable the RIP...

Page 102: ... o if Interface encap Encapsulation restarttime Timeout auth Auth myaddr IPAddr peer PeerIPAddr mtu MTU mru MRU hwaddr Ethaddr service ServiceName acname ACName tag HostTag user Username pass Password vpi Vpi vci Vci mode Mode idletime idleTimeout nat enable disable netmask mask vpn OUI vpnId This command sets up a PPPoE profile A PPPoE entry can be added by using the simplified command as follows...

Page 103: ...AP CHAP BOTH MSCHAPV1 MSCHAPV2 IPAddr Desired self IP address in dotted decimal e g 192 168 32 32 PeerIPAddr Peer IP Address in dotted decimal MTU Maximum Transmission Unit expressed in bytes The default is 1500 MRU Maximum Receive Unit negotiated in LCP The default is 1500 Ethaddr Hardware address of the endpoint for this connection Typically one of the Ethernet hardware addresses of the endpoint...

Page 104: ...iven in minutes and this value indicates how long the link remains up when there is no data transfer over the link The idle time works only when used in combination with mode AUTO The default is 60 seconds enable disable 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 mas...

Page 105: ... the pppoe command 5 15 5 pppoelist pppoelist profile Profile This command displays the listing of all available free profiles If profile is not specified this command will display all the valid configured profiles 5 15 6 pppoedel pppoedel profile all This command deletes the specified profile Profile is specified as a number see pppoe command If all is specified the all profiles are deleted This ...

Page 106: ...uth authentication PAP CHAP BOTH MSCHAPV1 MSCHAPV2 IPAddr Desired self IP address in dotted decimal e g 192 168 32 32 PeerIPAddr Peer IP Address in dotted decimal mtu mtu Maximum Transmission Unit expressed in bytes The default is 1500 mru mru Maximum Receive Unit negotiated in LCP The default is 1500 Username Username Password Password Vpi The ATM vpi value which was assigned in a vcadd command o...

Page 107: ...his command starts PPPoA given the specified profile The profile is specified with an integer 0 1 2 The profile was previously specified with the pppoa command 5 15 9 pppoastop pppoastop Profile This command stops PPPoA given the specified profile The profile is specified with an integer 0 1 2 The profile was previously specified with the pppoa command 5 15 10 pppoalist pppoalist profile Profile T...

Page 108: ...ers list routedbridge This command displays Routed Bridge parameters list ipoa This command displays IPoA parameters 5 15 14 ipoa ipoa interface disable vpi vci o default nhp ipaddress ipoa interface enable vpi vci o enc encapulation default nhp ipaddress vpn OUI vpnId This command configures the specified WAN interface to use IPoA which is Classical IP over ATM including Inverse ATM Arp IPoA uses...

Page 109: ...cifies the encapsulation type The possible values are llc or vc which represent Logical Link Control or VC multiplexing respectively default If an entry does not exist for the destination in the inverse ATM Arp table then the packet is forwarded on the PVC specified ipaddress This specifies the next hop IP address of the peer end OUI vpnId This specifies the VPN encapsulation The OUI Organizationa...

Page 110: ...the vcadd command The showatmconn command can also be used to list the current ATM connections with their respective vpi and vci values Note the vcadd and showatmconn commands are located in the atm directory encapsulation This specifies the encapsulation type The possible values are llc or vc which represent Logical Link Control or VC multiplexing respectively OUI vpnId This enables VPN encapsula...

Page 111: ...ncapsulation type The possible values are llc or vc which represent Logical Link Control or VC multiplexing respectively 5 15 17 mer mer enable disable delete status This enables disables deletes or gives status of the 1483MER configurations 5 15 18 relay relay relay o client if interface pvc vpi vci relay o server if interface pvc vpi vci relay o enable disable relay o display The relay command c...

Page 112: ...pppoa This command lists the statistics of the specified module 5 15 20 ppptrace ppptrace on off In PPPoE or PPPoA mode you can use this command to declare that a PPP session is established The command is given in the SNDCP directory COMMAND DESCRIPTION on This declares a PPP session is established off This displays no message when a PPP session is established 5 16atm showatmconn vpadd vcadd delet...

Page 113: ...ation layer for which permissible values are aal5 for data connections and aal2 for voice connections COMMAND DESCRIPTION vpi vci Virtual Path Identifier VPI and Virtual Channel Identifier VCI that identifies this ATM connection The vpi is an integer number which can range from 0 to 255 The vci is an integer number which can range from 0 to 65 535 service The service specifies the kind of traffic ...

Page 114: ...e rate cdvt value This option constrains the number of cells the user can send to the network at the maximum line rate It is expressed in microseconds EXAMPLE vcadd 0 38 cbr aal2 o peak 1600 mbs 25 cdvt 50000 The vcadd command creates a PVC vpi 0 vci 38 Service class is cbr Constant Bit Rate and encapsulation as aal2 for voice The traffic descriptors are set for peak cell rate of 1600kbps burst si...

Page 115: ...C is identified by the vpi vci values EXAMPLE deletevc 0 39 This command deletes a PVC with vpi 0 and vci 39 5 16 5 atmstats atmstats This command lists the AAL5 and ATM statistics 5 16 6 f5lb f5lb vpi vci flow_type o LLID This command initiates an F5 loopback COMMAND DESCRIPTION vpi Virtual Path Identifier for the ATM connection vci Virtual Circuit Identifier for the ATM connection flow_type This...

Page 116: ...s o uid UserId range Source IP Range dest Destination Address domain Domain Name mime Mime Type timeofday DAY1 TIME1 DAY2 TIME2 This command provides a mechanism to filter packets based on the priority value The high priority rule is applied for the packet The packets can be filtered on multiple option fields also The module name priority and permissions must be specified along with the command Th...

Page 117: ...d be given in the dotted format By using this option we can configure rule which allows or denies request from range of Source IP addresses or specific IP address DEST DESTINATION ADDRESS This option is used for configuring rule which allows or denies request from LAN clients to httpproxy Server for a specific Destination IP address It may be WAN http Server DOMAIN DOMAIN NAME This option specifie...

Page 118: ... base This rule is applied on http traffic which is pass through the httpproxy only This rule will block the user user id 3 completely addacl httpproxy 4 allow o uid 3 domain www yahoo com This rule adds an entry into the acl rule base This rule will allow the user user id 3 to access the website www yahoo com only Other than this it will not allow the user to access anything addacl httpproxy 8 de...

Page 119: ...ce User s Guide 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 119 ...

Page 120: ...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 120 1800 A2 GB20 00 ...

Page 121: ...istic 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 121 ...

Page 122: ...nfiguration file to the endpoint At the tftp prompt type to display the commands Run a TFTP server program At the TFTP prompt connect to the TFTP server by typing connect xxx xxx xxx xxx xxx xxx xxx xxx is the IP address of the TFTP server A connected to xxx xxx xxx xxx message pops up if the TFTP server is successfully connected The following is an example tftp connect 172 16 4 16 connected to 17...

Page 123: ...ed for reference You must change them to fit your own settings if they are different in real application 7 1 Uploading the software file 1 At the tftp prompt type connect xxx xxx xxx xx tftp connect 172 16 4 16 connected to 172 16 4 16 A 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 pop...

Page 124: ... in 3 seconds tftp 7 2 Auto Upgrade When the modem is powered on it will automatically execute the following command root home tftpAuto o YES tftp modem update com OR root home tftpAuto o YES 168 95 1 1 The TFTP Server will check the firmware and configuration version If the version is older than the version in the TFTP Server then the TFTP server will download the updated firmware and configure f...

Page 125: ...xxx is the configuration file name tftp put param xxxxx If the configuration file name is param you can also skip the file name by simply typing put param 4 The following message pops up when the upload is successful putting param to xxx xxx xxx xxx config txt octet Sent bytes in seconds Below is an example of the configuration upload procedures 1234 home tftp tftp connect 172 16 4 16 connected to...

Page 126: ...t to octet A mode set to octet netascii pops up 3 Type get app when the file name is app or type get app ÀÀÀ to specify the name If the software file name is app you can also skip the file name by simply typing get app 4 The tftp prompt pops up when the upgrade is successful Below is an example of the software upgrade procedures tftp connect 172 16 4 16 connected to 172 16 4 16 tftp binary mode se...

Page 127: ...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 Type get para The configuration file is saved as param at the target location If the configuration file name is param you can also skip the file name by simply typing get param 4 The tftp prompt pops up when the download is successful 1800 A2 GB20 00 1...

Page 128: ...ntax wlancfg get parameter wlancfg set parameter value Usages Configures gets wireless LAN configuration Parameters Parameter Value Description CountryRegion 0 use 1 11 Channel 1 use 1 11 Channel 2 use 1 13 Channel 3 use 10 11 Channel 4 use 10 13 Channel 5 use 14 Channel 6 use 1 14 Channel 7 use 3 9 Channel Country Region SSID 0 z less than 32 characters SoftAP SSID WirelessMode 0 11b g mixed 1 11...

Page 129: ...ends on country region Channel BeaconPeriod 20 999 unit ms Beacon Period DtimPeriod 1 255 DtimPeriod TxPower Set APTx power 1 100 percentage TxPower BGProtection 0 Auto 1 Always on 2 Always off 11B 11G Protection TxPreamble 0 Preamble Long 1 Preamble Short 2 Auto Tx Preamble Type RTSThreshold 1 2347 RTS Threshold FragThreshold 256 2346 Fragment Threshold TxBurst 0 Disable 1 Enable Tx Burst 1800 A2...

Page 130: ...this field is enable only when Radius Wep or Radius Ne mode on otherwise must disable AuthMode OPEN SHARED WPAPSK Authentication Mode EncrypType NONE WEP TKIP AES Encryption Type WPAPSK 8 63 ASCII or 64 HEX characters WPA Pre Shared Key Debug Set Debug level 0 5 Debug ResetCounter Reset all statistics counter ResetCounter Basic Rate 0 4095 Be careful to set this value if you don t know what this i...

Page 131: ...s Key3 String Key4 5 ascii characters or 10 hex numbers 13 ascii characters or 26 hex numbers Key4 String RekeyMethod TIME PKT NONE Group rekey interval unit type RekeyInterval 0 0x3fffff 0 to Disable rekey Group rekey interval AccessPolicy 0 Disble 1 Allow All 2 Reject All Access control policy AccessControlList mac address mac address Up to 32 mac address Access control mac table list AssocTime ...

Page 132: ...association command to let them connect to AP during the AssocTime interval 8 3 Command Line Interface 8 3 1 disassoc Command syntax disassoc mac Usages AP sends mlme disassociate packet to station Parameters mac format xx xx xx xx xx 8 3 2 association Command syntax association Usages Start association to allow station connecting to AP 8 3 3 remaintime Command syntax remaintime Usages Show the re...

Page 133: ...ing to AP The station A MAC address is 00 0D 88 87 E5 DE connects to AP in a moment We show the remainder association time We list subscribed devices and find the entry 01 station A in the subscribed devices list Finally we disassociate the station A And we list subscribed devices again It become a blank list because the station don t connect to AP Below are the steps of this example root home wla...

Page 134: ...listdevices Subscribed devices list Entry 8 4 Wireless LAN Batch Configuration Command syntax batch option Usages Combine many wlancfg configurations to the batch file Options Option Description add o parameter value Add wlan configuration to the batch file The parameters refer to Wireless LAN Configuration The batch file only contain 10 wlan configuration Clear Clear batch file List List batch fi...

Page 135: ...n configuration 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 135 ...

Reviews: