• No results found

Comware versus Cisco IOS Command Guide

N/A
N/A
Protected

Academic year: 2021

Share "Comware versus Cisco IOS Command Guide"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Technical Marketing Engineering

Routing and Switching Technology

Routing and Switching

Comware versus Cisco IOS

Command Guide

(2)

Revision v5

March 23, 2009

http://www.3com.com

3Com Corporation, 350 Campus Drive, Marlborough MA 01752-3064

Copyright © 2009, 3Com Corporation. All rights reserved. No part of this documentation may be reproduced in any form or by any means or used to make any derivative work (such as

translation, transformation, or adaptation) without written permission from 3Com Corporation. 3Com Corporation reserves the right to revise this documentation and to make changes in content from time to time without obligation on the part of 3Com Corporation to provide notification of such revision or change.

3Com Corporation provides this documentation without warranty, term, or condition of any kind, either implied or expressed, including, but not limited to, the implied warranties, terms, or conditions of merchantability, satisfactory quality, and fitness for a particular purpose. 3Com may make improvements or changes in the product(s) and/or the program(s) described in this documentation at any time.

3Com and the 3Com logo are registered trademarks of 3Com Corporation. VCX is a registered trademark of 3Com Corporation. All other company and product names may be trademarks of the respective companies with which they are associated.

(3)

<Technology Area> Technology Title

3Com Technical Marketing Engineering Page 3

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

(4)

3Com Technical Marketing Engineering Page 4

Comware versus Cisco IOS Commands

This Technical Marketing Brief (TMB) provides a brief list of 3Com Comware commands and their Cisco equivalent for those familiar with the Cisco IOS command set and wish to migrate to 3Com’s Comware.

This document is intended for 3Com System Engineers and 3Com voice certified partner technical sales engineers.

Command Line Description

In general there many similarities between the structure and command set of 3Com’s Comware and Cisco’s IOS. This was done intentionally to ease the migration from Cisco products to 3Com/H3C products and reduce the total cost of ownership.

You will find that after a little time in front of the Comware console, you quickly become very familiar with how to perform the tasks needed to maintain your network. This guide has been written to ease and facilitate that effort.

To use and navigate the command line interface of your unit, please refer to the following points for assistance:

 When initially accessing the command line interface, press Enter when

prompted. The User View for the unit displays. This is indicated by the chevron brackets around the name of the unit at the prompt, for example, <sw4800g-xx>.

 The system-view command enters into System View. When in System View, square brackets appear around the name of the unit at the prompt, for example, [sw4800g-xx].

 You must be in the System View to access the configurable CLI

commands.

 Some commands can be entered directly at any prompt from

anywhere in the interface such as display, write or ping

 If you enter part of a command followed by a ? (with no space in

between), the CLI will show you all the commands that begin in that way.

 The term ‘view’ may be used interchangeably with the term ‘menu’.

 The undo command is placed before the command you wish to undo,

for example, undo shutdown

(5)

<Technology Area> Technology Title

3Com Technical Marketing Engineering Page 5

 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.

Displaying Command Parameters

At the prompt, enter the name of the command followed by a space and ?.

For example:

<sw4800g-xx>boot ?

The following parameters are displayed:

attribute-switch Exchange the file main-attribute and backup-attribute.

boot-loader Select a file to boot at the next time

bootrom Update Bootrom

web-package Set web resource package

To specify boot loader, enter the command as follows: <sw4800g-xx>boot boot-loader ?

You only need to enter ? if parameters exist for the command.

Displaying Parent Menus

At the prompt, enter quit.

Displaying the User View Menu

Press <CTRL-Z>.

Obtaining Help

(6)

3Com Technical Marketing Engineering Page 6

Configuring Remote Login to the Router/Switch

To perform remote login, you must perform local configuration through the Console port when you first configure the router.

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

(7)

<Technology Area> Technology Title

3Com Technical Marketing Engineering Page 7

Command Matrix

ComWare

Command IOS Command Description

system-view config t Enters into System View menu/view

quit exit Returns to parent menu/view

<ctrl-z> <ctrl-z> Returns to top menu/view

display show Displays information

dis ver sh ver Displays Comware version

dis curr sh run Displays current configuration

dis save sh startup-config Displays saved configuration

dis diag sh tech Display or save diagnostic information

save curr write mem Saves current configuration to flash

delete erase Deletes a file from flash

reset saved write erase Resets configuration for next boot

sysname hostname Sets the system name of the device

undo no Negates a command

un shut no shut Brings up an interface

rip router rip Enters RIP configuration on the device

ospf router ospf Enters OSPF configuration

bgp router bgp Enters BGP configuration

acl access-list Configures an Access Control List

link-protocol encapsulation Sets the protocol on a link

info-center logging Sets logging level

simple 0 Clears password encryption

cipher 7 Sets password encryption

tftp x.x.x.x get copy tftp: flash: Copies file from TFTP Server to Flash

tftp x.x.x.x put copy flash: tftp: Copies file from Flash to TFTP Server

(8)

3Com Technical Marketing Engineering Page 8

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 enable

command-alias mapping show display command-alias mapping no undo command-alias mapping end return command-alias mapping exit quit

command-alias mapping hostname sysname command-alias mapping access-list acl command-alias mapping write save command-alias mapping erase delete

References

Related documents

The protocol that we presented in Section 3 required the prover to be able to prove the knowledge of a signature on a value that he has committed to, where we used Pedersen

Congress has begun to recognize the need fur federal support for high- quality education research to enable the United States to reach its essential educational

Whenever the profits are on the books of one of the subsidiaries, the unrealized profits at the Whenever the profits are on the books of one of the subsidiaries, the unrealized

The following example shows how to access global configuration mode: c6200# configure terminal.. Enter configuration commands, one

UPPAbaby offre une garantie de deux ans sur toutes les poussettes et sur une sélection d’accessoires (nacelle, siège d’appoint RumbleSeat, trousse « dès la naissance » et

Interacting with Cisco Unified Wireless Access Points, page 2-12 Cisco IOS Software Configuration Guide for Cisco Aironet Access Points, Cisco IOS Release 12.3(8)JA.

• Audiometric test records provided by our Occupational Health Provider should be maintained by departments with employees enrolled in the Hearing Conservation Program and

Along with the four individual datasets, a final combined dataset is also created and tested using a com- bination of the INRIA Aerial Imagery and Massachusetts Buildings datasets..