xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
112
show config
The relationship of multiple filter strings following the same filter type is OR. That is, one line
is qualified if one of specified filter strings is matched.
If more than one filter evaluation is specified; the output of filtered by the former evaluation
will be used as the input of the latter evaluation.
For example, if the following expression is specified, Include “stp” exclude “port”
The result of the above example is all lines that include the “stp” string but exclude the “port”
string.
Parameters
current_config
- Specifies the current configuration.
config_in_nvram
- Specifies which configuration file. If the configuration ID is not specified,
the boot up configuration is implied.
filter_string
- A filter string is enclosed by symbol ". Thus, the filter string itself cannot contain
the “character. The filter string is case sensitive.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
The following example illustrates how the special filters ‘account’affect the configuration display:
DGS-3450:admin# show config current_config include "account"
Command: show config current_config include "account"
create account admin brent
config accounting service network state disable
config accounting service shell state disable
config accounting service system state disable
DGS-3450:admin#
config configuration
Purpose
Used to select a configuration file as the next boot up configuration or to apply a specific
configuration to the system. This command is required when multiple configuration files are
supported.
Syntax
config configuration config_id <config_id 1-2> [delete | boot_up | active]
Description
Used to select a configuration file as the next boot up configuration or to apply a specific
configuration to the system. This command is required when multiple configuration files are
supported.
Parameters
config_id
- Specifies which configuration file.
delete
- Specifies to delete the configuration.
boot_up
- Specifies it as a boot up file.
active
- Specifies to apply the configuration.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure configuration as boot-up 1: