# Output difference in show and show | display json

**URL:** <https://dmap-community.ductus.global/t/output-difference-in-show-and-show-display-json/3275>\
**Category:** Other Northbound Interfaces\
**Created:** [September 11, 2020, 8:26pm UTC](https://dmap-community.ductus.global/t/output-difference-in-show-and-show-display-json/3275 "2020-09-11T20:26:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khan](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@khan](https://dmap-community.ductus.global/u/khan)\
**Post date:** [September 11, 2020, 8:26pm UTC](https://dmap-community.ductus.global/t/output-difference-in-show-and-show-display-json/3275/1 "2020-09-11T20:26:37Z")

</div>

Hi,

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.

thanks,

---

<div class="post-metadata">

**Author:** ![mvf](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mvf/32/182_2.png) [@mvf](https://dmap-community.ductus.global/u/mvf)\
**Post date:** [September 17, 2020, 7:56am UTC](https://dmap-community.ductus.global/t/output-difference-in-show-and-show-display-json/3275/2 "2020-09-17T07:56:04Z")

</div>

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`.
