Cisco Systems 12000 series Switch User Manual


 
show running-config
CF-869
Cisco IOS Configuration Fundamentals Command Reference
July 2008
show running-config
To display the contents of the current running configuration file or the configuration for a specific
module, Layer 2 VLAN, class map, interface, map class, policy map, or virtual circuit (VC) class, use
the show running-config command in user EXEC or privileged EXEC mode.
show running-config [options]
Syntax Description options (Optional) The following optional keywords can be entered with the show
running-config command to customize the output according to your specific needs.
Availability of these options varies by platform and Cisco IOS release. All options
listed here may not be available on your specific platform and release.
all—Expands the output to include the commands that are configured with
default parameters. If the all keyword is not used, the output does not display
commands configured with default parameters.
brief—Displays the configuration without certification data. The brief
keyword can be used with the linenum keyword.
class-map name [linenum]—Displays class map information. The linenum
keyword can be used with the class-map name option.
full—Displays the full configuration. The full keyword can be used with the
linenum keyword.
interface type number [linenum]Displays interface-specific configuration
information. If you use the interface keyword, you must specify the interface
type and the interface number (for example, interface ethernet 0). Common
interfaces include async, ethernet, fastEthernet, group-async, loopback,
null, serial, and virtual-template. Use the show run interface ? command to
determine the interfaces available on your system. The linenum keyword can
be used with the interface type number option.
linenum—Displays line numbers in the output. The brief or full keyword can
be used with the linenum keyword. The linenum keyword can be used with the
class-map, interface, map-class, policy-map, and vc-class keywords.
map-class [linenum]—Displays map class information. This option is
described separately; see the show running-config map-class command page.
policy-map name [linenum]—Displays policy map information. The linenum
keyword can be used with the policy-map name option.
vc-class name [linenum]—Displays VC class information (display is available
only on certain routers such as the Cisco 7500 series—display is not available
on all platforms). The linenum keyword can be used with the vc-class name
option.
view full—Enables the display of a full running configuration. This is for
view-based users who typically can view only configuration commands that
they are entitled to access for that particular view.
module number—Specifies the module number.
vlan vlan-id—Specifies the VLAN information to display; valid values are
from 1 to 4094.