- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Comware CLI "feature/fix" request
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2015 02:58 PM
тАО07-07-2015 02:58 PM
Comware CLI "feature/fix" request
Since my first dip into the Comware CLI (many years of BASH) I've been frustrated by the inability to a simple SELECT > RIGHT CLICK paste into the CLI from a dis int brief because the port name prefixes are not compatible with edit mode.
IRF1-2>dis int brief
Interface Link Speed Duplex Type PVID Description
XGE1/0/1 UP 10G(a) F(a) A 1 enc01p-vc3 X1
XGE1/0/2 UP 10G(a) F(a) A 1 enc01p-vc4 X1
XGE1/0/3 ADM auto A A 1
XGE1/0/4 ADM auto A A 1
IRF1-2>sys
IRF1-2]int XGE1/0/1
^
% Wrong parameter found at '^' position.
Simply make the prefix compatible!
Rant off
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2015 01:02 PM
тАО07-10-2015 01:02 PM
Re: Comware CLI "feature/fix" request
Wouldnt it be possible if you setup a command-alias for this?
This is what I currently use in a 5820:
#
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2015 02:27 PM
тАО07-10-2015 02:27 PM
Re: Comware CLI "feature/fix" request
So I should be able to do
command-alias mapping Ten-GigabitEthernet XGE
command-alias mapping GigabitEthernet GE
for example?
comware says that is an incomplete command
Seems to me that this is something HP should fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2015 07:50 PM
тАО07-13-2015 07:50 PM
Re: Comware CLI "feature/fix" request
Much as I like Apachez's command-alias file (and use pretty much the same one myself), it only works for the first word of any command.