DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
659
Example
To configure the specific configuration file as boot up:
DGS-3710-12C:admin#config configuration 1 boot_up
Command: config configuration 1 boot_up
Success
DGS-3710-12C:admin#
71-4
show config
Description
This command is used to display configuration information. The output stream of the configuration
data can be filtered by the expression specified at the end of the command. The expression can
contain up to three multiple filter evaluations. A filter evaluation begins with a filter type (include,
exclude, and begin), followed by up to three filter strings (ex: “stp”). A filter string is enclosed by
symbol ". The following describes the meaning of the each filter type: include: Includes lines that
contain the specified filter string; exclude: Excludes lines that contain the specified filter string; and
begin: The first line that contains the specified filter string will be the first line of the output.
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.
Format
show config [[effective | modified | current_config | config_in_nvram <config_id 1-2>]
{[include | exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include
| exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include |
exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}}}}} | information]
Parameters
effective
- Specifies to display only commands which affects the behavior of the device.
modified
- Specifies to display only commands which are not from the ‘reset’ default setting.
current_config
- Specifies the to display the current configuration.
config_in_nvram
- Specifies which configuration file. If the configuration ID is not specified, the
boot up configuration is implied.
<config_id 1-2>
- Enter the configuration ID value used here. This value can either be 1 or 2.
include
–
(Optional)
Includes lines that contain the specified filter string.
exclude
- (Optional)
Excludes lines that contain the specified filter string.
begin
-
(Optional)
The first line that contains the specified filter string will be the first line of the
output.
<filter_string 80>
- (Optional)
Specifies a filter string enclosed by the quotation mark symbol.
Thus, the filter string itself cannot contain the quotation mark character. The filter string is case
sensitive.
<filter_string 80>
- (Optional)
Specifies a filter string enclosed by the quotation mark symbol.
Thus, the filter string itself cannot contain the quotation mark character. The filter string is case
sensitive.
<filter_string 80>
- (Optional)
Specifies a filter string enclosed by the quotation mark symbol.
Thus, the filter string itself cannot contain the quotation mark character. The filter string is case
sensitive.
include
–
(Optional)
Includes lines that contain the specified filter string.