Navigation
Related Documentation
- EX, J, M, MX, PTX, T Series
- Understanding the Junos Configuration Groups
- Creating a Junos Configuration Group
- EX, M, MX, PTX, T Series
- Applying a Junos Configuration Group
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;}}
Related Documentation
- EX, J, M, MX, PTX, T Series
- Understanding the Junos Configuration Groups
- Creating a Junos Configuration Group
- EX, M, MX, PTX, T Series
- Applying a Junos Configuration Group
Published: 2012-11-27
Related Documentation
- EX, J, M, MX, PTX, T Series
- Understanding the Junos Configuration Groups
- Creating a Junos Configuration Group
- EX, M, MX, PTX, T Series
- Applying a Junos Configuration Group