Everyone who have dealt with HP Comware should be familiar with the "display" command which is the "show" equivalent in Cisco IOS. This post is a recap on the command and its features.
The most useful display command is the "display this" which serves its effectiveness while in system-view mode.
The most useful display command is the "display this" which serves its effectiveness while in system-view mode.
<HP-TEST-SW-5800>system-view
[HP-TEST-SW-5800]int Ten-GigabitEthernet 1/0/49
[HP-TEST-SW-5800-Ten-GigabitEthernet1/0/49]display this
#
interface Ten-GigabitEthernet1/0/49
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 100 to 110
port trunk pvid vlan 200
port link-aggregation group 1
#
return
[HP-TEST-SW-5800-Ten-GigabitEthernet1/0/49]
Then let us focus on the "display current-configuration" and its options
<HP-TEST-SW-5800>display current-configuration ?
by-linenum Display configuration with line number
configuration The pre-positive and post-positive configuration information
exclude Display current configuration without specified module
interface The interface configuration information
| Matching output
Here I find very useful the by-linenum in tracing and debugging in detail the device configuration.
Below we look at the pipe "|" options.
Below we look at the pipe "|" options.
<HP-TEST-SW-5800>display current-configuration | ?
begin Begin with the line that matches
exclude Match the character strings excluding the regular expression
include Match the character strings including with the regular expression
Those who use Cisco IOS should be familiar how to use these begin, exclude, and include preceeding a string to be searched.
Then we have this option while in the "display current-configuration" where we have the "---- More ----" paging.
Then we have this option while in the "display current-configuration" where we have the "---- More ----" paging.
<HP-TEST-SW-5120>display current-configuration
version 5.20, Release 1513P86
sysname HP-TEST-SW-5120
clock timezone UAE add 04:00:00
super password level 3 cipher ***************
undo copyright-info enable
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
ip ttl-expires enable
ip unreachables enable
---- More ----
While in this view, you can press any of these keys:
- A slash "/" and enter a string and will search first occurrence of the string and page
- A plus "+" and enter a string and will lists only the occurrence of the string and page
- A minus "-" and enter a string and will exclude this string on the next paging