Output difference in show and show | display json


could you please let me know why is the CLI output for show and show with display options differs.
show will display only state data where as show with pipe filters display both state and config data.


The commands after '|' can change the behavior of the original command considerably. The syntax might be misleading, they can do more than just to filter/reformat the command’s output, some are actually pipe flags, not pipe commands - the original command acts differently when certain pipe flags are present; this is the case of | display XYZ.