Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring Sets of Statements with Configuration Groups

When sets of statements exist in configuration groups, all values are inherited. For example:

[edit]user@host# show
groups {basic {snmp {interface so-1/1/1.0;}}}
apply-groups basic;
snmp {interface so-0/0/0.0;}
[edit]user@host# show | display inheritance
snmp {#### ’so-1/1/1.0’ was inherited from group ’basic’##interface [ so-0/0/0.0 so-1/1/1.0 ];}

For sets that are not displayed within brackets, all values are also inherited. For example:

[edit]user@host# show
groups {worldwide {system {name-server {10.0.0.100;10.0.0.200;}}}}
apply-groups worldwide;
system {name-server {10.0.0.1;10.0.0.2;}}
[edit]user@host# show | display inheritance
system {name-server {#### ’10.0.0.100’ was inherited from group ’worldwide’##10.0.0.100;#### ’10.0.0.200’ was inherited from group ’worldwide’##10.0.0.200;10.0.0.1;10.0.0.2;}}

Published: 2013-02-22