Documente Academic
Documente Profesional
Documente Cultură
Title
Contents
Comware versus Cisco IOS Commands ................................................................... 4 Command Line Description ......................................................................................... 4 Displaying Command Parameters ............................................................................... 5 Displaying Parent Menus ......................................................................................... 5 Displaying the User View Menu ................................................................................ 5 Obtaining Help ......................................................................................................... 5 Configuring Remote Login to the Router/Switch .......................................................... 6 Telnet ....................................................................................................................... 6 Command Matrix ......................................................................................................... 7 Command Alias ........................................................................................................... 8
Page 3
Title
Page 4
Title
Enter the first few characters of a command and press TAB to enter the full command without having to input the entire command (where there is only one command that starts with the entered characters). Use the Up Arrow key at the prompt to repeat the previous command string. Use the Delete key to delete the character after the cursor; the Backspace key deletes the character before the cursor.
Obtaining Help
At the prompt, enter ?.
Page 5
Title
Telnet
Perform the following configuration on the router: # Enter system view. Press ENTER to get started. <Router>system-view # Enable Telnet server. [Router]telnet server enable % Start Telnet server # Configure the IP address of the interface that connects to the Internet. You can change this IP address to what is in use. [Router]interface ethernet0/0 [Router-ethernet0/0]ip address 192.168.0.1 24 # Enter vty interface view. [Router]user-interface vty 0 # Set login password to 123456 and privilege level 2 (User View). [Router-ui-vty0]set authentication password cipher 123456 [Router-ui-vty0]user privilege level 2
Page 6
Title
Command Matrix
ComWare Command system-view quit <ctrl-z> display dis ver dis curr dis save dis diag save curr delete reset saved sysname undo un shut rip ospf bgp acl link-protocol info-center simple cipher tftp x.x.x.x get tftp x.x.x.x put ftp x.x.x.x IOS Command config t exit <ctrl-z> show sh ver sh run sh startup-config sh tech write mem erase write erase hostname no no shut router rip router ospf router bgp access-list encapsulation logging 0 7 copy tftp: flash: copy flash: tftp: copy ftp: flash: Description Enters into System View menu/view Returns to parent menu/view Returns to top menu/view Displays information Displays Comware version Displays current configuration Displays saved configuration Display or save diagnostic information Saves current configuration to flash Deletes a file from flash Resets configuration for next boot Sets the system name of the device Negates a command Brings up an interface Enters RIP configuration on the device Enters OSPF configuration Enters BGP configuration Configures an Access Control List Sets the protocol on a link Sets logging level Clears password encryption Sets password encryption Copies file from TFTP Server to Flash Copies file from Flash to TFTP Server Starts FTP Client Connection
Page 7
Title
Command Alias
For the routers only, a useful way to modify the Comware CLI to emulate Cisco CLI is to use the alias command. This assists CCNA/CCIE trained IT to setup/configure 3Com routers without retraining or previous 3Com experience. Here are some examples: command-alias command-alias command-alias command-alias command-alias command-alias command-alias command-alias command-alias command-alias enable mapping mapping mapping mapping mapping mapping mapping mapping mapping show display no undo end return exit quit hostname sysname access-list acl write save erase delete logging info-center
Page 8