Current Switch Configuration

Use the show running-config command to display the current switch configuration. The syntax for this command is as follows.

show running-config [verbose] [module <app-telemetry | boot | cfm | cli | diag | dvr | eap | endpoint-tracking | energy-saver | fa | fhs | filter | ike | ip | ipfix | ipsec | ipv6 | iqagent | isis | i-sid | lacp | license | lldp | lst | macsec | mlt | naap | nls | ntp | ovsdb | port | qos | radius | restconf | rmon | sflow | security | slamon | slpp | smtp | spbm | stg | sys | tacacs | virtualservice | vlan | web | vxlan>]

The following table explains parameters for this command.

Table 1. Command parameters

Parameter

Description

module <app-telemetry | boot | cfm | cli | diag | dvr | eap | endpoint-tracking | energy-saver | fa | fhs | filter | ike | ip | ipfix | ipsec | ipv6 | iqagent | isis | i-sid | lacp | license | lldp | lst | macsec | mlt | naap | nls | ntp | ovsdb | port | qos | radius | restconf | rmon | sflow | security | slamon | slpp | smtp | spbm | stg | sys | tacacs | virtualservice | vlan | web | vxlan>

Specifies the command group for which you request configuration settings.

verbose

Specifies a complete list of all configuration information about the switch.

If you make a change to the switch, it appears under the specific configuration heading. The following example shows a subset of the output of this command.

Switch:1#show running-config
Preparing to Display Configuration...
#
# Sun Dec 18 14:04:23 2016 UTC        
# box type             : VSP-8608
# software version     : 4.5.0.0
# cli mode             : CLI   #

--More-- (q = quit)
Note

Note

The output from the show running-config command displays an "end statement" near the end of the config file. This statement means that the script is exiting the Global Configuration mode and loading the rest of the configuration in Privileged EXEC mode, which is a requirement when loading the IP redistribution commands.

If you add verbose to the show running-config command, the output contains current switch configuration including software (versions), performance, VLANs (numbers, port members), ports (type, status), routes, memory, interface, and log and trace files. With the verbose command, you can view the current configuration and default values.