show config

Use this command to display the system configuration or write the current configuration to a file.

Syntax

show config [all] [facility] [outfile outfile]

Parameters

all (Optional) Displays default and non-default configuration settings.
facility (Optional) Displays the configuration for a specific facility.
outfile outfile (Optional) Specifies a file in which to store the configuration. You can store this file in the root directory or a subdirectory (slot or USB device directory).

Defaults

If no parameters are specified, only non-default system configuration settings will be displayed.

Mode

All command modes.

Usage

If C2 security mode is enabled, encrypted passwords are cloaked while in Read-Write or Read-Only user mode.

Example

This example shows how to display the current non-default device configuration and write the output to file config08222010.txt on slot 1:

System(su)->show config outfile slot1/config08222010.txt
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
# Chassis Firmware Revision: 07.00.00.0061T
!
# router configuration
!
# **** VRF default (default) ****
configure terminal
!
 interface loop.0.1
  ip address 172.16.3.1 255.255.255.252
  no shutdown
  exit
 interface loop.0.2
  ip address 172.16.3.5 255.255.255.252
  no shutdown
  exit
.
.
.
# vlan
set vlan create 13,23,1010,1020,1030,1040,4024
clear vlan egress 1 lag.0.1;ge.1.1-24
set vlan egress 1 ge.1.1 tagged
set vlan egress 13 lag.0.1;ge.1.21 untagged
set vlan egress 23 ge.1.22 tagged
set vlan egress 1010 ge.1.1 untagged
set vlan egress 1020 ge.1.2 untagged
set vlan egress 1030 ge.1.3 untagged
set vlan egress 1040 ge.1.4 tagged
set vlan egress 4024 ge.1.24 untagged
!
# vlanauthorization
!
# webview
!
# width
set width 160 default
!
end