Comware

 View Only
  • 1.  equivalent commands

    Posted Dec 02, 2014 08:39 AM

    Hello!

    I'm doing inventory of a client and saving the settings of switches and it must run the commands:

     

    sh ver
    sh run
    sh ip int bri
    sh int trunk
    sh cdp neig
    sh vlan
    sh ip protocols
    sh ip route

     

    I wonder what the equivalent 3com commands to these.



  • 2.  RE: equivalent commands

    Posted Dec 03, 2014 07:55 AM

    Hi geovane95,

     

    I'm assuming you're using some Cisco IOS version.

    The equivalent to the Cisco IOS command "Show" is the HP comware command "Display".

     

    so

    1: show version ~ display version

     

    2: show running-config ~ display current-configuration

     

    3: show ip interface brief ~ display ip interface brief

     

    4: show interfaces trunk:

    There is no direct "translation" a comware command here. But "display interface brief" and "display port trunk" might both create the output you're looking for.

     

    5: show cdp neighbors

    Well the HP series run lldp and not cdp. Depending on what output you expect, you might want to run a "display lldp neighbor-information list"

     

    6: show vlan

    I havent found a command that does exactly what Cisco IOS "show vlan" does, however you can do : "display current-configuration configuration  - and the output you look for will be part of that, or you can do :

     

    vlan 1

    display this

     

    which is 2 commands.

     

    7: show ip protocols :

     

    there is no one command for this, but try.

     

     display ip routing-table protocol [bgp,direct,isis,ispf, rip, static] verbose

     

    8: show ip route ~ display ip routing-table (verbose)

     

    where verbose is optional.

     

    Regards

     

     

     

     

     

     

     



  • 3.  RE: equivalent commands



  • 4.  RE: equivalent commands

    Posted Dec 13, 2014 03:18 PM

    Use these command mappings to make life easier for cisco-people administrating comware-devices :-)

     

     command-alias enable
     command-alias mapping quit exit
     command-alias mapping undo no
     command-alias mapping display show
     command-alias mapping reboot reload
     command-alias mapping header banner
     command-alias mapping reset clear
     command-alias mapping acl access-list
     command-alias mapping port switchport
     command-alias mapping stp spanning-tree
     command-alias mapping snmp-agent snmp-server
     command-alias mapping user-interface line
     command-alias mapping return end
     command-alias mapping sysname hostname
     command-alias mapping save write
     command-alias mapping delete erase
     command-alias mapping info-center logging

     



  • 5.  RE: equivalent commands

    Posted Dec 14, 2014 06:09 PM

    I always put that on first thing before I do anything else, although the ones I mainly do are

    display

    undo

    save

    quit

     

    I mean, "display"??? WHat a load of rubbish!



  • 6.  RE: equivalent commands

    Posted Jul 22, 2020 10:00 PM

    you may try about this

     

    show vlan   -    display vlan brief