Troubleshooting
Viewing Switch Configuration and Operation
Pattern Matching When Using the Show Command
The pattern matching option with the
show
command provides the ability to
do searches for specific text. Selected portions of the output are displayed
depending on the parameters chosen.
Syntax:
show <
command option
> | <include | exclude | begin > <regular
expression>
Use matching pattern searches to display selected portions of
the output from a
show
command. There is no limit to the
number of characters that can be matched. Only regular
expressions are permitted; symbols such as the asterisk
cannot be substituted to perform more general matching.
include
Only the lines that contain the matching pattern are
displayed in the output.
exclude
: Only the lines that contain the matching pattern are
not displayed in the output.
begin:
The display of the output begins with the line that
contains the matching pattern.
N o t e
Pattern matching is case-sensitive.
Below are examples of what portions of the running config file display
depending on the option chosen.
ProCurve(config)# show run | include ipv6
ipv6 enable
ipv6 enable
Displays only lines that contain “ipv6”.
ipv6 access-list "EH-01"
ProCurve(config)#
Figure C-20. Example of Pattern Matching with Include Option
C-71
Summary of Contents for ProCurve 6120G/XG
Page 2: ......
Page 24: ...xxii ...
Page 40: ...Getting Started To Set Up and Install the Switch in Your Network 1 10 ...
Page 70: ...Using the Menu Interface Where To Go From Here 3 16 ...
Page 92: ...Using the ProCurve Web Browser Interface Contents Setting Fault Detection Policy 5 25 5 2 ...
Page 160: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 44 ...
Page 288: ...Port Status and Configuration Uplink Failure Detection 10 42 ...
Page 318: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 11 30 ...
Page 487: ...Monitoring and Analyzing Switch Operation Status and Counters Data B 17 ...
Page 518: ...Monitoring and Analyzing Switch Operation Traffic Mirroring B 48 ...
Page 612: ...MAC Address Management Viewing the MAC Addresses of Connected Devices D 8 ...
Page 616: ...Monitoring Resources When Insufficient Resources Are Available E 4 ...
Page 620: ...Daylight Savings Time on ProCurve Switches F 4 ...
Page 638: ...Network Out of Band Management OOBM Tasks G 18 ...
Page 659: ...download to primary or secondary flash A 21 using to download switch software A 19 Index 19 ...
Page 660: ...20 Index ...
Page 661: ......