Show config, Show config -44 – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 82
show config
2-44 Basic Configuration
show config
Use this command to display the system configuration or write the configuration to a file.
Syntax
show config [all | facility] [outfile {configs/filename}]
Parameters
Defaults
By default, show config will display all non‐default configuration information for all facilities.
Mode
Switch command, read‐only.
Usage
The separate facilities that can be displayed by this command are identified in the display of the
current configuration by a # preceding the facility name. For example, “#port” indicates the facility
name “port.”
Examples
This example shows how to write the current configuration to a file named save_config2:
D2(rw)->show config all outfile configs/save_config2
This example shows how to display configuration for the facility “port”.
D2(rw)->show config port
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
begin
!
#***** NON-DEFAULT CONFIGURATION *****
!
!
#port
set port jumbo disable ge.1.1
!
end
all
(Optional) Displays default and non‐default configuration settings.
facility
(Optional) Specifies the exact name of one facility for which to show
configuration. For example, enter “router” to show only router
configuration.
outfile
(Optional) Specifies that the current configuration will be written to a text
file in the configs/ directory.
configs/filename
Specifies a filename in the configs/ directory to display.