HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Command Reference - Page 10
display | by-linenum, Usage guidelines, Examples, Syntax, Views, Predefined user roles, Parameters - user guide
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 10 highlights
include: Displays all lines matching the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines Use the | { begin | exclude | include } regular-expression option with a display command to filter the command output. For more information about regular expressions, see Fundamentals Configuration Guide. Examples # Display the lines that contain "vlan" in the running configuration. display current-configuration | include vlan vlan 1 vlan 999 port access vlan 999 display | by-linenum Use display | by-linenum to number each output line for a display command. Syntax display command | by-linenum Views Any view Predefined user roles network-admin network-operator Parameters command: Specifies the keywords and arguments of a display command. To display available keywords and arguments, enter display ?. Usage guidelines By numbering each output line from a display command, you can easily identify the lines of interest. Examples # Display VLAN 999 settings, with each output line identified by a number. display vlan 999 | by-linenum 1: VLAN ID: 999 2: VLAN type: Static 3: Route interface: Configured 4: IP address: 192.168.2.1 5: Subnet mask: 255.255.255.0 6: Description: For LAN Access 7: Name: VLAN 0999 8: Tagged ports: None 9: Untagged ports: 10: Ten-GigabitEthernet1/1/5 3