2.4.5. show config

Syntax

show (running-config | startrup-config | backup-config)

show running-config interfaces IF_PORTS

Parameter


running-config Show running configuration on terminal

startup-config Show startup configuration on terminal

backup-config Show backup configuration on terminal

IF_PORTS Specify port to show its’ ruuning config


Default

No default value for this command.

Mode

Privileged EXEC

Usage

Our configuration file is text based. Therefore, we can show the configuration on terminal and read it by this command. Use “show config” command to show configuration files stored in system. Use “show config interfaces” command to show specific port configurations.

Example

This example shows how to show startup configuration.

Switch# show startup-config
! System Description: AQ-N2000-24T4X
! System Version: v0.6-dev.12344
! System Name: SW10
! System Up Time: 0 days, 4 hours, 31 mins, 43 secs
!
!
!
!
username "" privilege user secret "dnXencJRwflV6"
username "admin" secret "FzjrGO6vfbERY"
voice-vlan vpt 0
voice-vlan dscp 0
------------------------------------------------------------------------

This example shows how to show running configuration

Switch# show running-config
! System Description: AQ-N2000-24T4X
! System Version: v0.6-dev.12344
! System Name: SW10
! System Up Time: 0 days, 5 hours, 23 mins, 42 secs
!
!
!
!
username "" privilege user secret "dnXencJRwflV6"
username "admin" secret "FzjrGO6vfbERY"
voice-vlan vpt 0
voice-vlan dscp 0
------------------------------------------------------------------------

This example shows how to display running configuraiton on specific port.

Switch# show running-config interfaces gi1
interface gi1
rate-limit ingress 128