• No results found

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.

Example usage:

To display the current spanning tree configurations:

D E S - 1 2 2 8 / M E : 5 # s h o w c o n f i g c u r r e n t _ c o n f i g i n c l u d e " s t p " C o m m a n d : s h o w c o n f i g c u r r e n t _ c o n f i g i n c l u d e " s t p " d i s a b l e s t p c o n f i g s t p v e r s i o n r s t p c o n f i g s t p m a x a g e 2 0 m a x h o p s 2 0 f o r w a r d d e l a y 1 5 t x h o l d c o u n t 6 f b p d u e n a b l e h e l l o t i m e 2 c o n f i g s t p p r i o r i t y 3 2 7 6 8 i n s t a n c e _ i d 0 c o n f i g s t p m s t _ c o n f i g _ i d n a m e 0 0 : 7 1 : 3 9 : 0 0 : 0 0 : 0 1 r e v i s i o n _ l e v e l 0 c o n f i g s t p p o r t s 1 - 2 6 e x t e r n a l C o s t a u t o e d g e a u t o p 2 p a u t o s t a t e e n a b l e c o n f i g s t p m s t _ p o r t s 1 - 2 6 i n s t a n c e _ i d 0 i n t e r n a l C o s t a u t o p r i o r i t y 1 2 8 c o n f i g s t p p o r t s 1 - 2 6 f b p d u e n a b l e c o n f i g s t p p o r t s 1 - 2 6 r e s t r i c t e d _ r o l e f a l s e c o n f i g s t p p o r t s 1 - 2 6 r e s t r i c t e d _ t c n f a l s e D E S - 1 2 2 8 / M E : 5 #

config terminal_line

Purpose Used to configure the number of rows which can be displayed on a screen.

Syntax config terminal_line [ default | <value 20-80>]

Description This command is used to configure the number of rows which can be displayed on a screen. The default value is 24.

Parameters None.

Restrictions Only Administrator level, Operator level or Power User level users can issue this command.

Example usage:

To configure the terminal line to display 30 rows:

DES-1228/ME:5#config terminal_line 30 Command: config terminal_line 30

Success.

DES-1228/ME:5#

Note: If the downloaded configuration file has been modified and saved, the “From” item will

Related documents