[Contents] [Prev] [Next] [Index] [Report an Error]

Example: Disabling Inheritance on Interface so-1/1/0

In the following example, the apply-groups statement is applied globally at the interfaces level. The apply-groups-except statement is also applied at interface so-1/1/0 so that it uses the default values hold-time and link-mode.

[edit]
groups { # "groups" is a top-level statement
global { # User-defined group name
interfaces {
<*> {
hold-time down 640;
link-mode full-duplex;
}
}
apply-groups global;
interfaces {
so-1/1/0 {
apply-groups-except global;  # Disables inheritance from group "global"
# so-1/1/0 uses default value for “hold-time”
}
# and "link-mode"
}

For information about applying a configuration group, see Applying a Configuration Group.


[Contents] [Prev] [Next] [Index] [Report an Error]