# Avoid container name in show output

**URL:** https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489
**Category:** YANG
**Created:** [February 2, 2021, 5:48am UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489 "2021-02-02T05:48:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sourasen](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sourasen](https://dmap-community.ductus.global/u/sourasen)
#### Post date: [February 2, 2021, 5:48am UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489/1 "2021-02-02T05:48:03Z")

</div>

I have yang model as below,

```auto
container A {
config false;
callpoint a1;
leaf 1 {
}
leaf 2 {
}
leaf 3{
}
}

```

If I give show A it displays

```auto
A 1 = value_1
A 2 = value_2
A 3 = value_3

```

Any ideas on how to skip the container name from popping up in the show output without using a show template? I am running into a limitation with using a show template because some of the leaf displays are conditional on the value of other leafs.

---

<div class="post-metadata">

### Author: ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)
#### Post date: [February 2, 2021, 8:55am UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489/2 "2021-02-02T08:55:00Z")

</div>

Try adding “tailf:cli-add-mode” to the container.

---

<div class="post-metadata">

### Author: ![sourasen](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sourasen](https://dmap-community.ductus.global/u/sourasen)
#### Post date: [February 2, 2021, 9:42am UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489/3 "2021-02-02T09:42:32Z")

</div>

Confd user guide indicates “Can be used in config nodes only” for cli-add-mode. I am using oper data to display the content of the leafs of the above container.

---

<div class="post-metadata">

### Author: ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)
#### Post date: [February 2, 2021, 10:52am UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489/4 "2021-02-02T10:52:00Z")

</div>

Try tailf:cli-column-stats for the same effect on the show output as tailf:cli-add-mode

---

<div class="post-metadata">

### Author: ![sourasen](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sourasen](https://dmap-community.ductus.global/u/sourasen)
#### Post date: [February 2, 2021, 9:31pm UTC](https://dmap-community.ductus.global/t/avoid-container-name-in-show-output/3489/5 "2021-02-02T21:31:44Z")

</div>

thanks. That worked!
