Monday, October 15, 2012

@hp a-series @cisco command aliases

So..you just cant unlearn all of those cisco cli commands like show or write.  Honestly..it is hard jumping on different boxes...   even though the industry has adopted pretty much a common cli (except juniper) there are differences.     One nice thing you can do on the HP a-series boxes is do command aliases.  Type a word and it issues a command.  Here are a bunch that some folks like to put on so they dont flub with a cisco command on a hp switch:


command-alias enable
command-alias mapping undo no
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 display show
command-alias mapping undo no
command-alias mapping return end
command-alias mapping quit exit
command-alias mapping sysname hostname
command-alias mapping acl access-list
command-alias mapping save write
command-alias mapping delete erase
command-alias mapping info-center logging
command-alias mapping save wr


No comments:

Post a Comment