Page 2
Disclaimer WoMaster reserves the right to make changes to this Manual or to the product hardware at any time without notice. Information provided here is intended to be accurate and reliable. However, it might not cover all details and variations in the equipment and does not claim to provide for every possible contingency met in the process of installation, operation, or maintenance.
TABLE OF CONTENTS COVER ..................................1 TABLE OF CONTENTS ............................. 3 COMMAND LINE INTERFACE (CLI) INTRODUCTION ................4 UNDERSTANDING ALL COMMANDS ......................6 CLI COMMANDS ............................8 3.1 CLI COMMANDS FOR SHOW ....................8 3.2 CLI COMMANDS FOR SET ..................... 19 3.3 CLI COMMANDS FOR BACKUP RESTORE ................
WoMaster managed switch supports Telnet console. User can connect to the switch by Telnet and the command lines are the same as what user sees by RS232 console port. Below are the steps to open Telnet connection to the switch.
Page 5
In the Session configuration, choose the Serial protocol then enter the Serial line and Speed. For the serial line, please check the device manager to make sure the serial line name. The speed should be 115200. Then click on Open to start the SSH session console. 2.
2. UNDERSTANDING ALL COMMANDS There are some different command modes which are show, set and list. Each command mode has its own access ability, available command lines and uses different command lines to enter and exit. Privileged EXEC Mode: As long as user login the router by CLI. User can show some basic information, set some configuration and list all of the command line lists.
Page 7
SWITCH(config)# password Alert message when multiple users want to configure the switch. If the administrator is in configuration mode, then the Web users can’t change the settings. Womaster router allows only one administrator to configure the router at a time.
3. CLI COMMANDS This chapter will show the main CLI Command for Show, Set, List and some other main CLI Commands. The Show commands are used to display device settings, statistics and other information, The Set commands are used to do the configuration and for the List command to show all of the command lists that available in the telnet mode.
Page 17
longitude: altitude: spkm: nsat: 0 router# show ip ip networkmode : Bridge ip bridge iptype : fixed ip bridge ipaddr : 192.168.10.1 ip bridge netmask : 255.255.255.0 ip bridge gateway : 0.0.0.0 ip bridge dns1 : 8.8.8.8 ip bridge dns2 : 0.0.0.0 ip router wan accesstype : Static...
Page 18
ping-watchdog deferred : 120 ping-watchdog failcounter : 30 Spanning Tree router# show spanning-tree spanning-tree enable : Enable spanning-tree forward-time : 15 spanning-tree hello-time spanning-tree max-age : 20 Static Route router# show static_route String format : Destination mask Netmask gw Gateway metric Metric dev Interface Ex : set route 192.168.20.0 mask 255.255.255.0 gw 192.168.20.254 metric 0 dev ( dev : LAN, WAN Cellular)
3.2 CLI COMMAND FOR SET This chapter provides the Set CLI Commands; all of the features are covered in this chapter. By using set command user can do the configuration. Feature Command Line Set – Global Configuration Mode (router# configure terminal) Clock router(config)# set clock manual ip...
Page 20
interface ethernet1 DataRate : Auto router(config)# set ip bridge dhcpserver networkmode proxy-arp router router(config)# set ip bridge dns1 dns2 gateway ipaddr iptype netmask router(config)# set ip router router(config)# set ip dhcpserver active gateway ipend ipstart leasetime netmask primary-DNS-Server secondary-DNS-Server wins1 wins2 router(config)# set ip networkmode Bridge...
Page 21
Enable Password router(config)# set password old password: ***** new password: ***** confirm password: ***** Ping Watchdog router(config)# set ping-watchdog deferred failcounter interval ip-address1 ip-address2 ping-ip1 ping-ip2 router(config)# set ping-watchdog deferred Integer[120-9999] router(config)# set ping-watchdog failcounter Integer[1-9999] router(config)# set ping-watchdog interval Integer[1-9999] router(config)# set ping-watchdog ip ip-address1 ip-address2...
Page 22
router(config)# set spanning-tree enable Disable Enable router(config)# set spanning-tree enable Disable Enable router(config)# set spanning-tree forward-time invalid parameter: Integer[1-30] router(config)# set spanning-tree enable forward-time hello-time max-age router(config)# set spanning-tree hello-time invalid parameter: Integer[1-10] router(config)# set spanning-tree enable forward-time hello-time max-age router(config)# set spanning-tree max-age invalid parameter: Integer[6-40] Static Route...
3.3 CLI COMMAND FOR BACKUP RESTORE This chapter provides a detailed explanation of the Backup and Restore the configuration by using CLI commands. Feature Command Line Backup Startup router# copy startup-config tftp: 192.168.10.100 router.conf Configuration file Writing startup-config to tftp: 192.168.10.100/router.conf [OK]! Restore Configuration router# copy tftp: startup-config EXEC commands :...
3.7 CLI COMMAND FOR LOGOUT This chapter is about the CLI Command for log out from the switch CLI interface. Feature Command Line Logout router# exit/end Bye! 3.8 CLI COMMAND FOR LIST ALL OF THE COMMANDS This chapter is about the all of the command lists from CLI Command by type list. Feature Command Line List all of CLI...
Need help?
Do you have a question about the WR302G and is the answer not in the manual?
Questions and answers