HP A-series commands cheat sheet

posted 25 Mar 2016, 02:36 by DR Labs   [ updated 29 Jun 2016, 01:54 by Donald Ross ]
LAB ACCESS SETUP 

telnet server enable
line vty 0 4
 authentication-mode none

BGP

dis ip routing-table protocol bgp 

###

Display the routing information the specified BGP peer advertised or received
display bgp routing-table peer peer-address { advertised | received } [ network-address [ mask ] | statistic ]

###

Display the total number or route entries received or advertised by all BGP peers
display bgp routing-table [ advertised | received ] statistic

###

display bgp routing-table ipv4 vpn-instance TEST_OUTSIDE peer 60.1.1.2 advertised-routes

###

dis bgp routing-table ipv4 vpn-instance TEST_OUTSIDE peer 60.1.1.2 received-routes

###

dis current-configuation confiuration  vpn-instance  | include vrf11

###

dis ip vpn-instance instance name xxx (shows vlans associated with the vpn)

###


###


HP and Cisco CLI Equivalents

HP                                 Cisco
display                             show
undo                               no
local-user                         user
return                             end
quit                               exit
save                               write
delete                             erase
save                               write
sysname                            hostname
rip                                router rip
ospf                               router ospf
bgp                                router bgp
ip route-static                    ip route
acl                                access-list
user-interface vty0 4              Line vty0 4
screen-length disable              Terminal length 0
Terminal monitor                   Terminal monitor
Terminal logging
Terminal debugging                 Logging console level
display current-configuration      show run
display save-configuration         Show start
display diagnostic-information     show tech-support
display brief interfaces           show interfaces status
display ip int brief               show ip int brief
display ip routing-table           show ip route
display info-center                show logging
display version                    show version
save                               write memory
reset saved(user view)             erase startup-config
display version                    show version


HP command alias
command-alias enable
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



Comments