show running-config Exec Command

show running-config CISCO Switch Command in Linux

Explanation


Shows running configuration of the switch, which may sometimes differ from the startup configuration. If admin has changed any configuration, then those configuration changes can be viewed using this command.

Usage:

show running-config

Example:

HSCRIPTS#show running-config
Using 2994 out of 524288 bytes
!
! Last configuration change at 01:29:07 UTC Wed Mar 30 2011
! NVRAM config last updated at 01:29:25 UTC Wed Mar 30 2011
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname HSCRIPTS
!
boot-start-marker
boot-end-marker
!
enable password kkppkkpp
!
username hscripts privilege 15 password 0 kkppkkpp
aaa new-model
!
!
aaa authentication attempts login 10
aaa authentication banner ^C ####################unauthorised login prohibited################
^C
aaa authentication login default local
aaa authorization network default local
!
!
!
!
!
!
aaa session-id common
system mtu routing 1500
!
!
no ip domain-lookup
ip domain-name core
ip device tracking
!
mls qos
!
crypto pki trustpoint TP-self-signed-294343434
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-294343434
revocation-check none
rsakeypair TP-self-signed-294343434
!
!
crypto pki certificate chain TP-self-signed-294343434
certificate self-signed 01 nvram:IOS-Self-Sig#2.cer
license boot level ipservices
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
class-map match-all CLASS_SLAP
match access-group name ACL_SLAP
!
policy-map POLICY_SLAP
class CLASS_SLAP
police 1000000 8000 exceed-action drop
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface GigabitEthernet1/3
!
interface GigabitEthernet1/4
!
interface TenGigabitEthernet1/1
!
interface TenGigabitEthernet1/2
!
interface Vlan1
ip address 192.168.0.150 255.255.255.0
rate-limit input access-group 199 1000000 2000 5000 conform-action transmit exceed-action drop
rate-limit output access-group 199 1000000 2000 5000 conform-action transmit exceed-action drop
!
ip default-gateway 192.168.0.1
ip forward-protocol nd
ip http server
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1
!
ip access-list extended ACL_SLAP
permit ip host 192.168.0.151 any
!
!
!
!
!
!
line con 0
line vty 0 4
privilege level 15
password kkppkk
line vty 5 15
privilege level 15
password kkppkk
!
end


Note:
Switch to 'Privileged Mode' to use this command.

Ask Questions

Ask Question