D-Link DES-1228/ME Reference Manual page 32

Layer 2 managed ethernet switch
Hide thumbs Also See for DES-1228/ME:
Table of Contents

Advertisement

DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
show config
Purpose
Display the content of the current configuration, or the configuration
file in flash.
Syntax
show config [ 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>}}}}}
Description
This command is used to display the content of the current
configuration, or the configuration file in flash.
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
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 is filtered by
the former evaluation and 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 – Display system configuration from the DRAM
database, i.e. the current system setting.
config_in_nvram – Display the system configuration from NV-RAM
i.e. the configuration filein flash.
config_id - Specifies which cfg file ID. if cfg ID is not specified, it
refers to the boot_up CFG file.
include – includes lines that contain the specified filter string.
exclude – excludes lines that contain the specified filter string.
begin – the first line that contains the specified filter string will be the
first line of the output.
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 level users can issue this command.
28

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents