show running-config

Use this command to display the non-default, user-supplied commands entered while configuring the device.

Syntax

show running-config [all] [application [all]]

Parameters

all (Optional) Displays all the running configuration including default parameters for the current VRF router context.
application Specifies an application to display on the S- K- and 7100-Series:
  • hostDoS - Show Host DoS configuration
  • interface - Show configuration for one or all interfaces
  • routes - Show static route configuration

Specifies and application to display on the S- and K-Series

  • access-lists - Show access list configuration
  • arp-nd - Show ARP and Neighbor Discovery configuration
  • bgp - Show BGP configuration
  • dhcp-server - Show DHCP Server configuration
  • dvmrp - Show DVMRP configuration
  • forward-protocol - Show forword-protocol configuration
  • nat - Show nat configuration
  • ospf - Show ospf configuration
  • ospfv3 - Show ospfv3 configuration
  • pim - Show PIM configuration
  • probe - Show Probe configuration
  • rip - Show rip configuration
  • route-map - Show route map configuration
  • slb - Show Server Load Balancing (SLB) configuration
  • track - Show Track configuration
  • twcb - Show twcb configuration

Defaults

If all is not specified, only the non-default, user-supplied commands entered while configuring the current VRF router context are displayed.

When specifying a supported application keyword, only configuration for the specified application displays.

If no application is specified, the entire non-default running configuration displays.

Mode

Configuration command, Any router mode.

Examples

This S-Series example shows how to display all configuration for interface vlan.0.1:

System(rw)->show running-config interface vlan.0.1 all
# **** VRF default (default) ****
configure terminal
!
 interface vlan.0.1
  ip address 10.21.130.59 255.255.128.0
  no ip nat inside
  no ip nat outside
  ip policy priority first
  ip policy load-policy first-available
  no ip proxy-arp
  no ip gratuitous-arp
  no ip gratuitous-arp-learning
  ip redirects
  no shutdown
  exit
!
exit
!

This K- and 7100-Series example shows how to display all configuration for interface vlan.0.1:

System(rw)->show running-config interface vlan.0.1 all
# **** VRF default (default) ****
configure terminal
!
 interface vlan.0.1
  ip address 10.21.130.59 255.255.128.0
  ip policy priority first
  ip policy load-policy first-available
  no ip proxy-arp
  no ip gratuitous-arp
  no ip gratuitous-arp-learning
  ip redirects
  no shutdown
  exit
!
exit
!