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

Using the extension show Command to Display a Specific Package’s Configuration

The extension package-name show command selects configurations contributed by and leading to the named package.

In the following example, only the sdk-backup-server statement at the [edit system radius-server 10.1.1.1] hierarchy level and the sdk-proto1 statement at the [edit system protocols] hierarchy level are contributed by the SDK application package sdk-pkg1:

user@host# show
system {
radius-server {
10.1.1.1 {
timeout 10;
sdk-backup-server 10.1.1.2; # Contributed by sdk-pkg1
}
}
}
protocols {
ospf {
....
}
sdk-proto1 { # Contributed by sdk-pkg1
....
}
}

Following is the output from the extension sdk-pkg1 show command:

user@host# extension sdk-pkg1 show
system {
radius-server {
10.1.1.1 {
sdk-backup-server 10.1.1.2;
}
}
}
protocols {
sdk-proto1 {
....
}
}

The extension sdk-pkg1 show command filters out the timeout and ospf commands from the displayed output, which were not contributed by the sdk-pkg1 package.


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