Note on using pattern matching with the
show interfaces custom
command
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(config)# show int custom 1-3 name vlun | include vlan1
It is advisable to try the
show int custom
command first to ensure there is output, and then enter the command again with the pattern matching option.
Note that in the above command, you can substitute
int
for
interface
; that is: show
int custom
.