Using pattern matching with the show VLANs custom command

If a pattern matching command is in a search for a field in the output of the show vlan custom command and it produces an error, the error message may not be visible. For example, if you enter a command with the pattern matching include option that contains an error (such as 'vlan' is misspelled) as in the following example, the output may be empty:
switch(config)# show vlans custom 1-3 name vlan include vlan1

Try the show vlans custom command first to ensure that there is output, and then enter the command again with the pattern matching option.