3Com Router User Manual
Have a look at the manual 3Com Router User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 19 3Com manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Establish Configuration Environment17 Figure 8 Establish a dial-up connection via “HyperTerminal” Figure 9 Dial on remote computer 4If a dial-up connection is established, then press Enter after the self-test to display the prompt “Username:” and “password:”. Enter the correct username and the password, then enter the system view of Router. 5Enter command to configure the router or view running status of the router. Enter ? to get help when necessary. For details of specific commands, please refer to the following chapters. Local/Remote Telnet Connection Configuration EnvironmentAfter the router powers on, and IP addresses of the interfaces have been properly configured on the router, you can use the Telnet client program to establish a connection with the router and log in the router via LAN or WAN. Then configure the router. 1As shown in the following two figures, connect the Ethernet port adapter on the computer with the Ethernet interface of the router. To establish a remote
18CHAPTER 2: 3COM ROUTER USER INTERFACE configuration environment, connect the computer with the router via the WAN interface. Figure 10 .Establish configuration environment of local telnet connection Figure 11 Establish a configuration environment of a remote telnet connection 2As shown in the following two figures (Telnet client program interface in Windows 9X), run the Telnet client program on the computer and set its terminal emulation type as VT100. Ethernet Server Workstation Work station running Telnet C lientLA N E thernet E thernet Workstation Local w orkstation running Telnet clientRouter LA N Remote router to be configuredRemote LANWA N Workstation Workstation
Command Line Interface (CLI)19 Figure 12 Run a telnet program Figure 13 Establish a telnet connection with router The host name in the above figure is the name or IP address of a router interface of the remote connection. 3If connection is established, press Enter after the self-test to display the prompt “Username:” and “password:”. Enter the correct username and the password, then enter the system view of the router. If the prompt of Too many users! appears, try to connect later. Usually, there should be no more than five Telnet users at any one time. 4Enter the command to configure the router or view running status of the router. Enter ? to get help if necessary. For details of specific commands, please refer to the following chapters. In router configuration via Telnet connection, the Telnet connection will be disabled if you change the IP address of the router interface. So please enter the new IP address of the router interface at the Telnet client prompt after any changes in address, so as to re-establish the connection. Command Line Interface (CLI)The 3Com Router 1.x provides a series of configuration commands for the user to configure and manage network equipment via command line interface. The command line interface can accomplish the following: ■Perform local or remote configuration via the console port. ■Log in the router through modem dial-up with asynchronous serial port and perform remote configuration. ■Perform local or remote configuration via Telnet connection ■Provide terminal access service. ■Configure command hierarchical protection to reject the illegal users.
20CHAPTER 2: 3COM ROUTER USER INTERFACE ■Provide online help any time the user keys in “?”. ■Provide network test commands, such as tracert and ping, etc. to quickly diagnose whether the network is normal. ■Provide rich and detailed debugging information for diagnosis of network faults. ■Use telnet command to directly log in and manage other routers ■Support TFTP service, convenient for users to upload or download the 3Com Router main program files and configuration files. ■Provide FTP service, convenient for users to upload or download the 3Com Router main program files and configuration files. ■Provide function similar to DosKey to execute a history command. ■Searches the key word via command line interpreter with an incomplete match method. Interpretation will be available just by entering non-conflict key words. For example, enter abbreviated “ dis” for display command. ViewView is the interface of the 3Com Router command. Different commands are implemented in different views, and different views are realized according to different function requirements. For example, the RIP view can configure corresponding commands. The views in the 3Com Router are in a hierarchical structure. You can enter the function views in system view and the sub-function views in the function views. The following figure shows the view structure of the 3Com Router.
Command Line Interface (CLI)21 Figure 14 Hierarchical view structure of the 3Com Router The following table gives some details of the functionality features of the command views as well as the commands for entering these views. System viewTa b l e 4 Views and their prompts System view RIP view OSPF view BGP view Routing policy view PIM view Sync serial interface view Ethernet interface view Async serial interface view CE1 interface view …… L2TP group view IPSec proposal view IPSec policy view IKE proposal view ACL view X.25 hunt group view Frame Relay switch view Frame Relay class view MFR interface view DHCP address pool view …… DLCI view R2 CAS view Voice viewVoice GK client view Voice AAA view Voice dial program view Voice subscriber-line view Voice access-number view Voice entity view View nameFunctionPromptEnter commandExit command system viewConfigures the system parameters[Router]Directly enter the view upon the login of subscribersEnter logout to disconnect the connection with the Router RIP viewConfigures the RIP parameters[Router-rip]Enter rip in system viewEnter quit to return to the system view OSPF viewConfigures the OSPF parameters[Router-ospf]Enter ospf in system viewEnter quit to return to the system view BGP viewConfigures the BGP parameters[Router-bgp]Enter bgp in system viewEnter quit to return to the system view routing policy viewConfigures the routing policy parameters[Router-route-policy]Enter route-policy abc permit 1 or route-policy abc deny 1 in system viewEnter quit to return to the system view PIM viewConfigures the multicast routing parameters[Router-pim]Enter pim in system viewEnter quit to return to the system view sync serial interface viewConfigures the synchronous serial interface parameters[Router-Serial0]Enter interface serial 0 in any viewsEnter quit to return to the system view
22CHAPTER 2: 3COM ROUTER USER INTERFACE async serial interface viewConfigures the asynchronous serial interface parameters[Router-Async0]Enter interface async 0 in any viewsEnter quit to return to the system view AUX interface viewConfigures the AUX interface parameters[Router-Aux0]Enter interface aux 0 in any viewsEnter quit to return to the system view AM interface viewConfigures the AM interface parameters[Router-AM0]Enter interface am 0 in any viewsEnter quit to return to the system view Ethernet interface viewConfigures the Ethernet interface parameters[Router-Ethernet0]Enter interface ethernet 0 in any viewsEnter quit to return to the system view loopback interface viewConfigures the loopback interface parameters[Router-LoopBack1]Enter interface loopback 0 in any viewsEnter quit to return to the system view ISDN BRI interface viewConfigures the ISDN BRI interface parameters[Router-Bri0]Enter interface bri 0 in any viewsEnter quit to return to the system view CE1 interface viewConfigures a time slot binding method on the CE1 interface and the physical layer parameters[Router-E1-0]Enter controller e1 0 in any viewsEnter quit to return to the system view CT1 interface viewConfigures a time slot binding method on the CT1 interface and the physical layer parameters[Router-T1-0]Enter controller t1 0 in any viewsEnter quit to return to the system view CE3 interface viewConfigures a time slot binding method on the CE3 interface and the physical layer parameters[Router-E3-0]Enter controller e3 0 in any viewsEnter quit to return to the system view CT3 interface viewConfigures a time slot binding method on the CT3 interface and the physical layer parameters[Router-T3-0]Enter controller t3 0 in any viewsEnter quit to return to the system view E1-F interface viewConfigures the physical layer parameters for the E1-F interface[Router-Serial0]Enter interface serial 0 in any viewsEnter quit to return to the system view T1-F interface viewConfigures the physical layer parameters for the T1-F interface[Router-Serial0]Enter interface serial 0 in any viewsEnter quit to return to the system view dialer interface viewConfigures the dialer interface parameters[Router-Dialer0]Enter interface dialer 0 in any viewsEnter quit to return to the system view virtual template interface viewConfigures the virtual template parameters[Router-Virtual-Template1]Enter interface Virtual-Templat e 1 in any viewsEnter quit to return to the system view tunnel interface viewConfigures the tunnel interface parameters[Router-Tunnel0]Enter interface tunnel 0 in any viewsEnter quit to return to the system view NULL interface viewConfigures the null interface parameters[Router-Null0] Enter interface null 0 in any viewsEnter quit to return to the system view logical channel view Configures the AUX interface parameters[Router-logic-channel1]Enter logic-channel 1 in any viewsEnter quit to return to the system view bridge template interface view Configures the virtual Ethernet interface parameters[Router-Bridge-Template1]Enter interface Bridge-Template 0 in any viewsEnter quit to return to the system view View name Function Prompt Enter command Exit command
Command Line Interface (CLI)23 The command line prompt character consists of the network device name (Router by default) and the command view name, such as [Router-rip]. The commands are divided according to view. In general, in a certain view, only the commands defined by the view can be executed, but some widely used commands (including ping, display, debugging, reset, save, interface, logic-channel, and controller) can be executed in all views For some views listed in the above table, you must enable the corresponding functions before you can enter the views. To enter some other views, however, you should configure the related restriction conditions. For more information, see the related chapters in this manual. In all views, you can use the quit command to return to the superior-level views, and the return command to the system view directly. Command Line Online HelpThe command line interface of the 3Com Router provides the following online helps: ■Full help ■Partial help X.25 hunt group viewConfigures the X.25 hunt group parameters[Router-X25-huntgroup-abc]Enter x25 hunt-group abc round-robin in system viewEnter quit to return to the system view Frame Relay class viewConfigures the FR class parameters[Router-fr-class-abc]Enter fr class abc in system viewEnter quit to return to the system view DLCI viewConfigures the DLCI parameters[Router-fr-dlci-100]Enter fr dlci 100 in synchronous serial interface view. (The link layer protocol encapsulated on the interface should be FR.Enter quit to return to the synchronous serial interface view Frame Relay switch viewConfigures the FR switch parameters[Router-fr-switch-abc]Enter fr switch abc in system viewEnter quit to return to the system view MFR interface viewConfigures the MFR interface parameters[Router-MFR0]Enter interface mfr 0 in any viewsEnter quit to return to the system view L2TP group viewConfigures L2TP group[Router-l2tp1]Enter l2tp-group 1 in system viewEnter quit to return to the system view IPSec proposal viewConfigures a security proposal[Router-ipsec-proposal-abc]Enter ipsec proposal abc in system viewEnter quit to return to the system view IPSec policy viewConfigures a security policy[Router-ipsec-policy-abc-0]Enter ipsec policy abc 0 in system viewEnter quit to return to the system view IKE proposal viewConfigures an IKE proposal[Router-ike-proposal-0]Enter ike proposal 0 in system viewEnter quit to return to the system view ACL viewConfigures ACL rules[Router-acl-1]Enter acl 1 in system viewEnter quit to return to the system view DHCP address pool viewConfigures a DHCP address pool[Router-dhcpabc]Enter dhcp server ip-pool abc in system viewEnter quit to return to the system view View name Function Prompt Enter command Exit command
24CHAPTER 2: 3COM ROUTER USER INTERFACE ■The help information obtained via the above-mentioned online help is described as follows: 1Full help: Enter “?” in any view, all the commands in this view and their brief descriptions can be obtained. [Router]? aaa-enable Enable AAA(Authentication, Authorization and Accounting) acl Specifystructure of access-list configure information arp Add a ARP entry bgp Enable/disable BGP protocol bridge Bridge Set clock Set system clock copy Copy config or system file to remote tftp server configfile Select config file stored in flash or NVRAM controller Set a E1/T1 entry ...... 2Partial help: Enter a command followed by “?” separated with the space key, and if parameters are available, descriptions of related parameters will be listed. [Router]display ? aaa AAA information aaa-client Display the buffered voice information acl Display access-list information arp ARP table information bgp BGP protocol information bridge Remote bridge information ...... 3Partial help: Enter a character string followed by “?”, and descriptions of all the commands beginning with this character string will be listed. [Router]di? dialer dialer-rule display 4Partial help: Enter a command and a character string, followed by “?”, and all the key words beginning with this character string will be listed. For example: [Router]display a? aaa aaa-client acl arp Command Line Error MessageIn the 3Com Router, all the commands entered by users will be accurately executed if they pass the syntax check. Otherwise, users will be informed by an error message. The following table shows common error messages. Ta b l e 5 List of common command line error messages Common error message Causes Incorrect commandNo command has been found. No key word has been found. Wrong parameter type Incomplete commandThe command input is incomplete. Invalid parametersParameter value beyond limit Too many parametersToo many parameters are input.
Command Line Interface (CLI)25 History CommandThe command line interface of the 3Com Router 1.x provides a function similar to DOSKey by automatically saving the history of commands inputted users. Users can check the history of commands saved in the command line to repeat execution. 10 history commands can be saved at the most for each user. The configuration steps are shown in the following two tables. 1Display history command The following command can be used in all views to display the command recently input: Ta b l e 6 Display history command 2Check history command The following keys can be used in all views to check recent commands: Ta b l e 7 Check history command Edit Features of Command LineThe command line of the 3Com Router 1.x provides basic command edit functions and supports multi-line editing. The maximum length of each command is 256 characters, as shown in the following table: The following keys can be used in all views to edit commands: Ta b l e 8 Edit function table Display Features of Command LineThe command line interface of the 3Com Router 1.x provides the following display features: Provide pause function when the information displayed exceeds one screen page, and three options are available for users. OperationCommand Display history commanddisplay history-command OperationKeysResult Go to the previous history commandCtrl+E (in Windows 9x)If there are earlier inputted commands, fetch the previous one. Otherwise, the alarms rings. Go to the next history commandCtrl+R (in Windows 9x)If there are later inputted commands, fetch the next one. Otherwise, clear the commands and the alarms rings. KeyFunction Any key on boardIf the edit buffer is not full, insert the character at the cursor and move the cursor to the right. Backspace key: BackSpaceDelete the character to the left of the cursor and move the cursor back one character. If the cursor gets to the beginning of the command line, the alarm rings. Delete key: DeleteDelete the character at the cursor and the alarm rings when the cursor gets to the end of the command line. Left cursor key The cursor moves one character to the left, and the alarm rings when the cursor gets to the beginning of the command line. Right cursor key The cursor moves one character to the right, and the alarm rings when the cursor gets to end of the command line.
26CHAPTER 2: 3COM ROUTER USER INTERFACE Ta b l e 9 Display function table User Identity ManagementThe 3Com Router sets three kinds of router management users: administrator user, operator user and guest user. Different kinds of users have different rights to execute commands. 1An administrator user has the right to execute all the commands of the router. Only the administrator user can configure all the functions and parameters and can enter all views. 2An operator user can monitor and maintain the router, they can also obtain the debugging information of the router. The operator user can only execute the following commands. debugging Enable system debugging functions display Display system running information language Switch language mode (English) logout logout pad Try to open a PAD connection ping Send ICMP ECHO_REQUEST packets to network hosts reboot Reboot the router under certain condition reset Reset operation rlogin Log in remote UNIX host send Send a message to other terminals telnet Telnet to a remote host tracert Trace the route taken by packets to reach a network host undo Cancel current setting 3A guest user has no right to manage the router, but only has the right to perform a remote test on the router. The guest user can only execute the following commands. language Switch language mode (English, Chinese) logout logout pad Try to open a PAD connection ping Send ICMP ECHO_REQUEST packets to network hosts rlogin log in remote UNIX host. telnet Telnet to a remote host tracert Trace the route taken by packets to reach a network host Please perform the following commands in system view. Ta b l e 10 Configure the user OperationCommands or keys Stop display information on terminalPress Ctrl+C when display information pauses. Continue to display information of next screen pagePress Space when display information pauses. Continue to display information of next linePress Enter when display information pauses. OperationCommand Configure a userlocal-user user-name service-type type [ password { simple | cipher } password ] Delete a userundo local-user user-name