Using pattern matching with the show interfaces custom command

Cause
If you have included a pattern matching command to search for a field in the output of the show int custom command, and the show int custom command produces an error, the error message may not be visible and the output is empty. For example, if you enter a command that produces an error (such as vlan is misspelled) with the pattern matching include option, the output may be empty:
switch# show int custom 1-3 name [vlun|include vlan1]

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

You can substitute int for interface; that is: show int custom.