(Optional) Displays a range of sessions; valid values ar
e from 1 to 66.
local
(Optional) Displays only local SPAN sessions.
remote
(Optional) Displays both RSPAN source and destination sessions.
all
(Optional) Displays all sessions.
session
(Optional) Number of the session; valid values ar
e from 1 to 66.
erspan-destination
(Optional) Displays information about the destination ERSPAN sessions only. This keyword is not supported on the Supervisor Engine 2.
erspan-source
(Optional) Displays information about the source ERSPAN sessions only. This keyword is not supported on the Supervisor Engine 2.
egressreplication-modecapability
(Optional) Displays the operational mode and configured mode of the session and module session capabilities.
detail
(Optional) Displays detailed session information.
Command Default
This command has no default settings.
Command Modes
User EXEC (>)
Command History
Release
Modification
12.2(14)SX
This command was introduced on the Supervisor Engine 720.
12.2(17d)SXB
Support was added for the Supervisor Engine 2.
12.2(18)SXE
Support was added for the erspan-destination and erspan-sourcekeywords
on the Supervisor Engine 720 only.
12.2(18)SXF
This command was updated as follows:
Support was added for the Supervisor Engine 32.
ERSPAN is supported in any switch fabric module functionality switching mode.
12.2(33)SXH
The egressreplication-modecapabilitykeywords were added.
Usage Guidelines
The erspan-destination and erspan-sourcekeywords are not supported on Catalyst 6500 series switches that are configured with a Supervisor Engine 2.
In releases prior to Release 12.2(18)SXF, ERSPAN is supported on Catalyst 6500 series switches that are operating in compact switch fabric module functionality switching mode only.
Release 12.2(18)SXF and later releases support ERSPAN in any switch fabric module functionality switching mode.
If the switch fabric module functionality switching mode is set to compact, the output of the show commands display “dcef mode” for fabric-enabled modules with DFC3 installed and display “fabric mode” for other fabric-enabled modules.
If the switch fabric module functionality switching mode is set to truncated, the output of the show commands display “fabric mode” for all fabric-enabled modules.
When entering a range of sessions, use a dash (-) to specify a range and separate multiple entries with a comma (,). Do not enter spaces before or after the comma or the dash.
You can enter multiple ranges by separating the ranges with a comma.
If you enter the showmonitorsession command without specifying a session, the information for all sessions is displayed.
Examples
This example shows how to display the saved version of the monitor configuration for a specific session:
Router# show monitor session 2
Session 2
------------
Type : Remote Source Session
Source Ports:
RX Only: Fa1/1-3
Dest RSPAN VLAN: 901
Router#
This example shows how to display the detailed information from a saved version of the monitor configuration for a specific session:
This example shows how to display information about the egress replication mode only:
Router# show monitor session egress replication-mode capability
No SPAN configuration is present in the system.
-------------------------------------------------------
Global Egress SPAN Replication Mode Capability:
Slot Egress Replication Capability
No LSPAN RSPAN ERSPAN
-------------------------------------------------------
3 Distributed Distributed Distributed
5 Distributed Distributed Distributed
Router#
This example shows how to display information about the destination ERSPAN sessions only:
Router# show monitor session erspan-destination
Session 2
---------
Type : ERSPAN Destination Session
Status : Admin Disabled Router#
This example shows how to display detailed information about the destination ERSPAN sessions only:
Router# show monitor session erspan-destination detail
Session 2
---------
Type : ERSPAN Destination Session
Status : Admin Disabled
Description : -
Source Ports :
RX Only : None
TX Only : None
Both : None
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : None
Destination Ports : None
Filter VLANs : None
Destination RSPAN VLAN : None
Source IP Address : None
Source IP VRF : None
Source ERSPAN ID : None
Destination IP Address : None
Destination IP VRF : None
Destination ERSPAN ID : None
Origin IP Address : None
IP QOS PREC : 0
IP TTL : 255
Router#
This example shows how to display information about the source ERSPAN sessions only:
Router# show monitor session erspan-source
Session 1
---------
Type : ERSPAN Source Session
Status : Admin Disabled Session 3
---------
Type : ERSPAN Source Session
Status : Admin Disabled Router#
This example shows how to display detailed information about the source ERSPAN sessions only:
Router# show monitor session erspan-source detail
Session 1
---------
Type : ERSPAN Source Session
Status : Admin Disabled
Description : -
Source Ports :
RX Only : None
TX Only : None
Both : None
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : None
Destination Ports : None
Filter VLANs : None
Destination RSPAN VLAN : None
Source IP Address : None
Source IP VRF : None
Source ERSPAN ID : None
Destination IP Address : None
Destination IP VRF : None
Destination ERSPAN ID : None
Origin IP Address : None
IP QOS PREC : 0
IP TTL : 255
Session 3
---------
Type : ERSPAN Source Session
Status : Admin Disabled
Description : -
Source Ports :
RX Only : None
TX Only : None
Both : None
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : None
Destination Ports : None
Filter VLANs : None
Destination RSPAN VLAN : None
Source IP Address : None
Source IP VRF : None
Source ERSPAN ID : None
Destination IP Address : None
Destination IP VRF : None
Destination ERSPAN ID : None
Origin IP Address : None
IP QOS PREC : 0
IP TTL : 255
Router#
This example shows how to display the operational mode and configured mode of the session and module session capabilities:
Router# show monitor session egress replication-mode capability
Session 65 Type Local Session
-----------------------------------------------
Operational mode of egress span replication : Centralized
Configured mode of egress span replication : Distributed/Default
Slot Egress Replication Capability
-----------------------------------------------
1 Centralized
3 Centralized
5 Centralized
Router#
Related Commands
Command
Description
monitorsession
Starts a new ERSPAN, SPAN, or RSPAN session, adds or deletes interfaces or VLANs to or from an existing session, filters ERSPAN, SPAN, or RSPAN traffic to specific VLANs, or deletes a session.
monitorsessiontype
Creates an ERSPAN source session number or enters the ERSPAN session configuration mode for the session.
remote-span
Configures a VLAN as an RSPAN VLAN.
show msfc
To display Multilayer Switching Feature Card (MSFC) information, use the
showmsfc command in user EXEC or privileged EXEC mode.
(Optional) Channel-group number; valid values are a maximum of 64 values from 1 to 282.
counters
Displays the traffic information.
internal
Displays the internal information.
neighbor
Displays the neighbor information.
pgroup
Displays the active port channels.
Command Default
This command has no default settings.
Command Modes
User EXEC Privileged EXEC
Command History
Release
Modification
12.2(14)SX
Support for this command was introduced on the Supervisor Engine 720.
12.2(17d)SXB
Support for this command on the Supervisor Engine 2 was extended to Release 12.2(17d)SXB.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
You can enter any
showpagp command to display the active port-channel information. To display the nonactive information, enter the
showpagp command with a group.
The
port-channelnumbervalues from 257 to 282 are supported on the CSM and the FWSM only.
Examples
This example shows how to display information about the PAgP counters:
This example shows how to display internal PAgP information:
Router# show pagp 1 internal
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Channel group 1
Hello Partner PAgP Learning
Port Flags State Timers Interval Count Priority Method
Fa5/4 SC U6/S7 30s 1 128 Any
Fa5/5 SC U6/S7 30s 1 128 Any
Router#
This example shows how to display PAgP-neighbor information for all neighbors:
Router# show pagp neighbor
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Channel group 1 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Fa5/4 JAB031301 0050.0f10.230c 2/45 2s SAC 2D
Fa5/5 JAB031301 0050.0f10.230c 2/46 27s SAC 2D
Channel group 2 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Fa5/6 JAB031301 0050.0f10.230c 2/47 10s SAC 2F
Fa5/7 JAB031301 0050.0f10.230c 2/48 11s SAC 2F
Channel group 1023 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Channel group 1024 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Router#
Related Commands
Command
Description
pagplearn-method
Learns the input interface of the incoming packets.
pagpport-priority
Selects a port in hot standby mode.
show parser dump
Note
Effective with Cisco IOS Release 15.0(1)M, the showparserdump command is not available in Cisco IOS software.
To display the command-line interface (CLI) syntax options for all command modes or for a specified command mode, use the showparserdump command in user EXEC or privileged EXEC mode.
A keyword indicating the command mode. The output will include the syntax for commands only in the specified command mode. The list of command mode keywords will vary depending on your software image. Use the showparserdump? command to display the list of command mode keyword options. For further assistance in determining the proper command mode, see the “Cisco IOS Command Modes” Release 12.2 document, available on Cisco.com.
all
Indicates that all commands in all modes should be displayed in the output.
Caution
This keyword generates a very large amount of output, which may exceed your system or buffer memory.
privilege-levellevel
(Optional) Lists CLI commands only with the privilege level specified in the level argument.
extend
(Optional) Enables the extended display mode. The extended parser display shows the keyword and argument descriptions typically shown with the command-line help (? command).
Note
This keyword can produce a large amount of output.
breakage
(Optional) Enables detection of potential parser chain syntax breakage. This keyword is intended for internal use.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
Modification
12.2(4)T
This command was introduced.
12.2(13)T
This command was enhanced to resolve certain execution errors.
12.0(23)S
This command was enhanced to resolve certain execution errors.
15.0(1)M
This command was removed.
Usage Guidelines
This command was developed to allow the exploration of the CLI command syntax without requiring the user to actually enter a specific mode and use the ? command-line help.
Caution
Use caution when entering this command with the all keyword. A large amount of output can be generated by this command, which may easily exceed buffer or system memory on smaller platforms. Also, some configuration modes have hundreds of valid commands. For large dumps, use of the redirection to a file using the |redirectURL syntax at the end of the command is highly recommended. (See the documentation for theshowcommandredirect command for more information on using this command extension.)
Output for this command will show the syntax options for all commands available in the specified mode. The number preceding the command shows the privilege level associated with that command. For example, the line
15 type dhcp
indicates that the typedhcp command has a privilege level of 15 assigned to it. For information about privilege levels, see the “Configuring Passwords and Privileges” chapter in the Cisco IOS Security Configuration Guide
.
Any given command-line string should indicate the full syntax needed to make the command complete and valid. In other words, the command-line string ends where the carriage return (Enter) could be entered, as indicated in command-line help by the <cr> syntax. You will typically see multiple forms of a command, each showing a valid syntax combination. For example, each of the following syntax combinations, as seen in the output of the showparserdumprtr|includedhcp command, is a valid command:
type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> circuit-id <string>
type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> remote-id <string>
type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> subnet-mask <ipmask>
type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82>
type dhcp dest-ipaddr <address> source-ipaddr <address>
type dhcp dest-ipaddr <address>
type dhcp
Use of the show command extensions |begin, |include, and |exclude is recommended for this command because these extensions allow you to filter the output to display only the commands you are interested in. The redirection extensions | redirect, | append, and | tee allow you to redirect the output of this command to local or remote storage as a file.
As with most show commands, you can typically exit from the --More-- prompt back to EXEC mode using Ctrl-Z. For some connections, Ctrl-Shift-6 (Ctrl^) or Ctrl-Shift-6-X should be used instead.
Examples
The following example shows a typical list of command mode keywords. The fields are self-explanatory.
Router# show parser dump ?
aaa-attr-list AAA attribute list config mode
aaa-user AAA user definition
accept-dialin VPDN group accept dialin configuration mode
accept-dialout VPDN group accept dialout configuration mode
acct_mlist AAA accounting methodlist definitions
address-family Address Family configuration mode
aic Alarm Interface Card configuration mode
all For all modes
alps-ascu ALPS ASCU configuration mode
alps-circuit ALPS circuit configuration mode
appfw-application-aim Appfw for AIM Configuration Mode
appfw-application-msnmsgr Appfw for MSN Messenger Configuration Mode
appfw-application-ymsgr Appfw for Yahoo! Messenger Configuration Mode
appfw-policy Application FW Policy Configuration Mode
application-http Appfw for HTTP Configuration Mode
archive Archive the router configuration mode
atalk-test Appletalk test mode
atm-bm-config ATM bundle member configuration mode
atm-bundle-config ATM bundle configuration mode
atm-l2trans-pvc-config ATM L2transport PVC configuration mode
atm-l2trans-pvp-config ATM L2transport PVP configuration mode
atm-pvc-range-config ATM PVC Range configuration mode
atm-range-pvc-config ATM PVC in Range configuration mode
atm-svc-bm-config ATM SVC bundle member configuration mode
atm-svc-bundle-config ATM SVC bundle configuration mode
atm-vc-config ATM virtual circuit configuration mode
atmsig_e164_table_mode ATMSIG E164 Table
auto-ip-sla-mpls Auto IP SLA MPLS LSP Monitor configs
auto-ip-sla-mpls-lpd-params Auto IP SLA MPLS LPD params configs
auto-ip-sla-mpls-params Auto IP SLA MPLS LSP Monitor Params configs
banner Banner Input mode
bba-group BBA Group configuration mode
boomerang Boomerang configuration mode
bsm-cfg BSM config definition
bulkstat-objlist Bulk-stat Object list configuration mode
bulkstat-schemadef Bulk-stat schema configuration mode
bulkstat-transfer Bulk Stat configuration mode
cascustom Cas custom configuration mode
call-filter-matchlist Call Filter matchlist configuration mode
call-home call-home config mode
call-home-profile call-home profile config mode
call-router AnnexG configuration mode
cascustom Cas custom configuration mode
cause-code-list Voice Cause Code List configuration mode
cfg-path IP Host backup configuration mode
cfg-pt-ruleset Protocol Translation ruleset configuration mode
cip-vadp Virtual Adapter configuration mode
cip-vlan Virtual Lan configuration mode
clid-group CLID group configuration mode
cm-ac AC-AC connect configuration mode
cm-fallback cm-fallback configuration mode
cns-connect-intf-config CNS Connect Intf Info Mode
cns-connect-config CNS Connect Info Mode
cns-tmpl-connect-config CNS Template Connect Info Mode
cns_inventory_submode CNS Inventory SubMode
codec-profile Codec Profile configuration mode
conf-dia-attr-list Diameter attribute list config mode
conf-dia-peer Diameter peer config mode
conf-dia-sg Diameter peer group config mode
config-ip-sla-http-rr IP SLAs HTTP raw request Configuration
config-l2tp-class l2tp-class configuration mode
config-tgrep TRIP-Lite configuration mode
config-rtr-http-rr RTR HTTP raw request Configuration
config-x25-huntgroup X.25 hunt group configuration mode
config_app_global Configure global settings
config_app_map Configure application mapping
config_app_monitor Configure application monitoring
config_app_session Define script processes
config_voice Define application services, modules, groups
config_voice_app Define application parameters
configure Global configuration mode
congestion Frame Relay congestion configuration mode
control-plane Control Plane configuration mode
control-plane-cef-exception-mode Control Plane cef-exception configuration mode
control-plane-host-mode Control Plane host configuration mode
control-plane-transit-mode Control Plane transit configuration mode
controller Controller configuration mode
cpf-classmap Class-map configuration mode
cpf-policyclass Class-in-Policy configuration mode
cpf-policymap Policy-map configuration mode
cpu config-owner-cpu
crypto-ca-cert-chain Crypto certificate entry mode
crypto-ca-cert-comm Certificate query mode
crypto-ca-cert-map Certificate map entry mode
crypto-ca-profile-enroll Certificate enrollment profile entry mode
crypto-ca-root Certificate authority trusted root entry mode
crypto-ca-trustpoint Certificate authority trustpoint entry mode
crypto-cs-server Certificate Server entry mode
crypto-gdoi-group Crypto GDOI group policy config mode
crypto-identity Crypto identity config mode
crypto-ikmp Crypto ISAKMP config mode
crypto-ikmp-browser-proxy Crypto ISAKMP browser proxy config mode
crypto-ikmp-client-fw Crypto ISAKMP client firewall policy config mode
crypto-ikmp-group Crypto ISAKMP group policy config mode
crypto-ikmp-peer Crypto ISAKMP peer policy configuration mode
crypto-ipsec-profile IPSec policy profile mode
crypto-keyring Crypto Keyring command mode
crypto-map Crypto map config mode
crypto-map-fail-close Crypto map fail close mode
crypto-pubkey Crypto subsystem public key entry mode
crypto-transform Crypto transform config mode
crypto-tti-petitioner TTI Petitioner entry mode
crypto-tti-registrar TTI Registrar entry mode
decnet-map DECnet map configuration mode
dfp-submode DFP config mode
dhcp DHCP pool configuration mode
dhcp-class DHCP class configuration mode
dhcp-pool-class Per DHCP pool class configuration mode
dhcp-relay-info DHCP class relay agent info configuration mode
dhcp-subnet-secondary Per DHCP secondary subnet configuration mode
dnis-group DNIS group configuration mode
dns-view DNS View configuration mode
dns-view-list DNS View-list configuration mode
dns-view-list-member DNS View-list member configuration mode
dspfarm DSP farm configuration mode
dspfarmprofile Profile configuration mode
dynupd-http Dynamic DNS update HTTP configuration mode
dynupd-method Dynamic DNS update method configuration mode
emergency-response-location voice emergency response location configuration mode
emergency-response-settings voice emergency response settings configuration mode
emergency-response-zone voice emergency response zone configuration mode
enum_rule enum configuration mode
ephone ephone configuration mode
ephone-dn ephone-dn configuration mode
ephone-dn-template ephone-dn-template configuration mode
ephone-hunt ephone-hunt configuration mode
ephone-template ephone-template configuration mode
ephone-type ephone-type configuration mode
ether_cfm Ethernet CFM configuration mode
event Event MIB event configuration mode
event-action-notification Event MIB event action notification configuration mode
event-action-set Event MIB event action set configuration mode
event-objlist Event MIB object list configuration mode
event-trigger Event MIB event trigger configuration mode
event-trigger-boolean Event MIB event trigger boolean configuration mode
event-trigger-existence Event MIB event trigger existence configuration mode
event-trigger-object-id Event MIB trigger object id configuration mode
event-trigger-threshold Event MIB event trigger threshold configuration mode
exec Exec mode
expr-expression Expression configuration mode
expr-object Expression Object configuration mode
extcomm-list IP Extended community-list configuration mode
fh_applet FH Applet Entry Configuration
fh_applet_trigger FH Applet Trigger Configuration
filter Output filter mode
filterserver AAA filter server definitions
flow-cache Flow aggregation cache config mode
flow-sampler-map Flow sampler map config mode
flowexp Flow Exporter configuration mode
flowmon Flow Monitor configuration mode
flowrec Flow Record configuration mode
fr-fr FR/FR connection configuration mode
fr-pw FR/PW connection configuration mode
fr-vcb-bmode FR VC Bundle mode
fr-vcb-mmode FR VC Bundle Member mode
frf5 FR/ATM Network IWF configuration mode
frf8 FR/ATM Service IWF configuration mode
funi-vc-config FUNI virtual circuit configuration mode
gatekeeper Gatekeeper config mode
gateway Gateway configuration mode
gdoi-coop-ks-config Crypto GDOI server redundancy config mode
gdoi-local-server Crypto GDOI local server policy config mode
gdoi-sa-ipsec Crypto GDOI local server IPsec SA policy config mode
gg_fcpa-config FC tunnel configuration mode
gk_altgk_cluster GK Commands for Cluster defn
gk_be_annexg GK Commands for H.323 AnnexG configuration
gk_srv_trigger_arq GK Server ARQ Trigger config mode
gk_srv_trigger_brq GK Server BRQ Trigger config mode
gk_srv_trigger_drq GK Server DRQ Trigger config mode
gk_srv_trigger_irr GK Server IRR Trigger config mode
gk_srv_trigger_lcf GK Server LCF Trigger config mode
gk_srv_trigger_lrj GK Server LRJ Trigger config mode
gk_srv_trigger_lrq GK Server LRQ Trigger config mode
gk_srv_trigger_rai GK Server RAI Trigger config mode
gk_srv_trigger_rrq GK Server RRQ Trigger config mode
gk_srv_trigger_urq GK Server URQ Trigger config mode
gw Webvpn virtual gateway configuration
gw-accounting-aaa Gateway accounting aaa configuration mode
gw-accounting-file Gateway accounting file configuration mode
hostlist Host list configuration mode
identity-policy-mode identity policy configuration mode
identity-profile-mode identity profile configuration mode
interface Interface configuration mode
interface range Interface range configuration mode
interface-dlci Frame Relay dlci configuration mode
ip-explicit-path IP explicit path configuration mode
ip-sla IP SLAs entry configuration
ip-sla-am-grp IP SLAs auto group config
ip-sla-am-grp-auto IP SLAs auto group dest-auto config
ip-sla-am-schedule IP SLAs auto schedule config
ip-sla-dhcp IP SLAs dhcp configuration
ip-sla-dns IP SLAs dns configuration
ip-sla-echo IP SLAs echo configuration
ip-sla-ethernet-echo IP SLAs Ethernet Echo configuration
ip-sla-ethernet-jitter IP SLAs Ethernet Jitter configuration
ip-sla-ethernet-monitor IP SLAs Ethernet configs
ip-sla-ethernet-monitor-params IP SLAs Ethernet Params configs
ip-sla-frameRelay IP SLAs FrameRelay configuration
ip-sla-ftp IP SLAs ftp configuration
ip-sla-http IP SLAs http configuration
ip-sla-icmp-ech-params IP SLAs icmpEcho Parameters
ip-sla-icmp-jtr-params IP SLAs icmpJitter Parameters
ip-sla-icmpjitter IP SLAs icmpjitter configuration
ip-sla-jitter IP SLAs jitter configuration
ip-sla-pathEcho IP SLAs pathEcho configuration
ip-sla-pathJitter IP SLAs pathJitter configuration
ip-sla-tcp-conn-params IP SLAs tcpConnect Parameters
ip-sla-tcpConnect IP SLAs tcpConnect configuration
ip-sla-tplt-dest IP SLAs auto destination submode
ip-sla-tplt-icmp-ech IP SLAs auto template icmpEcho
ip-sla-tplt-icmp-jtr IP SLAs auto template icmpJitter
ip-sla-tplt-tcp-conn IP SLAs auto template tcpConnect
ip-sla-tplt-udp-ech IP SLAs auto template udpEcho
ip-sla-tplt-udp-jtr IP SLAs auto template udpJitter
ip-sla-udp-ech-params IP SLAs udpEcho Parameters
ip-sla-udp-jtr-params IP SLAs udpJitter Parameters
ip-sla-udpEcho IP SLAs udpEcho configuration
ip-sla-voip IP SLA voip configuration
ip-sla-voip-rtp IP SLAs rtp configuration
ip-vrf Configure IP VRF parameters
ipc-zone-assoc-protocol-sctp ipc protocol sctp mode
ipczone IPC Zone config mode
ipczone-assoc IPC Association config mode
ipenacl IP named extended access-list configuration mode
iphc-profile-mode IPHC Profile configuration mode
ipmobile-test IP Mobility test mode
ipnat-pool IP NAT pool configuration mode
ipnat-portmap IP NAT portmap configuration mode
ipnat-sbc IP NAT SIP-SBC config mode
ipnat-sbc-vrf IP NAT SIP-SBC vrf config mode
ipnat-snat IP SNAT configuration mode
ipnat-snat-backup IP SNAT Backup configuration mode
ipnat-snat-primary IP SNAT Primary configuration mode
ipnat-snat-redundancy IP SNAT Redundancy configuration mode
ips-seap-rules IPS event action rules configuration mode
ips-sigdef-sig IPS signature number name configuration mode
ipscataction IPS Category name configuration mode
ipsnacl IP named simple access-list configuration mode
ipssigau IPS Auto Update configuration mode
ipssigcat IPS signature category configuration mode
ipssigdef-action IPS Signature actions configuration mode
ipssigdef-engine IPS signature def Engine configuration mode
ipssigdef-status IPS signature def Status mode
ipv6-mobile-router MIPv6 router configuration mode
ipv6-router IPv6 router configuration mode
ipv6acl IPv6 access-list configuration mode
ipv6dhcp IPv6 DHCP configuration mode
ipv6dhcpvs IPv6 DHCP Vendor-specific configuration mode
ipx-router IPX router configuration mode
ipxenacl IPX named extended access-list configuration mode
ipxsapnacl IPX named SAP access-list configuration mode
ipxsnacl IPX named standard access-list configuration mode
ipxsumnacl IPX named Summary access-list configuration mode
isakmp-profile Crypto ISAKMP profile command mode
iua-cfg ISDN user adaptation layer configuration
key-chain Key-chain configuration mode
key-chain-key Key-chain key configuration mode
kron-occurrence Kron Occurrence SubMode
kron-policy Kron Policy SubMode
l2 vfi configuration mode
line Line configuration mode
lw-vlan-id VLAN-id configuration mode
lw-vlan-range VLAN-range configuration mode
local-prof Local profile configuration mode
log_config Log configuration changes made via the CLI
lsp-attribute-list LSP attribute list configuration mode
map-class Map class configuration mode
map-list Map list configuration mode
memory config-owner-memory
mgcpprofile MGCP Profile configuration mode
mipv6-config-ha Mobile IPv6 HA mode
mipv6-config-ha-host Mobile IPv6 Home Agent Host config mode
mobile-map Mobile Map mode
mobile-networks Mobile Networks mode
mobile-router Mobile Router mode
mplsmfistaticifrewrite MPLS MFI static if rewrite configuration mode
mplsmfistaticrewrite MPLS MFI static rewrite configuration mode
mripv6-config-ha-host Mobile IPv6 Home Agent Host config mode
mrm-manager IP Multicast Routing Monitor config mode
neighbor Neighbor configuration mode
network-object-group ACL Object Group configuration
null-interface Null interface configuration mode
null-interface Null interface configuration mode
nxg-service-relationship Service Relationship configuration mode
nxg-usage-indication Usage Indication configuration mode
oam LSP Verification configuration mode
oer_br OER border router configuration submode
oer_mc OER master controller configuration submode
oer_mc_api_provider OER MC API Provider configuration submode
oer_mc_br OER managed border router configuration submode
oer_mc_br_if OER Border Exit configuration submode
oer_mc_learn OER Top Talker and Delay learning configuration submode
oer_mc_learn_list OER learn list configuration submode
oer_mc_map oer-map config mode
parameter_map_cfg parameter-map configuration mode
policy-list IP Policy List configuration mode
preauth AAA Preauth definitions
profile Subscriber profile configuration mode
pseudowire-class Pseudowire-class configuration mode
public-key-chain Crypto public key identification mode
public-key-chain-key Crypto public key entry mode
public-key-chain-key-ring Crypto public key entry mode
qosclassmap QoS Class Map configuration mode
qosclasspolice QoS Class Police configuration mode
qospolicymap QoS Policy Map configuration mode
qospolicymapclass QoS Policy Map class configuration mode
radius-attrl Radius Attribute-List Definition
radius-locsvr Radius Application configuration
red-group random-detect group configuration mode
redundancy redundancy config mode
regex-translation-rule voip translation-rule configuration mode
request-dialin VPDN group request dialin configuration mode
request-dialout VPDN group request dialout configuration mode
rf-mode-interdev-local ipc sctp local config mode
rf-mode-interdev-remote ipc sctp remote config mode
rf-mode-interdevice redundancy config mode
rlm-group RLM Group configuration mode
rlm-group-sc RLM server/client link configuration mode
roles Role configuration mode
route-map Route map config mode
router Router configuration mode
rsvp-local-if-policy RSVP local policy interface configuration mode
rsvp-local-policy RSVP local policy configuration mode
rsvp-local-subif-policy RSVP local policy sub-interface configuration mode
rtr SAA entry configuration
saa-dhcp SAA dhcp configuration
saa-dns SAA dns configuration
saa-echo SAA echo configuration
saa-frameRelay SAA FrameRelay configuration
saa-ftp SAA ftp configuration
saa-http SAA http configuration
saa-jitter SAA jitter configuration
saa-pathEcho SAA pathEcho configuration
saa-pathJitter SAA pathJitter configuration
saa-slm-ctrlr-if SAA SLM controller/interface configuration
saa-slmFrIf SAA SLM FrameRelay Interface configuration
saa-slmfr SAA SLM Frame Relay configuration
saa-tcpConnect SAA tcpConnect configuration
saa-udpEcho SAA udpEcho configuration
sg-radius Radius Server-group Definition
sampler Sampler configuration mode
sccpccmgroup SCCP CCM group configuration mode
sccpplar SCCP PLAR configuration mode
sctp-export SCTP export configuration commands
seczonecfg Security Zone Configuration Mode
seczonepaircfg Security Zone Pair Configuration Mode
sep-init-config WSMA Initiator profile Mode
sep-listen-config WSMA Listener profile Mode
service-object-group ACL Object Group configuration
serviceflow Service Flow configuration mode
sg-tacacs+ Tacacs+ Server-group Definition
signaling-class Signaling class configuration mode
sip-ua SIP UA configuration mode
sla-lspPing IP SLAs lsp ping configuration
sla-lspTrace IP SLAs lsp trace configuration
slb-mode-dfp SLB DFP configuration mode
slb-mode-real SLB real server configuration mode
slb-mode-sfarm SLB server farm configuration mode
slb-mode-vserver SLB virtual server configuration mode
source-group Voice Source Group configuration mode
srst-video cm-fallback video configuration mode
sss-subscriber SSS subscriber configuration mode
subinterface Subinterface configuration mode
subscriber-policy Subscriber policy configuration mode
tablemap Table Map configuration mode
tcl Tcl mode
tdm-conn TDM connection configuration mode
telephony-service telephony-service configuration mode
telephony-service-group Telephony service group configuration mode
telephony-service-video Telephony service video configuration mode
template Template configuration mode
template peer-policy peer-policy configuration mode
template peer-session peer-session configuration mode
test_cpu config-owner-test_cpu
test_mem config-owner-test_mem
tidp-group TIDP Group configuration mode
tidp-keyset TIDP key-set configuration mode
tn3270s-dlur tn3270 server DLUR configuration mode
tn3270s-dlur-pu tn3270 server DLUR PU configuration mode
tn3270s-dlur-sap tn3270 server DLUR SAP configuration mode
tn3270s-listen-point tn3270 server Listen-Point configuration mode
tn3270s-listen-point-pu tn3270 server Listen-Point PU configuration mode
tn3270s-pu tn3270 server PU configuration mode
tn3270s-resp-time tn3270 server response time client group configuration mode
tn3270s-security tn3270 server Security Configuration mode
tn3270s-security-profile tn3270 server Security Profile Configuration mode
tn3270s-svr tn3270 server configuration mode
top-talkers Netflow top talkers config mode
tracking-config Tracking configuration mode
trange time-range configuration mode
translation-profile Voice Translation Profile configuration mode
translation-rule Translation Rule configuration mode
trunk-group Trunk group configuration mode
vc-class VC class configuration mode
vc-group VC group configuration mode
view View configuration mode
vlan VLAN database editing buffer
vm-integration voicemail integration configuration mode
voice-cause-code Voice Cause Code configuration mode
voice-gateway voice gateway configuration mode
voice-mlpp voice mlpp configuration mode
voice-service Voice service configuration mode
voice-service-h323 Voice service h323 configuration mode
voice-service-session Voice service session configuration mode
voice-service-sip Voice service sip configuration mode
voice-service-stun Voice service stun configuration mode
voice-uri-class Voice URI Class configuration mode
voicecl-cptone Voice Class CPTone configuration mode
voicecl-cptone-dt CPtone dualtone configuration mode
voicecl-dt-detect Voice Class Dualtone Detect configuration mode
voiceclass Voice Class configuration mode
voicednismaps Dnis Map Configuration
voiceport Voice configuration mode
voipdialpeer Dial Peer configuration mode
voipdpcor Dial Peer Class of Restriction configuration mode
voipdpcorlist Dial Peer Class of Restriction List configuration mode
vpdn-group VPDN group configuration mode
vpdn-template VPDN template configuration mode
vrf Configure VRF parameters
webvpn Webvpn virtual context configuration
webvpn-acl Webvpn ACL configuration
webvpn-cifs-url Webvpn CIFS URL list configuration
webvpn-group-policy Webvpn group policy configuration
webvpn-nbnslist Webvpn VW ctxt NBNS list configuration
webvpn-port-fwd Webvpn port-forward list configuration
webvpn-sso-server SSO Server configuration
webvpn-time-range Webvpn time range configuration
webvpn-url Webvpn URL list configuration
webvpn-url-rewrite Webvpn url-rewrite list configuration
x25-profile X.25 profile configuration mode
xconnect-conn-config Xconnect connect configuration submode
xconnect-dlci-config Xconnect FR DLCI configuration submode
xconnect-if-config Xconnect interface configuration submode
xconnect-pvc-config Xconnect atm l2transport PVC configuration submode
xconnect-pvp-config Xconnect atm l2transport PVP configuration submode
xconnect-subif-config Xconnect sub-interface configuration submode
xml-app XML Application configuration mode
xml-transport XML Transport configuration mode
In the following example, only commands in RTR configuration mode are shown:
Router# show parser dump rtr
Mode Name :rtr
15 type udpEcho dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535> control enable
15 type udpEcho dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535> control disable
15 type udpEcho dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535>
15 type udpEcho dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address>
15 type udpEcho dest-ipaddr <address> dest-port <1-65535>
15 type tcpConnect dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535> control enable
15 type tcpConnect dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535> control disable
15 type tcpConnect dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535>
15 type tcpConnect dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address>
15 type tcpConnect dest-ipaddr <address> dest-port <1-65535>
15 type jitter dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address>
15 type jitter dest-ipaddr <address> dest-port <1-65535> source-port <1-65535>
15 type jitter dest-ipaddr <address> dest-port <1-65535> control enable
15 type jitter dest-ipaddr <address> dest-port <1-65535> control disable
15 type jitter dest-ipaddr <address> dest-port <1-65535> num-packets <1-60000>
15 type jitter dest-ipaddr <address> dest-port <1-65535> interval <1-60000>
15 type jitter dest-ipaddr <address> dest-port <1-65535>
15 type echo protocol ipIcmpEcho <address> source-ipaddr <address>
15 type echo protocol ipIcmpEcho <address>
15 type ftp operation get url <string> source-ipaddr <address> mode active
15 type ftp operation get url <string> source-ipaddr <address> mode passive
15 type ftp operation get url <string> source-ipaddr <address>
15 type ftp operation get url <string>
15 type http operation get url <string> name-server <address> version <string> source-ipaddr <address> source-port <1-65535> cache
15 type http operation get url <string> name-server <address> version <string> source-ipaddr <address> source-port <1-65535> cache
15 type http operation get url <string> name-server <address> version <string> source-ipaddr <address> source-port <1-65535> cache
15 type http operation get url <string> name-server <address> version <string> source-ipaddr <address> source-port <1-65535>
15 type http operation get url <string> name-server <address> version <string> source-ipaddr <address>
15 type http operation get url <string> name-server <address> version <string>
15 type http operation get url <string> name-server <address>
15 type http operation get url <string>
15 type http operation raw
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> circuit-id <string>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> remote-id <string>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> subnet-mask <ipmask>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82>
15 type dhcp dest-ipaddr <address> source-ipaddr <address>
15 type dhcp dest-ipaddr <address>
15 type dhcp
15 type dns target-addr <string> name-server <address> source-ipaddr <address> source-port <1-65535>
15 type dns target-addr <string> name-server <address> source-ipaddr <address>
15 type dns target-addr <string> name-server <address>
15 type pathEcho protocol ipIcmpEcho <address> source-ipaddr <address>
15 type pathEcho protocol ipIcmpEcho <address>
15 type pathJitter dest-ipaddr <address> source-ipaddr <address>
15 type pathJitter dest-ipaddr <address> num-packets <1-100>
15 type pathJitter dest-ipaddr <address> interval <1-1000>
15 type pathJitter dest-ipaddr <address> targetOnly
15 type pathJitter dest-ipaddr <address>
15 type slm frame-relay pvc
15 type slm controller T1 <controller>
15 type slm controller E1 <controller>
15 type slm controller T3 <controller>
15 type slm controller E3 <controller>
15 exit
In the following example, only those commands in RTR configuration mode containing the keyword dhcp are shown:
Router# show parser dump rtr | include dhcp
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> circuit-id <string>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> remote-id <string>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82> subnet-mask <ipmask>
15 type dhcp dest-ipaddr <address> source-ipaddr <address> option <82-82>
15 type dhcp dest-ipaddr <address> source-ipaddr <address>
15 type dhcp dest-ipaddr <address>
15 type dhcp
Router#
The following example shows how the extend keyword displays the syntax descriptions that match those shown using the ? command-line help:
Router# show parser dump rtr extend
Mode Name :rtr
15 type udpEcho dest-ipaddr <address> dest-port <1-65535> source-ipaddr <address> source-port <1-65535> control enable
type : Type of entry
udpEcho : UDP Echo Operation
dest-ipaddr : Destination address
<address> : IP address or hostname
dest-port : Destination Port
<1-65535> : Port Number
source-ipaddr : Source address
<address> : IP address or hostname
source-port : Source Port
<1-65535> : Port Number
control : Enable or disable control packets
enable : Enable control packets exchange (default)
.
.
.
! Ctrl-Z used here to interrupt output and return to CLI prompt.
Router# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# rtr 1
Router(config-rtr)# type udpEcho ?
dest-ipaddr Destination address
Router(config-rtr)# type udpEcho dest-ipaddr ?
Hostname or A.B.C.D IP address or hostname
Router(config-rtr)# type udpEcho dest-ipaddr HOSTNAME ?
dest-port Destination Port
Router(config-rtr)# type udpEcho dest-ipaddr HOSTNAME dest-port ?
<1-65535> Port Number
Router(config-rtr)# type udpEcho dest-ipaddr HOSTNAME dest-port 1 ?
control Enable or disable control packets
source-ipaddr Source address
source-port Source Port
<cr>
Router(config-rtr)# type udpEcho dest-ipaddr HOSTNAME dest-port 1 control ?
disable Disable control packets exchange
enable Enable control packets exchange (default)
In the following example, show parser dump output is redirected to a file on a remote TFTP server:
show parser dump exec extend | redirect tftp://209.165.200.225/userdirectory/123-exec-commands.txt
In the following example, the show parser dump
command is not available in Cisco IOS software because this command was removed in Cisco IOS 15.0(1)M:
Router# show parser dump all
Command accepted, but obsolete, parser dumper has been deprecated
Related Commands
Command
Description
showappend
Redirects and adds the output of any show command to an existing file.
showbegin
Filters the output of any show command to display the output from the first instance of a specified string.
showexclude
Filters show command output so that it excludes lines that contain a particular regular expression.
showinclude
Filters show command output so that only lines that containing the specified string are displayed.
showredirect
Redirects the output of any show command to a file.
showtee
Copies the output of any show command to a file while displaying it on the terminal.
show parser macro
To display the smart port macros, use the showparsermacro command in privileged EXEC mode.
The following example shows how to display the contents of the cisco-router smart port macro:
Router# show parser macro name cisco-router
Macro name : cisco-router
Macro type : default interface
# macro keywords $NVID
# Do not apply to EtherChannel/Port Group
# Access Uplink to Distribution
switchport
# Define unique Native VLAN on trunk ports
# Recommended value for native vlan (NVID) should not be 1
switchport trunk native vlan $NVID
# Update the allowed VLAN range (VRANGE) such that it
# includes data, voice and native VLANs
# switchport trunk allowed vlan VRANGE
# Hardcode trunk and disable negotiation to
# speed up convergence
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
# Configure qos to trust this interface
auto qos voip trust
mls qos trust dscp
# Ensure fast access to the network when enabling the interface.
# Ensure that switch devices cannot become active on the interface.
spanning-tree portfast
spanning-tree bpduguard enable
The following example shows how to list the Cisco-provided smart port macros:
Router# show parser macro brief | include default
default global : cisco-global
default interface: cisco-desktop
default interface: cisco-phone
default interface: cisco-switch
default interface: cisco-router
Related Commands
Command
Description
macro(globalconfiguration)
Creates a command macro.
macro(interfaceconfiguration)
Creates an interface-specific command macro.
show parser statistics
To displays statistics about the last configuration file parsed and the status of the Parser Cache feature, use the
showparserstatistics command in privileged EXEC mode.
showparserstatistics
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Release
Modification
12.1(5)T
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
Theshowparserstatistics command displays two sets of data:
The number of commands in the configuration file that was last copied into the running configuration, and the time it took for the system to parse them (a configuration file can be loaded into the running configuration at system startup, or by issuing commands such as the
copysourcerunning-config command).
The status of the Parser Cache feature (enabled or disabled) and the number of command matches (indicated by hits/misses) since the system was started or since the parser cache was cleared.
The Parser Cache feature optimizes the parsing (translation and execution) of Cisco IOS software configuration command lines by remembering how to parse recently encountered command lines, decreasing the time required to process large configuration files.
Examples
The following example shows sample output from the
showparserstatistics command:
Router# show parser statistics
Last configuration file parsed:Number of Commands:1484, Time:1272 ms
Parser cache:disabled, 0 hits, 2 misses
In this example, the Parser Cache feature is disabled, but shows the hit/miss statistics for the two commands issued while the parser cache was last enabled.
The table below describes the key output fields.
Table 1 show parser statistics Output Fields
Last configuration file parsed:
Displays statistics on the last configuration file copied into the running configuration (at startup or using the
copycommand).
Number of commands:
The number of command lines in the last configuration file parsed.
Time:
Time (in milliseconds) taken for the system to load the last configuration file.
Parser cache:
Displays whether the Parser Cache feature is enabled or disabled, and the hit/miss statistics related to the feature. Statistics are stored since the initialization of the system, or since the last time the parser cache was cleared.
hits
Number of commands the parser cache was able to parse more efficiently by matching them to similar commands executed previously.
misses
Number of commands the parser cache was unable to match to previously executed commands. The performance enhancement provided by the Parser Cache feature cannot be applied to unmatched commands.
In the following example the
showparserstatistics command is used to compare the parse-time of a large configuration file with the Parser Cache feature disabled and enabled. In this example, a configuration file with 1484 access list commands is loaded into the running configuration.
Router# configure terminal
!parser cache is disabled
Router(config)# no parser cache
!configuration file is loaded into the running configuration
Router# copy slot0:acl_list running-config
.
.
.
Router# show parser statistics
Last configuration file parsed:Number of Commands:1484, Time:1272 ms
Parser cache:disabled, 0 hits, 2 misses
!the parser cache is reenabled
Router(config)# parser cache
!configuration file is loaded into the running configuration
Router# copy slot0:acl_list running-config
.
.
.
Router# show parser statistics
Last configuration file parsed:Number of Commands:1484, Time:820 ms
Parser cache:enabled, 1460 hits, 26 misses
These results show an improvement to the load time for the same configuration file from 1272 milliseconds (ms) to 820 ms when the Parser Cache feature was enabled. As indicated in the “hits” field of the
show command output, 1460 commands were able to be parsed more efficiently by the parser cache.
Related Commands
Command
Description
clearparsercache
Clears the parse cache entries and hit/miss statistics stored for the Parser Cache feature.
parsercache
Enables or disables the Parser Cache feature.
show pci
To display information about the peripheral component interconnect (PCI) hardware registers or bridge registers for the Cisco 7200 series routers, use theshowpcicommand in EXEC mode.
showpci
{ hardware | bridge [register] }
Syntax Description
hardware
Displays PCI hardware registers.
bridge
Displays PCI bridge registers.
register
(Optional) Number of a specific bridge register in the range from 0 to 7. If not specified, this command displays information about all registers.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
The output of this command is generally useful for diagnostic tasks performed by technical support only.
Note
The showpcihardware EXEC command displays a substantial amount of information.
Examples
The following is sample output for the PCI bridge register 1 on a Cisco 7200 series router:
The following is partial sample output for the PCI hardware register, which also includes information on all the PCI bridge registers on a Cisco 7200 series router:
Router# show pci hardware
GT64010 External PCI Configuration registers:
Vendor / Device ID : 0xAB114601 (b/s 0x014611AB)
Status / Command : 0x17018002 (b/s 0x02800117)
Class / Revision : 0x00000006 (b/s 0x06000000)
Latency : 0x0F000000 (b/s 0x0000000F)
RAS[1:0] Base : 0x00000000 (b/s 0x00000000)
RAS[3:2] Base : 0x00000001 (b/s 0x01000000)
CS[2:0] Base : 0x00000000 (b/s 0x00000000)
CS[3] Base : 0x00000000 (b/s 0x00000000)
Mem Map Base : 0x00000014 (b/s 0x14000000)
IO Map Base : 0x01000014 (b/s 0x14000001)
Int Pin / Line : 0x00010000 (b/s 0x00000100)
Bridge 0, Downstream MB0 to MB1, Handle=0
DEC21050 bridge chip, config=0x0
(0x00): cfid = 0x00011011
(0x04): cfcs = 0x02800143
(0x08): cfccid = 0x06040002
(0x0C): cfpmlt = 0x00011810
(0x18): cfsmlt = 0x18000100
(0x1C): cfsis = 0x02809050
(0x20): cfmla = 0x4AF04880
(0x24): cfpmla = 0x4BF04B00
(0x3C): cfbc = 0x00000000
(0x40): cfseed = 0x00100000
(0x44): cfstwt = 0x00008020
.
.
.
show pci hardware
To display information about the Host-PCI bridge, use theshowpcihardwarecommand in EXEC mode.
showpcihardware
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
Modification
11.2
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
The output of this command is generally useful for diagnostic tasks performed by technical support only:
Router# show pci hardware
hardware PCI hardware registers
Each device on the PCI bus is assigned a PCI device number. For the
C2600, device numbers are as follows:
Device Device number
0 First LAN device
1 Second LAN device
2 AIM device (if present)
3 Not presently used
4 Port module - first PCI device
5 Port module - second PCI device
6 Port module - third PCI device
7 Port module - fourth PCI device
8-14 Not presently used
15 Xilinx PCI bridge
Examples
The following is partial sample output for the PCI hardware register, which also includes information on all the PCI bridge registers.
router# show pci hardware
XILINX Host-PCI Bridge Registers:
Vendor / Device ID: 0x401310EE
Status / Command: 0x040001C6
PCI Slave Base Reg 0: 0x00000000
PCI Slave Base Reg 1: 0x04000000
The table below describes the significant fields shown in the display.
Table 2 show pci hardware Field Descriptions
Field
Description
Device/Vendor ID
Identifies the PCI vendor and device. The value 0x401310EE identifies the device as the Xilinx-based Host-PCI bridge for the Cisco 2600 router.
Status/Command
Provides status of the Host-PCI bridge. Refer to the PCI Specification for more information.
PCI Slave Base Reg 0
The base address of PCI Target Region 0 for the Host-PCI bridge. This region is used for Big-Endian transfers between PCI devices and memory.
PCI Slave Base Reg 1
The base address of PCI Target Region 1 for the Host-PCI bridge. This region is used for Little-Endian transfers between PCI devices and memory.
show perf-meas
To display the performance measurement of the router, use theshowperf-meascommand in user EXEC or privileged EXEC mode.
Support for this command was introduced on the Supervisor Engine 720.
12.2(17d)SXB
Support for this command on the Supervisor Engine 2 was extended to Cisco IOS Release 12.2(17d)SXB. This command was changed to include the
hardwarepfcmodekeywords.
12.2(18)SXD
This command was modified to include the software ipv6-multicast connectedkeywords.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SRC
This command was modified to include additional keywords to support CoPP enhancements on the Cisco 7600 SIP-400 on the Cisco 7600 series router.
Cisco IOS XE Release 2.1
This command was integrated into Cisco IOS XE Release 2.1.
12.2(33)SRD
This command was modified. The
atomether-vc keyword was added.
Cisco IOS XE Release 3.9S
This command was integrated into Cisco IOS XE Release 3.9S.
Usage Guidelines
This command is similar to the
showmsfc command.
This command can be used to verify the existence of a second Cisco IOS process on a single Cisco ASR 1000 RP on a Cisco ASR 1002 router or Cisco ASR 1004 router.
When this command is used with the
atomether-vc keyword, it is used on the line-card console.
Examples
The following sample output from the
showplatformbuffers command displays buffer-allocation information:
Router# show platform buffers
Reg. set Min Max
TX 640
ABQ 640 16384
0 0 40
1 6715 8192
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
Threshold = 8192
Vlan Sel Min Max Cnt Rsvd
1019 1 6715 8192 0 0
Router#
Examples
The following example displays online status information for the Cisco ISR 4400 Front Panel Gigabit Ethernet port (ISR4451-4X1GE), Cisco SSD Carrier Card Network Interface Module (NIM-SSD), Cisco SM-1T3/E3 Service Module (SM-1T3/E3), and Cisco 4th Generation T1/E1 Voice and WAN Network Interface Module (NIM 8MFT-T1/E1)
Router# show platform
Chassis type: ISR4452/K9
Slot Type State Insert time (ago)
--------- ------------------- --------------------- -----------------
0 ISR4452/K9 ok 15:57:33
0/0 ISR4451-4X1GE ok 15:55:24
0/3 NIM-SSD ok 15:55:24
1 ISR4452/K9 ok 15:57:33
1/0 NIM 8MFT-T1/E1 ok 15:55:24
2 ISR4452/K9 ok 15:57:33
2/0 SM-1T3/E3 ok 15:55:24
R0 ISR4452/K9 ok, active 15:57:33
F0 ISR4451-FP ok, active 15:57:33
P0 Unknown ps, fail never
P1 XXX-XXXX-XX ok 15:56:58
P2 ACS-4450-ASSY ok 15:56:58
Slot CPLD Version Firmware Version
--------- ------------------- ---------------------------------------
0 12090323 15.3(01r)S [ciscouser-ISRRO...
1 12090323 15.3(01r)S [ciscouser-ISRRO...
2 12090323 15.3(01r)S [ciscouser-ISRRO...
R0 12090323 15.3(01r)S [ciscouser-ISRRO...
F0 12090323 15.3(01r)S [ciscouser-ISRRO...
The table below describes the fields that appear in the above example
Table 3 Show Platform Field Descriptions
Field
Descriptions
Slot
slot number
Type
Type of module
State
Status of the module
Insert Time
Period of time ((hh:mm:ss format) since the module has been up and running
The following example displays online status information for the shared port adapters (SPAs), Cisco ASR 1000 SPA Interface Processor (SIP), Cisco ASR 1000 Embedded Services Processor (ESP), Cisco ASR 1000 RP, power supplies, and fans. The ESPs are shown as F0 and F1. The RPs are shown as R0 and R1.
The State column should display “ok” for SIPs, SPAs, power supplies, and fans. For RPs and ESPs, the State column should display “ok, active” or “ok, standby.”
Router# show platform
Chassis type: ASR1006
Slot Type State Insert time (ago)
--------- ------------------- --------------------- -----------------
0 ASR1000-SIP10 ok 18:23:58
0/0 SPA-5X1GE-V2 ok 18:22:38
0/1 SPA-8X1FE-TX-V2 ok 18:22:33
0/2 SPA-2XCT3/DS0 ok 18:22:38
1 ASR1000-SIP10 ok 18:23:58
1/0 SPA-2XOC3-POS ok 18:22:38
1/1 SPA-8XCHT1/E1 ok 18:22:38
1/2 SPA-2XT3/E3 ok 18:22:38
R0 ASR1000-RP1 ok, active 18:23:58
R1 ASR1000-RP1 ok, standby 18:23:58
F0 ASR1000-ESP10 ok, active 18:23:58
F1 ASR1000-ESP10 ok, standby 18:23:58
P0 ASR1006-PWR-AC ok 18:23:09
P1 ASR1006-FAN ok 18:23:09
Slot CPLD Version Firmware Version
--------- ------------------- ---------------------------------------
0 06120701 12.2(33r)XN2
1 06120701 12.2(33r)XN2
R0 07082312 12.2(33r)XN2
R1 07082312 12.2(33r)XN2
F0 07051680 12.2(33r)XN2
F1 07051680 12.2(33r)XN2
Examples
In the following example, a second Cisco IOS process is enabled on a Cisco ASR 1004 router using stateful switchover (SSO). The output of the
showplatform command is provided before and after the SSO configuration to verify that the second Cisco IOS process is enabled and active.
Router# show platform
Chassis type: ASR1004
Slot Type State Insert time (ago)
--------- ------------------- --------------------- -----------------
0 ASR1000-SIP10 ok 00:04:39
0/0 SPA-5X1GE-V2 ok 00:03:23
0/1 SPA-2XT3/E3 ok 00:03:18
R0 ASR1000-RP1 ok, active 00:04:39
F0 ASR1000-ESP10 ok, active 00:04:39
P0 ASR1004-PWR-AC ok 00:03:52
P1 ASR1004-PWR-AC ok 00:03:52
Slot CPLD Version Firmware Version
--------- ------------------- ---------------------------------------
0 07091401 12.2(33r)XN2
R0 07062111 12.2(33r)XN2
F0 07051680 12.2(33r)XN2
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# redundancy
Router(config-red)# mode sso
*May 27 19:43:43.539: %CMRP-6-DUAL_IOS_REBOOT_REQUIRED: R0/0: cmand: Configuration must be saved and the chassis must be rebooted for IOS redundancy changes to take effect
Router(config-red)# exit
Router(config)# exit
Router#
*May 27 19:44:04.173: %SYS-5-CONFIG_I: Configured from console by user on console
Router# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router# reload
Proceed with reload? [confirm]
*May 27 19:45:16.917: %SYS-5-RELOAD: Reload requested by user on console. Reload Reason: Reload command.
<reload output omitted for brevity>
Router# show platform
Chassis type: ASR1004
Slot Type State Insert time (ago)
--------- ------------------- --------------------- -----------------
0 ASR1000-SIP10 ok 00:29:34
0/0 SPA-5X1GE-V2 ok 00:28:13
0/1 SPA-2XT3/E3 ok 00:28:18
R0 ASR1000-RP1 ok 00:29:34 R0/0ok,active00:29:34R0/1ok,standby00:27:49F0 ASR1000-ESP10 ok, active 00:29:34
P0 ASR1004-PWR-AC ok 00:28:47
P1 ASR1004-PWR-AC ok 00:28:47
Slot CPLD Version Firmware Version
--------- ------------------- ---------------------------------------
0 07091401 12.2(33r)XN2
R0 07062111 12.2(33r)XN2
F0 07051680 12.2(33r)XN2
The table below describes the significant fields shown in the display.
Table 4 show platform Field Descriptions
Field
Description
Slot
Chassis slot.
Type
Hardware type.
State
Online state of the hardware. One of the following values:
All Hardware
booting--Hardware is initializing and software is booting.
disabled--Hardware is not operational.
init--Hardware or Cisco IOS process is initializing.
ok--Hardware is operational.
shutdown--Hardware was administratively shut down using the no shutdown command.
unknown--Hardware is not operational; state is unknown.
RP or ESP
init, standby--Standby RP or ESP is operational but is not yet in a high availability (HA) state. An RP or ESP switchover is not yet possible.
ok, active--Active RP or ESP is operational.
ok, standby--Standby RP or ESP is operational. The standby RP or ESP is ready to become active in the event of a switchover.
SPA
admin down--SPA was disabled using the shutdown command.
inserted--SPA is being inserted.
missing--SPA was removed.
out of service--SPA is not operational.
retrieval error--An error occurred while retrieving the SPA state; state is unknown.
stopped--SPA was gracefully deactivated using the hw-module subslot stop command.
Fan or Power Supply
fan, fail--Fan is failing.
ps, fail--Power supply is failing.
Insert time (ago)
Amount of time (hh:mm:ss format) the hardware has been online.
CPLD Version
Complex programmable logic device version number.
Firmware Version
Firmware (ROMmon) version number.
Examples
The following sample output from the
showplatformcopprate-limitarp command displays the list of interfaces on which a rate limiter is active for ARP, along with the count of confirmed and exceeded packets for the rate limiter:
Router# show platform copp rate-limit arp
Rate limiter Information for Protocol arp:
Rate Limiter Status: Enabled
Rate : 20 pps
Max Observation Period : 60 seconds
Per Interface Rate Limiter Information
Interface Conformed Pkts Exceeded Pkts Enabled Obs Period (Mts)
GigabitEthernet5/1 0 0 No -
GigabitEhternet5/1.1 14 0 No -
GigabitEthernet5/1.2 28 2 No -
GigabitEthernet5/2 0 0 No -
GigabitEthernet5/2.1 180 4 Yes 35
GigabitEthernet5/2.2 200 16 Yes Max
The table below describes the significant fields shown in the display.
Table 5 show platform copp rate-limit Field Descriptions
Field
Description
Rate Limiter Status
Indicates if a rate limiter has been enabled on the interface.
Rate
Indicates the configured rate in packets per second (pps) or bits per second (bps).
Max Observation Period
Indicates the configured observation period, in seconds, before the per-interface rate limiter is automatically turned off.
Per Interface Rate Limiter Information
Displays the list of interfaces on which the rate limiter is active. In this example:
GigabitEthernet5/1.1 is free from attack.
GigabitEthernet5/2.1 has an exceed count of 4, and has a rate limiter enabled. The observation period is 35 minutes, which indicates that currently the interface is free from attack and is being kept under observation. The interface will remain under observation for an additional 35 minutes. If it remains free from attack after that time, the rate limiter is automatically removed.
GigabitEthernet5/2.2 has an exceed count of 16 and has a rate limiter enabled. The observation period has been designated as Max. This indicates that the interface is still under attack and has not yet entered the observation time window.
The following sample from the
showplatformeeprom command displays CPU EEPROM information:
(Optional) Displays a summary of bridging information.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
12.2(33)SRA
This command was introduced.
Examples
The following is sample output from the
showplatformbridgecommand:
Router# show platform bridge
VLAN Interface CircuitId LTL PseudoPort State Options
12 PO1/1/3.1 102 0xC3F 1/256 up dot1q
13 PO1/1/3.1 103 0xC3F 1/256 up dot1q
14 PO1/1/3.2 104 0xC3F 1/256 up default
15 PO1/1/3.2 105 0xC3F 1/256 up default
16 PO1/1/3.3 106 0xC3F 1/256 up dot1q-tunnel
17 PO1/1/3.3 107 0xC3F 1/256 up dot1q-tunnel
41 Gi8/0/17 1201 0xDE2 8/227 up access
41 Gi8/0/17 1202 0xDE3 8/228 up access
41 Gi8/0/17 1203 0xDE4 8/229 up access
41 Gi8/0/17 1204 0xDE5 8/230 up access
41 Gi8/0/17 1205 0xDE6 8/231 up access
41 Gi8/0/17 1206 0xDE7 8/232 up access
41 Gi8/0/17 1207 0xDE8 8/233 up access
41 Gi8/0/17 1208 0xDE9 8/234 up access
41 Gi8/0/17 1209 0xDEA 8/235 up access
41 Gi8/0/17 1210 0xDEB 8/236 up access
41 Gi8/0/17 1211 0xDEC 8/237 up access
41 Gi8/0/17 1212 0xDED 8/238 up access
41 Gi8/0/17 1213 0xDEE 8/239 up access
41 Gi8/0/17 1214 0xDEF 8/240 up access
41 Gi8/0/17 1215 0xDF0 8/241 up access
The table below describes the significant fields shown in the display.
Table 6 show platform bridge Field Descriptions
Field
Description
VLAN
The VLAN for which bridging is configured.
Interface
The WAN interface on which bridging is configured. This can be an ATM, Gigabit Ethernet, POS, or Serial interface.
CircuitId
The circuit ID. The range is from 0 to 65536.
LTL
The local target logic (LTL) of the interface. LTL is 13 bits long.
The format is eee ssss pppppp (e: extended port bits, s: slot bits, p: port bits).
Extended bits along with port bits identify the pseudoport and slot bits identifies the slot.
PseudoPort
In the case of flexwan, the port numbering is from 133 to 192 for Bay 0 and 197 to 256 for Bay 1. There are 60 ports per packet processing engine (PPE). For the SIP200, the pseudoports are in the range of 137 to 256.
State
State indicates the status of the physical interface on which bridging is configured. The state is either up or down. If the state is down, then there is a problem and debugging needs to be done.
Options
Options specify whether split-horizon is enabled on the WAN interface. This can be access, default, dot1q, or dot1q-tunnel.
Related Commands
Command
Description
showplatform
Displays platform information.
show platform cfm
To display connectivity fault management (CFM) commands, use the showplatformcfmcommand in privileged EXEC mode.
Displays the CFM Platform Adaptation Layer (PAL) information.
interface
Specifies the interface type.
fastethernet
Specifies the FastEthernet interface.
gigabitethernet
Specifies the GigabitEthernet interface.
port-channel
Specifies the port-channel interface.
number
Interface number.
fwd_vlan
Displays the CFM forward VLAN list.
vlan-number
VLAN number.
level
Displays the CFM level for the interface.
vlan_list
Specifies CFM VLAN list.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
12.2(33)SRA
This command was introduced.
12.2(33)SXI
This command was integrated into Cisco IOS Release 12.2(33)SXI.
Examples
The following is sample output from the showplatformcfminfocommand. The field descriptions are self-explanatory.
Router# show platform cfm info
CFM is disabled
CFM unicast MAC 00d0.2b6c.b103, CFM multicast MAC 0180.c200.0030, AEB multicast MAC 0100.0ccc.ccc0
CFM Ingress Control Packet System Statistics:
Current software Rate Limit Setting: 1100 pkts/sec
Statistics are collected in intervals of 3 seconds.
Allow the first 3300 packets to pass each interval, drop thereafter
Current Ingress Count in this interval: 0 pkts
In this interval have we Exceeded Rate and Dropped pkts: NO
For the last 3 intervals the maximum sample had 0 packets in one interval.
Related Commands
Command
Description
showplatform
Displays platform information.
show platform diag
To display diagnostic and debug information for individual platform components, use the
showplatformdiag command in privileged EXEC mode.
showplatformdiag
Syntax Description
diag
Displays diagnostic and debug information for the platform components.
Command Default
This command has no default settings.
Command Modes
privileged EXEC (#)
Command History
Release
Modification
Cisco IOS XE Release 2.2
This command was introduced on the Cisco ASR 1000 Series Aggregation Services Routers.
Usage Guidelines
This command can be used to display debug and diagnostic information and indicate the status of field replaceable unit (FRU) components in any Cisco ASR 1000 Series Router.
Examples
The following example displays diagnostic information for the Cisco ASR 1000 SPA Interface Processor (SIP), shared port adapters (SPAs), Cisco ASR 1000 Embedded Services Processor (ESP), Cisco ASR 1000 Route Processors (RP), and power supplies. The ESP is shown as F0 or F1. The RPs are shown as R0 or R1. The power supplies are shown as P0 and P1
Router#show platform diag
Chassis type: ASR1004
Slot: 0, ASR1000-SIP10
Running state : ok
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:48 (4d22h ago)
Software declared up time : 00:01:40 (4d22h ago)
CPLD version : 07091401
Firmware version : 12.2(33r)XNB
Sub-slot: 0/0, SPA-5X1GE-V2
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:00:36 (4d22h ago)
Logical insert detect time : 00:02:23 (4d22h ago)
Sub-slot: 0/1, SPA-2XT3/E3
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:00:36 (4d22h ago)
Logical insert detect time : 00:02:23 (4d22h ago)
Slot: R0, ASR1000-RP1
Running state : ok
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:48 (4d22h ago)
Software declared up time : 00:00:48 (4d22h ago)
CPLD version : 07062111
Firmware version : 12.2(33r)XNB
Sub-slot: R0/0,
Running state : ok, active
Logical insert detect time : 00:00:48 (4d22h ago)
Became HA Active time : 00:04:56 (4d22h ago)
Sub-slot: R0/1,
Running state : ok, standby
Logical insert detect time : 00:02:50 (4d22h ago)
Slot: F0, ASR1000-ESP10
Running state : ok, active
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:48 (4d22h ago)
Software declared up time : 00:01:40 (4d22h ago)
Hardware ready signal time : 00:00:49 (4d22h ago)
Packet ready signal time : 00:01:49 (4d22h ago)
CPLD version : 07051680
Firmware version : 12.2(33r)XNB
Slot: P0, ASR1004-PWR-AC
State : ok
Physical insert detect time : 00:01:40 (4d22h ago)
Slot: P1, ASR1004-PWR-AC
State : ok
Physical insert detect time : 00:01:40 (4d22h ago)
The table below describes the significant fields shown in the display.
Table 7 show platform diag Field Descriptions
Field
Description
Running state
The current online running state of the FRU component.
Internal state
The internal debug state of the FRU component for diagnostic purposes.
Internal operational state
The internal operational state of the FRU component for diagnostic purposes.
Physical insert detect time
The time of the most recent physical insertion of the FRU component detected by the platform code.
Software declared up time
The time that the software on the FRU component was declared running by the platform code.
Hardware ready signal time
The time that the hardware ready signal was detected by the platform code.
Packet ready signal time
The time that the Embedded Service Processor (ESP) packet ready signal was detected by the platform code.
CPLD version
The Complex Programmable Logic Device version number.
Firmware version
The Firmware (ROMmon) version number.
Logical insert detect time
The time that the SPA was logically detected by the platform code.
Became HA Active time
The time that this FRU became High Availability (HA) active status.
Related Commands
Command
Description
showplatform
Displays platform information.
showplatformhardware
Displays platform hardware information.
showplatformsoftware
Displays platform software information
show platform hardware capacity
To display the capacities and utilizations for the hardware resources, use the
showplatformhardwarecapacitycommand in privileged EXEC mode.
showplatformhardwarecapacity [resource-type]
Syntax Description
resource-type
(Optional) Hardware resource type; see the “Usage Guidelines” section for the valid values.
Command Default
This command has no default settings.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
12.2(18)SXF
This command was introduced.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXI
This command was integrated into Cisco IOS Release 12.2(33)SXI. Support was added for the
ibc and
rewrite-engine keywords.
Usage Guidelines
The valid values for
resource-type are as follows:
acl--Displays the capacities and utilizations for ACL/QoS TCAM resources.
cpu--Displays the capacities and utilizations for CPU resources.
eobc--Displays the capacities and utilizations for Ethernet out-of-band channel resources.
fabric--Displays the capacities and utilizations for Switch Fabric resources.
flash--Displays the capacities and utilizations for Flash/NVRAM resources.
forwarding--Displays the capacities and utilizations for Layer 2 and Layer 3 forwarding resources.
ibc--Displays the capacities and utilizations for interboard communication resources.
interface--Displays the capacities and utilizations for interface resources.
monitor--Displays the capacities and utilizations for SPAN resources.
multicast--Displays the capacities and utilizations for Layer 3 multicast resources.
netflow--Displays the capacities and utilizations for NetFlow resources.
pfc--Displays the capacities and utilizations for all the PFC resources including Layer 2 and Layer 3 forwarding, NetFlow, CPU rate limiters, and ACL/QoS TCAM resources.
power--Displays the capacities and utilizations for power resources.
qos--Displays the capacities and utilizations for QoS policer resources.
rate-limit--Displays the capacities and utilizations for CPU rate limiter resources.
rewrite-engine--Displays the packet drop and performance counters of the central rewrite engine on supervisors and line cards. For detailed information, see the
showplatformhardwarecapacityrewrite-enginecommand documentation.
system--Displays the capacities and utilizations for system resources.
vlan--Displays the capacities and utilizations for VLAN resources.
The
showplatformhardwarecapacitycpucommand displays the following information:
CPU utilization for the last 5 seconds (busy time and interrupt time), the percentage of the last 1-minute average busy time, and the percentage of the last 5-minute average busy time.
Processor memory total available bytes, used bytes, and percentage used.
I/O memory total available bytes, used bytes, and percentage used.
The
showplatformhardwarecapacityeobccommand displays the following information:
Transmit and receive rate
Packets received and packets sent
Dropped received packets and dropped transmitted packets
The
showplatformhardwarecapacityforwarding command displays the following information:
The total available entries, used entries, and used percentage for the MAC tables.
The total available entries, used entries, and used percentage for the FIB TCAM tables. The display is done per protocol base.
The total available entries, used entries, and used percentage for the adjacency tables. The display is done for each region in which the adjacency table is divided.
The created entries, failures, and resource usage percentage for the NetFlow TCAM and ICAM tables.
The total available entries and mask, used entries and mask, reserved entries and mask, and entries and mask used percentage for the ACL/QoS TCAM tables. The output displays the available, used, reserved, and used percentage of the labels. The output displays the resource of other hardware resources that are related to the ACL/QoS TCAMs (such as available, used, reserved, and used percentage of the LOU, ANDOR, and ORAND).
The available, used, reserved, and used percentage for the CPU rate limiters.
The
showplatformhardwarecapacityinterface command displays the following information:
Tx/Rx drops--Displays the sum of transmit and receive drop counters on each online module (aggregate for all ports) and provides the port number that has the highest drop count on the module.
Tx/Rx per port buffer size--Summarizes the port-buffer size on a per-module basis for modules where there is a consistent buffer size across the module.
The
showplatformhardwarecapacitymonitor command displays the following SPAN information:
The maximum local SPAN sessions, maximum RSPAN sessions, maximum ERSPAN sessions, and maximum service module sessions.
The local SPAN sessions used/available, RSPAN sessions used/available, ERSPAN sessions used/available, and service module sessions used/available.
The
showplatformhardwarecapacitymulticast command displays the following information:
Multicast Replication Mode: ingress and egress IPv4 and IPv6 modes.
The MET table usage that indicates the total used and the percentage used for each module in the system.
The bidirectional PIM DF table usage that indicates the total used and the percentage used.
The
showplatformhardwarecapacitysystemcommand displays the following information:
PFC operating mode (PFC Version: PFC3A, PFC3B, unknown, and so forth)
Supervisor redundancy mode (RPR, RPR+, SSO, none, and so forth)
Module-specific switching information, including the following information:
Part number (WS-SUP720-BASE, WS-X6548-RJ-45, and so forth)
Series (supervisor engine, fabric, CEF720, CEF256, dCEF256, or classic)
CEF Mode (central CEF, dCEF)
The
showplatformhardwarecapacityvlan command displays the following VLAN information:
Total VLANs
VTP VLANs that are used
External VLANs that are used
Internal VLANs that are used
Free VLANs
Examples
This example shows how to display CPU capacity and utilization information for the route processor, the switch processor, and the LAN module in the Cisco 7600 series router:
Router# show platform hardware capacity cpu
CPU Resources
CPU utilization: Module 5 seconds 1 minute 5 minutes
1 RP 0% / 0% 1% 1%
1 SP 5% / 0% 5% 4%
7 69% / 0% 69% 69%
8 78% / 0% 74% 74%
Processor memory: Module Bytes: Total Used %Used
1 RP 176730048 51774704 29%
1 SP 192825092 51978936 27%
7 195111584 35769704 18%
8 195111584 35798632 18%
I/O memory: Module Bytes: Total Used %Used
1 RP 35651584 12226672 34%
1 SP 35651584 9747952 27%
7 35651584 9616816 27%
8 35651584 9616816 27%
Router#
This example shows how to display EOBC-related statistics for the route processor, the switch processor, and the DFCs in the Cisco 7600 series router:
This example shows how to display the current and peak switching utilization:
Router# show platform hardware capacity fabric
Switch Fabric Resources
Bus utilization: current is 100%, peak was 100% at 12:34 12mar45
Fabric utilization: ingress egress
Module channel speed current peak current peak
1 0 20G 100% 100% 12:34 12mar45 100% 100% 12:34 12mar45
1 1 20G 12% 80% 12:34 12mar45 12% 80% 12:34 12mar45
4 0 20G 12% 80% 12:34 12mar45 12% 80% 12:34 12mar45
13 0 8G 12% 80% 12:34 12mar45 12% 80% 12:34 12mar45
Router#
This example shows how to display information about the total capacity, the bytes used, and the percentage that is used for the Flash/NVRAM resources present in the system:
This example shows how to display SPAN information:
Router# show platform hardware capacity monitor
SPAN Resources
Source sessions: 2 maximum, 0 used
Type Used
Local 0
RSPAN source 0
ERSPAN source 0
Service module 0
Destination sessions: 64 maximum, 0 used
Type Used
RSPAN destination 0
ERSPAN destination (max 24) 0
Router#
This example shows how to display the capacity and utilization of resources for Layer 3 multicast functionality:
Router# show platform hardware capacitymulticast
L3 Multicast Resources
IPv4 replication mode: ingress
IPv6 replication mode: ingress
Bi-directional PIM Designated Forwarder Table usage: 4 total, 0 (0%) used
Replication capability: Module IPv4 IPv6
5 egress egress
9 ingress ingress
MET table Entries: Module Total Used %Used
5 65526 6 0%
Router#
This example shows how to display information about the system power capacities and utilizations:
Router# show platform hardware capacity power
Power Resources
Power supply redundancy mode: administratively combined
operationally combined
System power: 1922W, 0W (0%) inline, 1289W (67%) total allocated
Powered devices: 0 total
Router#
This example shows how to display the capacity and utilization of QoS policer resources per EARL in the Cisco 7600 series router:
Router# show platform hardware capacity qos
QoS Policer Resources
Aggregate policers: Module Total Used %Used
1 1024 102 10%
5 1024 1 1%
Microflow policer configurations: Module Total Used %Used
1 64 32 50%
5 64 1 1%
Router#
This example shows how to display information about the key system resources:
Router# show platform hardware capacity system
System Resources
PFC operating mode: PFC3BXL
Supervisor redundancy mode: administratively rpr-plus, operationally rpr-plus
Switching Resources: Module Part number Series CEF mode
5 WS-SUP720-BASE supervisor CEF
9 WS-X6548-RJ-45 CEF256 CEF
Router#
This example shows how to display VLAN information:
Displays CWAN Frame Relay redundancy state information.
hdlc
Displays CWAN High-Level Data Link Control (HDLC) redundancy state information.
if-config
Displays the CWAN IF-configuration list.
bay-number
(Optional) Shared Port Adapter (SPA) bay number.
default-retvals
Displays default IF-configuration return values.
mlp
Displays CWAN Multilink Point-to-Point Protocol (MLP) redundancy state information.
multilink-vc
Displays CWAN Multilink VC information.
osm-chocx
Displays CWAN Optical Services Module (OSM) Channelized OC-12/OC-3 line card (CHOCX) redundancy state information.
osm-ct3
Displays CWAN OSM-CT3 redundancy state information.
ppp
Displays CWAN PPP redundancy state information.
shadowstate
Displays the CWAN interface descriptor block (IDB) shadow state.
spa-chocx
Displays CHOCX SPA VC information.
spa-ct3
Displays CT3 SPA VC information.
switchover
Displays CWAN switchover redundancy information.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
12.2(33)SRC
This command was introduced.
Examples
The following is sample output from the showplatformredundancycommand with the if-config keyword. The fields are self-explanatory.
Router# show platform redundancy if-config 4 0
Current number of elements = 0
Current maximum elements = 128
List was grown = 0 times
Number of elements sorted = 0
List errors = 0
List flags = 0x1E
Current element pointer = 0x0
List pointer = 0x50A27438
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| C=Command T=Type P=Port t=timedOut D=Dirty S=Sync |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| C | T | P | key address | t | D | S | value |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
Related Commands
Command
Description
showplatform
Displays platform information.
show platform software filesystem
To display information about file systems, use the
showplatformsoftwarefilesystemcommand in privileged EXEC or diagnostic mode.
Standby file system on the bootflash device (if the standby Route Processor [RP] is preset).
fpd:
Synthetic file system that is used by the field-programmable device (FPD) upgrade process--for Cisco Technical Support only.
harddisk:
File system on the hard disk device.
stby-harddisk:
Standby file system on the harddisk device (if the standby RP is preset).
obfl:
File system on the on board failure logging (OBFL) device.
stby-obfl:
Standby file system on the OBFL device (if the standby RP is preset).
usb0:
File system on the USB0 device (if installed).
stby-usb0:
Standby file system on the USB0 device (if the standby RP is preset).
usb1:
File system on the USB1 device (if installed).
stby-usb1:
Standby file system on the USB1 device (if the standby RP is preset).
all
(Optional) All possible device information.
details
(Optional) File system details.
Command Default
No default behavior or values
Command Modes
Privileged EXEC (#)
Diagnostic (diag)
Command History
Release
Modification
Cisco IOS XE Release 2.1
This command was introduced on the Cisco ASR1000 Series Routers.
Usage Guidelines
Use this command to ascertain the presence or absence of specific files and to determine space usage in the file system. This command is helpful to monitor the growth of log file sizes, because rapid growth of log files could indicate possible problems with the router.
Examples
The following example displays information about the files in the bootflash file system. It also shows the number of bytes used out of the total available in the bootflash file system.
Router# show platform software filesystem bootflash:
-#- --length-- ---------date/time--------- path
1 4096 Apr 01 2008 13:34:30 +00:00 /bootflash/
2 16384 Dec 04 2007 04:32:46 +00:00 /bootflash/lost+found
3 4096 Dec 04 2007 06:06:24 +00:00 /bootflash/.ssh
4 963 Dec 04 2007 06:06:16 +00:00 /bootflash/.ssh/ssh_host_key
5 627 Dec 04 2007 06:06:16 +00:00 /bootflash/.ssh/ssh_host_key.pub
6 1675 Dec 04 2007 06:06:18 +00:00 /bootflash/.ssh/ssh_host_rsa_key
7 382 Dec 04 2007 06:06:18 +00:00 /bootflash/.ssh/ssh_host_rsa_key.pub
8 668 Dec 04 2007 06:06:24 +00:00 /bootflash/.ssh/ssh_host_dsa_key
9 590 Dec 04 2007 06:06:24 +00:00 /bootflash/.ssh/ssh_host_dsa_key.pub
10 4096 Dec 04 2007 06:06:36 +00:00 /bootflash/.rollback_timer
11 4096 Mar 18 2008 17:31:17 +00:00 /bootflash/.prst_sync
12 4096 Dec 04 2007 04:34:45 +00:00 /bootflash/.installer
13 205951180 Mar 18 2008 17:23:03 +00:00 /bootflash/asr1000rp1-advipservicesk
14 46858444 Mar 18 2008 17:28:55 +00:00 /bootflash/asr1000rp1-espbase.02.01.
15 20318412 Mar 18 2008 17:28:56 +00:00 /bootflash/asr1000rp1-rpaccess-k9.02
16 22266060 Mar 18 2008 17:28:57 +00:00 /bootflash/asr1000rp1-rpbase.02.01.0
17 21659852 Mar 18 2008 17:28:57 +00:00 /bootflash/asr1000rp1-rpcontrol.02.0
18 45934796 Mar 18 2008 17:28:58 +00:00 /bootflash/asr1000rp1-rpios-advipser
19 34169036 Mar 18 2008 17:28:59 +00:00 /bootflash/asr1000rp1-sipbase.02.01.
20 22067404 Mar 18 2008 17:29:00 +00:00 /bootflash/asr1000rp1-sipspa.02.01.0
21 7180 Mar 18 2008 17:29:00 +00:00 /bootflash/packages.conf
461897728 bytes available (419782656 bytes used)
The following example displays information only about the bootflash file system itself, such as file system type and access permissions:
The table below describes the significant fields shown in the displays of file system information.
Table 8 show platform software filesystem Field Descriptions
Field
Description
#
Display line number.
Length
File size in bytes.
Date/Time
Date and time the file system was created.
Path
Full path of a file in the file system.
Filesystem Path
Root of the file system.
Filesystem Type
Type of file system. One of the following values:
ext2--Second extended file system.
jffs2--Journaling flash file system, version 2.
vfat--Virtual file allocation table (FAT16 or FAT32).
Mounted
Access permissions to the file system.
Related Commands
Command
Description
showplatformsoftwaremount
Displays the mounted file systems (both physical and virtual) on a shared port adapter (SPA) in a SPA interface processor (SIP), on an Embedded Services Processor (ESP), or on a Route Processor (RP).
showplatformsoftwaretech-support
Displays system information or creates a technical support information tar file for Cisco Technical Support.
show platform software memory
To display memory information for the specified process, use the
showplatformsoftwarememorycommand in privileged EXEC or diagnostic mode.
The table below describes the significant fields shown in the
brief keyword display.
Table 10 show platform software memory brief Field Descriptions
Field
Description
module
Name of submodule.
allocated
Memory, allocated in bytes.
requested
Number of bytes requested by application.
allocs
Number of discrete allocation event attempts.
frees
Number of free events.
show platform software mount
To display the mounted file systems, both physical and virtual, for a Cisco ASR 1000 Series SPA Interface Processor (SIP), Cisco ASR 1000 Series Embedded Services Processor (ESP), or Cisco ASR 1000 Series Route Processor (RP), use the
showplatformsoftwaremountcommand in privileged EXEC or diagnostic mode.
showplatformsoftwaremount
[ slot [brief] ]
Syntax Description
slot
(Optional) Displays mounted file systems for the specified
slot. Possible
slot values are:
0--Cisco ASR 1000 Series SIP slot 0
1--Cisco ASR 1000 Series SIP slot 1
2--Cisco ASR 1000 Series SIP slot 2
f0--Cisco ASR 1000 Series ESP slot 0
f1--Cisco ASR 1000 Series ESP slot 1
fpactive--Active Cisco ASR 1000 Series ESP
fpstandby--Standby Cisco ASR 1000 Series ESP
r0--Cisco ASR 1000 Series RP slot 0
r1--Cisco ASR 1000 Series RP slot 1
rpactive--Active Cisco ASR 1000 Series RP
rpstandby--Standby Cisco ASR 1000 Series RP
brief
(Optional) Displays abbreviated mounted file system information.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Diagnostic (diag)
Command History
Release
Modification
Cisco IOS XE Release 2.1
This command was introduced on the Cisco ASR 1000 Series Routers.
Usage Guidelines
If no slot is specified, the command returns mounted file systems for the active RP.
This command allows you to ascertain the presence or absence of specific system mounts. For example, this command might be used to determine /tmp-related mounts, which are used to create many run-time directories and files.
Users may be requested to execute this command to collect information about the underlying configuration of the platform software.
The RP output can differ depending on how the router was booted, and whether there are USB devices inserted.
The SIP and ESP output can differ depending on whether the chassis is a dual or single RP.
Examples
The following example displays mounted file systems for the active RP:
Displays running process information for the specified
slot. Possible
slot values are:
0--Cisco ASR 1000 Series SPA Interface Processor (SIP) slot 0
1--Cisco ASR 1000 Series SIP slot 1
2--Cisco ASR 1000 Series SIP slot 2
f0--Cisco ASR 1000 Series Embedded Services Processor (ESP) slot 0
f1--Cisco ASR 1000 Series ESP slot 1
fpactive--Active Cisco ASR 1000 Series ESP
fpstandby--Standby Cisco ASR 1000 Series ESP
r0--Cisco ASR 1000 Series Route Processor (RP) slot 0
r1--Cisco ASR 1000 Series RP slot 1
rpactive--Active Cisco ASR 1000 Series RP
rpstandby--Standby Cisco ASR 1000 Series RP
nameprocess-name
(Optional) Displays information for the specified process name.
process-id process-id
(Optional) Displays information for the specified process ID.
sortmemory
(Optional) Sorts the processes by memory.
summary
(Optional) Displays summary process information for the running host.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Diagnostic (diag)
Command History
Release
Modification
Cisco IOS XE Release 2.1
This command was introduced on the Cisco ASR 1000 Series Routers.
Usage Guidelines
The name and process-id keywords can be used to narrow the process list display down to specific processes.
The
sortkeyword can be used to sort the process list by memory size.
The summary keyword can be used to display summary information about running processes.
Examples
The following example displays information about running processes for Cisco ASR 1000 Series SIP slot 0:
Router# show platform software process list 0
Name Pid PPid Group Id Status Priority Size
------------------------------------------------------------------------------
init 1 0 1 S 20 1974272
ksoftirqd/0 2 1 1 S 39 0
events/0 3 1 1 S 15 0
khelper 4 1 1 S 15 0
kthread 5 1 1 S 15 0
kblockd/0 19 5 1 S 15 0
khubd 23 5 1 S 15 0
pdflush 59 5 1 S 20 0
pdflush 60 5 1 S 20 0
kswapd0 61 5 1 S 15 0
aio/0 62 5 1 S 15 0
xfslogd/0 63 5 1 S 15 0
xfsdatad/0 64 5 1 S 15 0
mtdblockd 626 1 1 S 20 0
loop0 1370 1 1 S 0 0
portmap 1404 1 1404 S 20 2076672
portmap 1406 1 1406 S 20 2076672
loop1 1440 1 1 S 0 0
udevd 2104 1 2104 S 16 1974272
jffs2_gcd_mtd1 2796 1 1 S 30 0
klogd 3093 1 3093 S 20 1728512
automount 3199 1 3199 S 20 2396160
xinetd 3214 1 3214 S 20 3026944
xinetd 3216 1 3216 S 20 3026944
pvp.sh 3540 1 3540 S 20 3678208
inotifywait 3575 3540 3575 S 20 1900544
pman.sh 3614 3540 3614 S 20 3571712
pman.sh 3714 3540 3714 S 20 3571712
btrace_rotate.s 3721 3614 3721 S 20 3133440
agetty 3822 1 3822 S 20 1720320
mcp_chvrf.sh 3823 1 3823 S 20 2990080
sntp 3824 1 3824 S 20 2625536
issu_switchover 3825 1 3825 S 20 3899392
xinetd 3827 3823 3823 S 20 3026944
cmcc 3862 3714 3862 S 20 26710016
pman.sh 3883 3540 3883 S 20 3571712
pman.sh 4014 3540 4014 S 20 3575808
hman 4020 3883 4020 R 20 19615744
imccd 4114 4014 4114 S 20 31539200
inotifywait 4196 3825 3825 S 20 1896448
pman.sh 4351 3540 4351 S 20 3575808
plogd 4492 4351 4492 S 20 22663168
inotifywait 4604 3721 4604 S 20 1900544
The table below describes the significant fields shown in the display.
Table 13 show platform software process list Field Descriptions
Field
Description
Name
Name of the process.
Pid
Process ID.
PPid
Parent Process ID.
Group Id
Process group ID.
Status
Process status.
Priority
Process priority.
Size
Virtual memory size (in bytes).
The following example displays information about a specific named process for Cisco ASR 1000 Series SIP slot 0:
Router# show platform software process list 0 name sleep
Name: sleep
Process id : 25938
Parent process id: 3891
Group id : 3891
Status : S
Session id : 3816
User time : 0
Kernel time : 0
Priority : 20
Virtual bytes : 2482176
Resident pages : 119
Resident limit : 4294967295
Minor page faults: 182
Major page faults: 0
The following example displays information about a specific process identifier for Cisco ASR 1000 Series SIP slot 0:
Router# show platform software process list 0 process-id 1
Name: init
Process id : 1
Parent process id: 0
Group id : 1
Status : S
Session id : 1
User time : 1
Kernel time : 741
Priority : 20
Virtual bytes : 1974272
Resident pages : 161
Resident limit : 4294967295
Minor page faults: 756
Major page faults: 0
The table below describes the significant fields shown in the
name and
process-idkeyworddisplays.
Table 14 show platform software process list name and process-id Field Descriptions
Field
Description
Name
Name of the process.
Process id
Process ID.
Parent process id
Parent process ID.
Group id
Process group ID.
Status
Process status.
Session id
Process session ID.
User time
Time (in seconds) spent in user mode.
Kernel time
Time (in seconds) spent in kernel mode.
Priority
Process priority.
Virtual bytes
Virtual memory size (in bytes).
Resident pages
Resident page size.
Resident limit
Current limit on Resident pages.
Minor page faults
Number of minor page faults.
Major page faults
Number of major page faults.
The following example displays process summary information for Cisco ASR 1000 Series SIP slot 0:
Router# show platform software process list 0 summary
Total number of processes: 54
Running : 4
Sleeping : 50
Disk sleeping : 0
Zombies : 0
Stopped : 0
Paging : 0
Up time : 1562
Idle time : 1511
User time : 1606
Kernel time : 1319
Virtual memory : 587894784
Pages resident : 45436
Major page faults: 25
Minor page faults: 149098
Architecture : ppc
Memory (kB)
Physical : 524288
Total : 479868
Used : 434948
Free : 44920
Active : 183020
Inactive : 163268
Inact-dirty : 0
Inact-clean : 0
Dirty : 0
AnonPages : 76380
Bounce : 0
Cached : 263764
Commit Limit : 239932
Committed As : 201452
High Total : 0
High Free : 0
Low Total : 479868
Low Free : 44920
Mapped : 59996
NFS Unstable : 0
Page Tables : 1524
Slab : 73760
VMmalloc Chunk : 426840
VMmalloc Total : 474856
VMmalloc Used : 47372
Writeback : 0
Swap (kB)
Total : 0
Used : 0
Free : 0
Cached : 0
Buffers (kB) : 6144
Load Average
1-Min : 0.00
5-Min : 0.00
15-Min : 0.00
The table below describes the significant fields shown in the
summary keyword display.
Table 15 show platform software process list summary Field Descriptions
Field
Description
Total number of processes
Total number of processes in all possible states.
Running
Number of processes in the running state.
Sleeping
Number of processes in the sleeping state.
Disk sleeping
Number of processes in the disk-sleeping state.
Zombies
Number of processes in the zombie state.
Stopped
Number of processes in the stopped state.
Paging
Number of processes in the paging state.
Up time
System Up time (in seconds).
Idle time
System Idle time (in seconds).
User time
System time (in seconds) spent in user mode.
Kernel time
System time (in seconds) spent in kernel mode.
Virtual memory
Virtual memory size (in bytes).
Pages resident
Resident page size.
Major page faults
Number of major page faults.
Minor page faults
Number of minor page faults.
Architecture
System CPU architecture: PowerPC (ppc).
Memory (kB)
System memory heading.
Physical
Total physical memory (in kilobytes).
Total
Total available memory (in kilobytes). This value represents the physical memory available for kernel use.
Used
Used memory (in kilobytes).
Free
Free memory (in kilobytes).
Active
Most recently used memory (in kilobytes).
Inactive
Memory (in kilobytes) that has been less recently used. It is more eligible to be reclaimed for other purposes.
Inact-dirty
Memory (in kilobytes) that may need to be written to persistent store (cache or disk).
Inact-clean
Memory (in kilobytes) that is readily available for re-use.
Dirty
Memory (in kilobytes) that is waiting to get written back to the disk.
AnonPages
Memory (in kilobytes) that is allocated when a process requests memory from the kernel via the malloc() system call. This memory has no file backing on disk.
Bounce
Memory (in kilobytes) that is allocated to bounce buffers.
Cached
Amount of physical RAM (in kilobytes) used as cache memory.
Commit Limit
Total amount of memory (in kilobytes) currently available to be allocated on the system. This limit is only adhered to if strict overcommit accounting is enabled.
Committed As
Total amount of memory (in kilobytes) presently allocated on the system. The committed memory is a sum of all of the memory that has been allocated by processes, even if it has not been used by them as of yet.
High Total
Total amount of memory (in kilobytes) that is not directly mapped into kernel space. The High Total value can vary based on the type of kernel used.
High Free
Amount of free memory (in kilobytes) that is not directly mapped into kernel space. The High Free value can vary based on the type of kernel used.
Low Total
Total amount of memory (in kilobytes) that is directly mapped into kernel space. The Low Total value can vary based on the type of kernel used.
Low Free
Amount of free memory (in kilobytes) that is directly mapped into kernel space. The Low Free value can vary based on the type of kernel used.
Mapped
Total amount of memory (in kilobytes) that has been used to map devices, files, or libraries using the mmap command.
NFS Unstable
Total amount of memory (in kilobytes) used for unstable NFS pages. Unstable NFS pages are pages that have been written into the page cache on the server, but have not yet been synchronized to disk.
Page Tables
Total amount of memory (in kilobytes) dedicated to the lowest page table level.
Slab
Total amount of memory (in kilobytes) used by the kernel to cache data structures for its own use.
VMalloc Chunk
Largest contiguous block of available virtual address space (in kilobytes) that is free.
VMalloc Total
Total amount of memory (in kilobytes) of total allocated virtual address space.
VMalloc Used
Total amount of memory (in kilobytes) of used virtual address space.
Writeback
Memory (in kilobytes) that is actively being written back to the disk.
Swap (kB)
Swap memory heading.
Total
Total swap memory (in kilobytes).
Used
Used swap memory (in kilobytes).
Free
Free swap memory (in kilobytes).
Cached
Cached swap memory (in kilobytes).
Buffers (kB)
Buffers heading.
Load Average
Indicators of system load.
1-Min
Average number of processes running for the last minute.
5-Min
Average number of processes running for the last 5 minutes.
15-Min
Average number of processes running for the last 15 minutes.
The following example displays process summary information for Cisco ASR 1000 Series sorted by memory size:
Router#show platform software process list R0 sort memory
Name Pid PPid Group Id Status Priority Size
------------------------------------------------------------------------------
linux_iosd-imag 27982 26696 27982 S 20 4294967295
fman_rp 25857 25309 25857 S 20 684867584
vman 30685 29587 30685 S 20 194850816
smand 30494 28948 30494 S 20 103538688
libvirtd 5260 5254 5254 S 20 83197952
python 10234 10233 10210 S 20 29765632
python 10975 10234 10975 S 20 29765632
python 10977 10234 10977 S 20 29765632
python 10978 10234 10978 S 20 29765632
python 10979 10234 10979 S 20 29765632
python 10981 10234 10981 S 20 29765632
automount 15682 1 15682 S 20 25092096
cmand 25530 24760 25530 S 20 23789568
imand 27198 26090 27198 S 20 22040576
psd 31284 28535 31284 S 20 16019456
emd 25712 24917 25712 S 20 15302656
hman 26622 25617 26622 R 20 14544896
plogd 28878 27718 28878 S 20 12349440
btrace_rotate.s 25251 24643 25251 S 20 6008832
sort_files_by_i 30092 29066 30092 S 20 5234688
periodic.sh 28469 27490 28469 S 20 4812800
rotee 5403 1 5396 S 20 4788224
rotee 5412 1 5411 S 20 4788224
rotee 5438 1 5437 S 20 4788224
rotee 5482 1 5481 S 20 4788224
rotee 9844 1 9843 S 20 4788224
rotee 9958 1 9957 S 20 4788224
rotee 16942 1 16941 S 20 4788224
rotee 16946 1 16945 S 20 4788224
rotee 24383 1 24382 S 20 4788224
rotee 24742 1 24741 S 20 4788224
rotee 24960 1 24959 S 20 4788224
rotee 25107 1 25106 S 20 4788224
rotee 25534 1 25533 S 20 4788224
rotee 25542 1 25541 S 20 4788224
rotee 25880 1 25879 S 20 4788224
rotee 26390 1 26389 S 20 4788224
rotee 26881 1 26880 S 20 4788224
rotee 27728 1 27727 S 20 4788224
rotee 27882 1 27881 S 20 4788224
rotee 28867 1 28866 S 20 4788224
rotee 29220 1 29219 S 20 4788224
rotee 29257 1 29256 S 20 4788224
rotee 29405 1 29404 S 20 4788224
rotee 29784 1 29783 S 20 4788224
oom.sh 5560 5246 5560 S 20 4427776
reflector.sh 15598 1 15598 S 20 3997696
droputil.sh 15600 1 15600 S 20 3997696
pvp.sh 24336 1 24335 S 20 3870720
pman.sh 29066 24336 24335 S 14 3805184
pman.sh 24643 24336 24335 S 14 3801088
pman.sh 27490 24336 24335 S 14 3801088
pman.sh 26696 24336 24335 S 14 3788800
pman.sh 9679 24336 24335 S 14 3784704
pman.sh 9812 24336 24335 S 14 3784704
pman.sh 24760 24336 24335 S 14 3784704
pman.sh 24917 24336 24335 S 14 3784704
pman.sh 25309 24336 24335 S 14 3784704
pman.sh 25617 24336 24335 S 14 3784704
pman.sh 26090 24336 24335 S 14 3784704
pman.sh 27718 24336 24335 S 14 3784704
pman.sh 28535 24336 24335 S 14 3784704
pman.sh 28948 24336 24335 S 14 3784704
pman.sh 29587 24336 24335 S 14 3784704
chasync.sh 5248 1 5248 S 20 3620864
lighttpd 11522 11521 10223 S 20 3543040
iptbl.sh 5252 1 5252 S 20 3477504
rollback_timer. 5226 1 5226 S 20 3014656
oom.sh 5246 1 5246 S 20 2977792
wui-lighttpd-la 10223 9812 10223 S 20 2605056
wui-app-launch. 10210 9679 10210 S 20 2600960
mcp_chvrf.sh 10233 10210 10210 S 20 2596864
mcp_chvrf.sh 11521 10223 10223 S 20 2596864
auxinit.sh 15593 1 15593 S 20 2584576
mcp_chvrf.sh 5223 1 5223 S 20 2580480
mcp_chvrf.sh 5224 1 5224 S 20 2580480
libvirtd.sh 5254 1 5254 S 20 2576384
xinetd 5231 5223 5223 S 20 2183168
xinetd 5232 5224 5224 S 20 2183168
xinetd 15714 1 15714 S 20 2183168
xinetd 15716 1 15716 S 20 2183168
sleep 30979 28469 28469 S 20 1925120
sleep 31820 5560 5560 S 20 1925120
sleep 32645 30092 30092 S 20 1925120
sntp 5225 1 5225 S 20 1863680
init 1 0 1 S 20 1859584
portmap 2654 1 2654 S 20 1806336
rpc.mountd 15751 1 15751 S 20 1789952
inotifywait 5459 5248 5459 S 20 1761280
inotifywait 16968 15598 16968 S 20 1761280
inotifywait 17050 15600 17050 S 20 1761280
inotifywait 24572 24336 24335 S 20 1761280
inotifywait 5462 5226 5462 S 20 1757184
inotifywait 5522 5252 5522 S 20 1757184
udevd 13853 1 13853 S 16 1757184
inotifywait 32725 25251 32725 S 20 1757184
klogd 24325 1 24325 S 20 1650688
kthreadd 2 0 0 S 15 0
migration/0 3 2 0 S 4294967196 0
ksoftirqd/0 4 2 0 S 15 0
watchdog/0 5 2 0 S 4294967196 0
migration/1 6 2 0 S 4294967196 0
ksoftirqd/1 7 2 0 S 15 0
watchdog/1 8 2 0 S 4294967196 0
events/0 9 2 0 S 15 0
events/1 10 2 0 S 15 0
khelper 11 2 0 S 15 0
netns 14 2 0 S 15 0
kblockd/0 59 2 0 S 15 0
kblockd/1 60 2 0 S 15 0
kacpid 61 2 0 S 15 0
kacpi_notify 62 2 0 S 15 0
cqueue 144 2 0 S 15 0
ata/0 148 2 0 S 15 0
ata/1 149 2 0 S 15 0
ata_aux 150 2 0 S 15 0
ksuspend_usbd 151 2 0 S 15 0
khubd 156 2 0 S 15 0
kseriod 159 2 0 S 15 0
pdflush 210 2 0 S 20 0
pdflush 211 2 0 S 20 0
kswapd0 212 2 0 S 15 0
aio/0 256 2 0 S 15 0
aio/1 257 2 0 S 15 0
scsi_eh_0 1077 2 0 S 15 0
scsi_eh_1 1079 2 0 S 15 0
scsi_eh_2 1081 2 0 S 15 0
scsi_eh_3 1083 2 0 S 15 0
scsi_eh_4 1115 2 0 S 15 0
usb-storage 1116 2 0 S 15 0
scsi_eh_5 1129 2 0 S 15 0
usb-storage 1130 2 0 S 15 0
scsi_eh_6 1133 2 0 S 15 0
usb-storage 1134 2 0 S 15 0
rpciod/0 2333 2 0 S 15 0
rpciod/1 2336 2 0 S 15 0
nfsiod 2345 2 0 S 15 0
loop0 2424 2 0 S 0 0
loop1 2708 2 0 S 0 0
loop2 2745 2 0 S 0 0
loop3 2782 2 0 S 0 0
loop4 2819 2 0 S 0 0
loop5 2928 2 0 S 0 0
loop6 2965 2 0 S 0 0
loop7 3002 2 0 S 0 0
loop8 3075 2 0 S 0 0
lockd 15741 2 0 S 15 0
nfsd 15742 2 0 S 15 0
nfsd 15743 2 0 S 15 0
nfsd 15744 2 0 S 15 0
nfsd 15745 2 0 S 15 0
nfsd 15746 2 0 S 15 0
nfsd 15747 2 0 S 15 0
nfsd 15748 2 0 S 15 0
nfsd 15749 2 0 S 15 0
lsmpi-refill 15852 2 0 S 15 0
lsmpi-xmit 15853 2 0 S 15 0
lsmpi-rx 15854 2 0 S 15 0
ddr_err_monitor 16267 2 0 S 15 0
mtdblockd 16292 2 0 S 15 0
scansta 16315 2 0 S 15 0
show platform process slot
To monitor the software-running process in a given slot, use the
showplatformsoftwareprocessslotcommand in privileged EXEC or diagnostic mode.
Specifies the Field Replace Unit (FRU) where the command is run.
slot
Slot information.
monitor
Monitors the running processes.
cycles
Checks the processes multiple times.
cycles
Number of times the command is run during a single invocation of the command. The range is from 1 to 4294967295. The default is 5.
interval
Sets delay interval after each command run.
delay
Delay between two successive runs of the command. The range is from 0 to 300. The default is 3.
lines
Sets the number of output lines that are displayed.
lines-of-output
Number of output lines displayed. The range is from 0 to 512. 0 displays all the lines.
Note
The number of lines is determined by the current terminal length.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
Cisco IOS XE Release 3.1.0S
This command was introduced in a release earlier than Release 3.1.0S on Cisco ASR 1000 Series Routers.
Examples
The following is a sample output of the show platform software process slot command. Only 23 lines are displayed because the lines-of-output argument is set to 23:
The table below describes the significant fields shown in the display.
Table 16 show platform software process slot Field Descriptions
Field
Description
%CPU
CPU Usage
%MEM
Memory Usage
COMMAND
Command name or command line
NI
Nice value
PID
Process ID
PR
Priority
RES
Resident memory size (in kb)
S
Process status
SHR
Shared memory size (in kb)
TIME+
Elapsed execution time
USER
User name
VIRT
Virtual memory size (in kb)
show platform software snapshot status
To display the status of a bootflash snapshot action, use the
show platform software snapshot status command in privilege EXEC mode.
showplatformsoftwaresnapshotslotstatus
Syntax Description
snapshot
Requests snapshot actions.
slot
Specifies the hardware slot. Options include:
number--The number of the SIP slot of the hardware module where the trace level is being set. For instance, if you wanted to specify the SIP in SIP slot 2 of the router, enter 2 as the
number.
f0--The ESP in ESP slot 0.
f1 --The ESP in ESP slot 1
fpactive--The active ESP.
fpstandby--The standby ESP.
r0--The RP in RP slot 0.
r1 --The RP in RP slot 1.
rpactive--The active RP.
rpstandby--The standby RP.
status
Displays the status of snapshot operations.
Command Default
No default behavior or values
Command Modes
Privileged EXEC (#) Diagnostic Mode (diag)
Command History
Release
Modification
Cisco IOS XE Release 2.1
This command was introduced.
Usage Guidelines
Use the
show platform software snapshot status command to view the status of a bootflash snapshot request.
Examples
This example shows how to view the status of bootflash snapshot requests on the processor in the RO slot.
router#show platform software snapshot R0 status
Related Commands
Command
Description
request platform software snapshot
Use this command to display a snapshot of the bootflash.
show platform software tech-support
To display system information or create a technical support information tar file for Cisco Technical Support, use the
showplatformsoftwaretech-supportcommand in privileged EXEC or diagnostic mode.
(Optional) Creates a technical support information tar file for the specified destination file path.
bootflash:filename.tgz
Creates a technical support information tar file for the boot flash memory file system on the active RP.
fpd:filename.tgz
Creates a technical support information tar file for the field-programmable device (FPD) image package on the active RP. The information displayed is for internal debugging puposes only.
harddisk:filename.tgz
Creates a technical support information tar file for the hard disk file system on the active RP.
obfl:filename.tgz
Creates a technical support information tar file for the file system for Onboard Failure Logging (obfl) files. The information displayed is for internal debugging puposes only.
stby-bootflash:filename.tgz
Creates a technical support information tar file for the boot flash memory file system on the standby RP. The information displayed is for internal debugging puposes only.
stby-harddisk:filename.tgz
Creates a technical support information tar file for the hard disk file system on the standby RP. The information displayed is for internal debugging puposes only.
stby-obfl:filename.tgz
Creates a technical support information tar file for the Onboard Failure Logging (obfl) files on the standby RP. The information displayed is for internal debugging puposes only.
stby-usb0:filename.tgz
Creates a technical support information tar file for Universal Serial Bus (USB) memory. The information displayed is for internal debugging puposes only.
stby-usb1:filename.tgz
Creates a technical support information tar file for Universal Serial Bus (USB) memory. The information displayed is for internal debugging puposes only.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Diagnostic (diag)
Command History
Release
Modification
Cisco IOS XE Release 2.1
This command was introduced on the Cisco ASR 1000 Series Routers.
Usage Guidelines
If the file keyword is specified, the specification of the bootflash: or harddisk: keyword and filename is required.
The show platform software tech-support command without a destination file path specification returns a large volume of information in a short period of time. You should save the output of the show platform software tech-support command in a log file to send to Cisco Technical Support for analysis.
Examples
The following example displays system information for Cisco Technical Support:
Router# show platform software tech-support
---- show version installed -----
Type: provisioning file, Version: unknown
Provisioned on: RP0, Status: active
File: packages.conf.super
Modified: 2007-11-07 15:06:12.212303000 +0000
SHA1 (header): d929d995d5ba2d3dedf67137c3e0e321b1727d7b
SHA1 (calculated): d929d995d5ba2d3dedf67137c3e0e321b1727d7b
SHA1 (external): a16881b6a7e3a5593b63bf211f72b8af9c534063
instance address : 0X890DE9B4
fast failover address : 00000000
cpp interface handle 0
instance address : 0X890DE9B8
fast failover address : 00000000
cpp interface handle 0
instance address : 0X890DE9BC
fast failover address : 00000000
...
Note
The show platform software tech-support command returns a large volume of information in a short period of time. The example above has been abbreviated for the purposes of this description.
The following example creates a technical support information tar file for the boot flash memory file system on the active RP:
Router# show platform software tech-support file bootflash:tech_support_output.tgz
Running tech support command set; please wait...
Creating file 'bootflash:target_support_output.tgz.tgz' ...
File 'bootflash:target_support_output.tgz.tgz' created successfully
The following example creates a technical support information tar file for the hard disk file system on the active RP:
Router# show platform software tech-support file harddisk:tech_support_output.tgz
Running tech support command set; please wait...
Creating file 'harddisk:tech_support_ouput.tgz.tgz' ...
File 'harddisk:tech_support_ouput.tgz.tgz' created successfully
show platform subscriber-group
To display the subscriber group information, use the showplatformsubscriber-groupcommand in privileged EXEC mode.
showplatformsubscriber-group
{ vrf-number | all }
[detail]
Syntax Description
vrf-number
VRF identification number. Displays VPN routing and forwarding (VRF) information for the specified VRF ID.
all
Displays information about all VRFs.
detail
Displays detailed information about the subscriber group.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
15.1(1)S
This command was introduced.
Examples
This is sample output from the showplatformsubscriber-groupallcommand:
Router#show platform subscriber-group all
Container0[:0] No of access sub-if(s) 1
Vlan 1014 p_cnt 1 Old Vlan 0 ip T
Container2[VRF2:2] No of access sub-if(s) 1
Vlan 1018 p_cnt 1 Old Vlan 0 ip T
This is sample output from the showplatformsubscriber-group0detailcommand:
Router#show platform subscriber-group 0 detail
------------------------------------------
VRF[:0] Container0 No of access sub-if(s) 1 Vlan 1014
Access Interfaces:
GigabitEthernet2/10.2
Related Commands
Command
Description
showplatform
Displays platform information.
show platform supervisor
To display platform supervisor information, use the showplatformsupervisorcommand in privileged EXEC mode.
Displays supervisor operating Maximum Tranmission Unit (MTU).
slotslot-number
Displays information for the specified slot.
portport-number
Displays information for the specified port.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
12.2(33)SRA
This command was introduced.
Examples
The following is sample output from the showplatformsupervisorcommand. The fields are self-explanatory.
Router# show platform supervisor mtu slot 5 port 1
User configured MTU : 9216
Real Operating MTU : 9236
Related Commands
Command
Description
showplatform
Displays platform information.
show power
To display information about the power status, use the
showpowercommand in user EXEC or privileged EXEC
mode.
showpower
[ available | inline
[ interfacenumber | modulenumber ] | redundancy-mode | status
{ all | fan-trayfan-tray-number | moduleslot | power-supplypwr-supply-number } | total | used ]
Syntax Description
available
(Optional) Displays the available system power (margin).
inline
(Optional) Displays the inline power status.
interfacenumber
(Optional) Specifies the interface type; possible valid
values are
ethernet,
fastethernet,
gigabitethernet,
tengigabitethernet,
null,
port-channel, and
vlan. See the “Usage Guidelines”
section for additional information.
modulenumber
Displays the power status for a specific module.
redundancy-mode
(Optional) Displays the power-supply redundancy mode.
status
(Optional) Displays the power status.
all
Displays all the FRU types.
fan-trayfan-tray-number
Displays the power status for the fan tray .
moduleslot
Displays the power status for a specific module.
power-supplypwr-supply-number
Displays the power status for a specific power supply;
valid values are
1 and
2
total
(Optional) Displays the total power that is available from
the power supplies.
used
(Optional) Displays the total power that is budgeted for
powered-on items.
Command Default
This command has no default settings.
Command Modes
User EXEC Privileged EXEC
Command History
Release
Modification
12.2(14)SX
Support for this command was introduced on the Supervisor
Engine 720.
12.2(17a)SX1
The output was changed to include the total system-power
information.
12.2(17b)SXA
This command was changed to include information about the
inline power status for a specific module.
12.2(17d)SXB
Support for this command on the Supervisor Engine 2 was
extended to Release 12.2(17d)SXB.
12.2(18)SXF
The output was changed to include information about the
high-capacity power supplies.
12.2(33)SRA
This command was integrated into Cisco IOS Release
12.2(33)SRA.
Usage Guidelines
The
interface-number argument designates the
module and port number. Valid values for
interface-number depend on the specified
interface type and the chassis and module that are used. For example, if you
specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet
module that is installed in a 13-slot chassis, valid values for the module
number are from 1 to 13 and valid values for the port number are from 1 to 48.
Valid values for
vlan-id are from 1 to 4094.
The Inline power field in the
showpoweroutput displays the inline power that is consumed by the
modules. For example, this example shows that module 9 has consumed 0.300 A of
inline power:
Inline power # current
module 9 0.300A
Examples
This example shows how to display the available system power:
Router>
show power available
system power available = 20.470A
Router>
This example shows how to display power-supply redundancy mode:
Router#
show power redundancy-mode
system power redundancy mode = redundant
Router#
This command shows how to display the system-power status:
Router> show power
system power redundancy mode = combined
system power total = 3984.12 Watts (94.86 Amps @ 42V)
system power used = 1104.18 Watts (26.29 Amps @ 42V)
system power available = 2879.94 Watts (68.57 Amps @ 42V)
Power-Capacity PS-Fan Output Oper
PS Type Watts A @42V Status Status State
---- ------------------ ------- ------ ------ ------ -----
1 WS-CAC-3000W 2830.80 67.40 OK OK on
2 WS-CAC-1300W 1153.32 27.46 OK OK on
Note: PS2 capacity is limited to 2940.00 Watts (70.00 Amps @ 42V)
when PS1 is not present
Pwr-Allocated Oper
Fan Type Watts A @42V State
---- ------------------ ------- ------ -----
1 FAN-MOD-9 241.50 5.75 OK
2 241.50 5.75 failed
Pwr-Requested Pwr-Allocated Admin Oper
Slot Card-Type Watts A @42V Watts A @42V State State
---- ------------------ ------- ------ ------- ------ ----- -----
1 WS-X6K-SUP2-2GE 145.32 3.46 145.32 3.46 on on
2 - - 145.32 3.46 - -
3 WS-X6516-GBIC 118.02 2.81 118.02 2.81 on on
5 WS-C6500-SFM 117.18 2.79 117.18 2.79 on on
7 WS-X6516A-GBIC 214.20 5.10 - - on off (insuff cooling capacity)
8 WS-X6516-GE-TX 178.50 4.25 178.50 4.25 on on
9 WS-X6816-GBIC 733.98 17.48 - - on off (connector rating exceeded)
Router>
This example shows how to display the power status for all FRU types:
Router#
show power status all
FRU-type # current admin state oper
power-supply 1 27.460A on on
module 1 4.300A on on
module 2 4.300A - - (reserved)
module 5 2.690A on on
Router#
This example shows how to display the power status for a specific
module:
Router#
show power status module 1
FRU-type # current admin state oper
module 1 -4.300A on on
Router#
This example shows how to display the power status for a specific
power supply:
Router#
show power status power-supply 1
FRU-type # current admin state oper
power-supply 1 27.460A on on
Router#
This example displays information about the high-capacity power
supplies:
Router#
show power status power-supply 2
Power-Capacity PS-Fan Output Oper
PS Type Watts A @42V Status Status State
---- ------------------ ------- ------ ------ ------ -----
1 WS-CAC-6000W 2672.04 63.62 OK OK on
2 WS-CAC-9000W-E 2773.68 66.04 OK OK on
Router#
This example shows how to display the total power that is available
from the power supplies:
Router#
show power total
system power total = 27.460A
Router#
This example shows how to display the total power that is budgeted
for powered-on items:
Router#
show power used
system power used = -6.990A
Router#
This command shows how to display the inline power status on the
interfaces:
Router#
show power inline
Interface Admin Oper Power ( mWatt ) Device
-------------------- ----- ---------- --------------- -----------
FastEthernet9/1 auto on 6300 Cisco 6500 IP Phone
FastEthernet9/2 auto on 6300 Cisco 6500 IP Phone
.
.
. <Output truncated>
This command shows how to display the inline power status for a
specific module:
Router
# show power inline mod 7
Interface Admin Oper Power Device Class
(Watts)
---------- ----- ---------- ------- -------------- -----------
Gi7/1 auto on 6.3 Cisco IP Phone 7960 n/a
Gi7/2 static power-deny 0 Ieee PD 3
.
.
. <Output truncated>
Related Commands
Command
Description
powerenable
Turns on power for the modules.
powerredundancy-mode
Sets the power-supply redundancy mode.
show processes
To display information about the active Cisco IOS, Cisco IOS XE, or the Cisco IOS Software Modularity POSIX-style processes, use the
showprocesses command in user EXEC or privileged EXEC mode.
Cisco IOS Software
showprocesses
[ heapcheck | history | process-id | timercheck ]
Cisco IOS Software Modularity Images and Cisco Catalyst 4500e Series Switches Running Cisco IOS XE Software
showprocesses
Syntax Description
heapcheck
(Optional) Displays the scheduler heapcheck configuration.
history
(Optional) For Cisco IOS processes only. Displays the process history in an ordered format.
process-id
(Optional) For Cisco IOS processes only. An integer that specifies the process for which memory and CPU utilization data will be returned.
timercheck
(Optional) For Cisco IOS processes only. Displays the processes configured for a timer check.
Command Modes
User EXEC (>) Privileged EXEC (#)
Command History
Release
Modification
10.0
This command was introduced.
12.2(2)T
This command was modified. Thehistory keyword was added.
12.3(2)T
This command was modified. The
process-id argument was added.
12.2(18)SXF4
This command was modified. The syntax was modified to support Cisco IOS Software Modularity images.
12.3(14)T
This command was modified. The
timercheck keyword was added.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Cisco IOS XE Release 2.1
This command was integrated into Cisco IOS XE Release 2.1.
Cisco IOS XE Release 3.1.0.SG
This command was introduced on the Cisco Catalyst 4500e Series Switches.
15.1(2)S
This command was integrated into Cisco IOS Release 15.1(2)S.
15.2(1)T
The
heapcheck keyword was added.
Usage Guidelines
Cisco IOS Software Modularity
Although no optional keywords or arguments are supported for the base
showprocesses command when a Software Modularity image is running, more details about processes are displayed using the
showprocessescpu,
showprocessesdetailed,
showprocesseskernel,andshowprocessesmemory commands.
Examples
Example output varies between Cisco IOS software images and Cisco IOS Software Modularity software images. The following sections show output examples for each image:
The table below describes the significant fields shown in the display.
Table 17 show processes Field Descriptions
Field
Description
CPU utilization for five seconds
CPU utilization for the last 5 seconds. The second number indicates the percentage of CPU time spent at the interrupt level.
one minute
CPU utilization for the last minute.
five minutes
CPU utilization for the last 5 minutes.
PID
Process ID.
Q
Process queue priority. Possible values: C (critical), H (high), M (medium), and L (low).
Ty
Scheduler test. Possible values:
* (currently running)
E (waiting for an event)
S (ready to run, voluntarily relinquished processor)
rd (ready to run, wakeup conditions have occurred)
we (waiting for an event)
sa (sleeping until an absolute time)
si (sleeping for a time interval)
sp (sleeping for a time interval as an alternate call
st (sleeping until a timer expires)
hg (hung: the process will never execute again)
xx (dead: the process has terminated, but has not yet been deleted)
PC
Current program counter.
Runtime (ms)
CPU time that the process has used (in milliseconds).
Invoked
Number of times that the process has been invoked.
uSecs
Microseconds of CPU time for each process invocation.
Stacks
Low water mark/Total stack space available (in bytes).
TTY
Terminal that controls the process.
Process
Name of the process.
Note
Because platforms have a 4- to 8- millisecond clock resolution, run times are considered reliable only after a large number of invocations or a reasonable, measured run time.
For a list of process descriptions, see http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_tech_note09186a00800a65d0.shtml.
The following is sample output from the
showprocesseshistory command:
The table below describes the significant fields shown in the display.
Table 21 show processes (Software Modularity) Field Descriptions
Field
Description
CPU utilization for five seconds
CPU utilization for the last 5 seconds. The 3% indicates the percentage of CPU time spent at the interrupt level.
one minute
CPU utilization for the last minute.
five minutes
CPU utilization for the last 5 minutes.
PID
Process ID.
TID
Thread ID.
Runtime(ms)
CPU time that the process has used (in milliseconds).
Invoked
Number of times that the process has been invoked.
uSecs
Microseconds of CPU time for each process invocation.
Stacks
Size, in kilobytes, of the memory stack.
Process
Process name.
Related Commands
Command
Description
showprocessescpu
Displays detailed CPU utilization statistics (CPU use per process) when a Software Modularity image is running.
showprocessesdetailed
Displays detailed information about POSIX and Cisco IOS processes when a Software Modularity image is running.
showprocesseskernel
Displays information about System Manager kernel processes when a Software Modularity image is running.
showprocessesmemory
Displays the amount of system memory used per system process.
show processes cpu
To display detailed CPU utilization statistics (CPU use per process) when Cisco IOS, Cisco IOS XE, or Cisco IOS Software Modularity images are running, use the
showprocessescpucommand in user EXEC or privileged EXEC mode.
(Optional) Displays CPU history in a graph format.
table
(Optional) Displays CPU history in a table format.
summary
(Optional) Displays a summary of the CPU history.
sorted
(Optional) Displays CPU utilization sorted by percentage.
1min
(Optional) Sorts CPU utilization based on 1 minute utilization.
5min
(Optional) Sorts CPU utilization based on 5 minutes utilization.
5sec
(Optional) Sorts CPU utilization based on 5 seconds utilization.
detailed
(Optional) Displays more detailed information about Cisco IOS processes (not for POSIX processes).
process-id
(Optional) Process identifier.
process-name
(Optional) Process name.
Command Modes
User EXEC (>) Privileged EXEC (#)
Command History
Release
Modification
12.0
This command was introduced.
12.2(2)T
This command was modified. Thehistory keyword was added.
12.3(8)
This command was enhanced to display Address Resolution Protocol (ARP) output.
12.3(14)T
This command was enhanced to display ARP output.
12.2(18)SXF4
This command was enhanced to support Cisco IOS Software Modularity images.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SB
This command was integrated into Cisco IOS Release 12.2(33)SB.
12.2(33)SCB3
This command was integrated into Cisco IOS Release 12.2(33)SCB3. Support was added for Cisco uBR10012 and uBR7200 routers.
Cisco IOS XE Release 2.1
This command was integrated into Cisco IOS XE Release 2.1.
15.0(1)M
This command was modified. The output was modified to display the CPU time in microseconds that the process has used.
Cisco IOS XE Release 3.1.0.SG
This command was introduced on the Cisco Catalyst 4500e Serfies Switches.
Cisco IOS XE Release 3.9 S
This command was integrated into the Cisco IOS XE Release 3.9 S.
Usage Guidelines
Cisco IOS Software
If you use the optional
history keyword, three graphs are displayed for Cisco IOS images:
CPU utilization for the last 60 seconds
CPU utilization for the last 60 minutes
CPU utilization for the last 72 hours
Maximum usage is measured and recorded every second; average usage is calculated on periods of more than one second. Consistently high CPU utilization over an extended period indicates a problem. Use the
showprocessescpu command to troubleshoot. Also, you can use the output of this command in the Cisco
Output Interpreter tool to display potential issues and fixes. Output Interpreter is available to registered users of Cisco.com who are logged in and have Java Script enabled.
For a list of system processes, go to http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_tech_note09186a00800a65d0.shtml.
Cisco IOS Software Modularity
Cisco IOS Software Modularity images display only one graph that shows the CPU utilization for the last 60 minutes. The horizontal axis shows times (for example, 0, 5, 10, 15 minutes), and the vertical axis shows total percentage of CPU utilization (0 to 100 percent).
When used on a Cisco 4400 Series Integrated Services Router (ISR), the showprocessescpu command allows you to view the CPU utilization statistics on active processes. The output from the showprocessescpu command displays the CPU utilization from the IOS process perspective only and it does not include information for the resources on the entire platform.
Examples
Example output varies between Cisco IOS software images and Cisco IOS Software Modularity software images. The following sections show output examples for each image:
The following is sample output of the one-hour portion of the output. The Y-axis of the graph is the CPU utilization. The X-axis of the graph is the increment within the time period displayed in the graph. This example shows the individual minutes during the previous hour. The most recent measurement is on the left of the X-axis.
The top two rows, read vertically, display the highest percentage of CPU utilization recorded during the time increment. In this example, the CPU utilization for the last minute recorded is 66 percent. The device may have reached 66 percent only once during that minute, or it may have reached 66 percent multiple times. The device records only the peak reached during the time increment and the average over the course of that increment.
The following is sample output from the
showprocessescpu command on a Cisco uBR10012 router:
The table below describes the fields shown in the output.
Table 22 show processes cpu Field Descriptions
Field
Description
CPU utilization for five seconds
CPU utilization for the last 5 seconds. The second number indicates the percent of CPU time spent at the interrupt level.
one minutes
CPU utilization for the last minute.
five minutess
CPU utilization for the last 5 minutes.
PID
Process ID.
Runtime (us)
CPU time that the process has used (in microseconds).
Invoked
Number of times that the process has been invoked.
uSecs
Microseconds of CPU time for each process invocation.
5Sec
CPU utilization by task in the last 5 seconds.
1Min
CPU utilization by task in the last minute.
5Min
CPU utilization by task in the last 5 minutes.
TTY
Terminal that controls the process.
Process
Name of the process.
Note
Because platforms have a 4- to 8-microsecond clock resolution, run times are considered reliable only after several invocations or a reasonable, measured run time.
Examples
The following is sample output from the
showprocessescpu command when a Software Modularity image is running:
The following is partial sample output from the
showprocessescpucommand with the
detailedkeyword:
switch#show proc cpu detailed
Core 0: CPU utilization for five seconds: 0%; one minute: 6%; five minutes: 5%
Core 1: CPU utilization for five seconds: 2%; one minute: 17%; five minutes: 12%
PID T C TID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
(%) (%) (%)
1 L 935 596 156971 0.00 A 0.00 0.00 0 init
2 L 0 79 10405 0.00 A 0.00 0.00 0 kthreadd
3 L 13 2481 5573 0.00 A 0.00 0.00 0 migration/0
4 L 12 808 15237 0.00 A 0.00 0.00 0 ksoftirqd/0
5 L 8 1454 6157 0.00 A 0.00 0.00 0 migration/1
6 L 14 897 16341 0.00 A 0.00 0.00 0 ksoftirqd/1
7 L 31 1471 21661 0.00 A 0.00 0.00 0 events/0
8 L 33 1308 25496 0.00 A 0.00 0.00 0 events/1
9 L 5 637 9070 0.00 A 0.00 0.00 0 khelper
61 L 80 79 102031 0.00 A 0.00 0.00 0 kblockd/0
62 L 90 183 497142 0.00 A 0.00 0.00 0 kblockd/1
75 L 0 21 1238 0.00 A 0.00 0.00 0 khubd
78 L 0 23 652 0.00 A 0.00 0.00 0 kseriod
83 L 7 26 271115 0.00 A 0.00 0.00 0 kmmcd
120 L 0 25 320 0.00 A 0.00 0.00 0 pdflush
121 L 103 195 531687 0.00 A 0.00 0.00 0 pdflush
122 L 0 29 172 0.00 A 0.00 0.00 0 kswapd0
123 L 0 31 161 0.00 A 0.00 0.00 0 aio/0
124 L 0 33 121 0.00 A 0.00 0.00 0 aio/1
291 L 0 35 142 0.00 A 0.00 0.00 0 kpsmoused
--More--
The following is sample output from the
showprocessescpuhistorysummarycommand:
Switch#show processes cpu history summary
History information for system:
222331111111111111111111111111111111111111111111111111111111
100
90
80
70
60
50
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per second (last 60 seconds)
* = maximum CPU% # = average CPU%
333333333334333325333334333334333334333334333334333334333333
100
90
80
70
60
50 * *
40
30 * ** * ** * ** * **
20 # # #*##*#*##* * * *
10 * # ## ##
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
655654555654554554555555555555555555655655555655554655655655555555565555
100
90
80
70
60
50**
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
The following is sample output from the
showprocessescpuhistorydetailedcommand:
Switch#show processes cpu history detailed
History information for core 0:
222331111111111111111111111111111111111111111111111111111111
100
90
80
70
60
50
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per second (last 60 seconds)
* = maximum CPU% # = average CPU%
333333333334333325333334333334333334333334333334333334333333
100
90
80
70
60 *
50
40
30
20 ** * ** * * *
10 * * * * * * ** * * * *
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
655654555654554554555555555555555555655655555655554655655655555555565555
100
90
80
70
60*
50
40
30 *
20
10
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
History information for core 1:
222331111111111111111111111111111111111111111111111111111111
100
90
80
70
60
50
40
30
20
10 *****
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per second (last 60 seconds)
* = maximum CPU% # = average CPU%
333333333334333325333334333334333334333334333334333334333333
100 *
90 *
80
70
60
50
40 ********** * ** ** **
30 * *
20
10* *
0....5....1....1....2....2....3....3....4....4....5....5....
0 5 0 5 0 5 0 5 0 5
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
655654555654554554555555555555555555655655555655554655655655555555565555
100*
90 *
80
70
60
50
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
Switch#show proc cpu history table
CPU utilization for five seconds: 1%/0% at 01:14:44
PID 5Sec Process
10319 6 iosd
CPU utilization for five seconds: 1%/0% at 01:14:49
PID 5Sec Process
10319 6 iosd
CPU utilization for five seconds: 1%/0% at 01:14:54
PID 5Sec Process
10319 6 iosd
CPU utilization for five seconds: 1%/0% at 01:14:59
PID 5Sec Process
10319 6 iosd
Switch#
The table below describes the fields shown in the output.
Table 25 show processes cpu Field Descriptions
Field
Description
Core (#)
Core for which CPU utilization is being generated.
CPU utilization for five seconds
CPU utilization for the last 5 seconds. The second number indicates the percent of CPU time spent at the interrupt level.
one minutes
CPU utilization for the last minute.
five minutess
CPU utilization for the last 5 minutes.
PID
Process ID.
Runtime (us)
CPU time that the process has used (in microseconds).
Invoked
Number of times that the process has been invoked.
uSecs
Microseconds of CPU time for each process invocation.
5Sec
CPU utilization by task in the last 5 seconds.
1Min
CPU utilization by task in the last minute.
5Min
CPU utilization by task in the last 5 minutes.
TTY
Terminal that controls the process.
Process
Name of the process.
Related Commands
Command
Description
showprocesses
Displays information about active processes.
showprocessesmemory
Displays the amount of system memory used per system process.
show processes detailed
To display detailed information about POSIX and Cisco IOS processes when Cisco IOS Software Modularity or Cisco IOS XE images are running, use the
showprocessesdetailedcommand in user EXEC or privileged EXEC mode.
Cisco Catalyst 4500e Series Switches running IOS XE software
showprocessesdetailed [process-id]
Syntax Description
process
(Optional) Shows details about a specific process.
process-id
(Optional) Process identifier.
process-name
(Optional) Process name.
Command Default
If no process ID or process name is specified, detailed information is displayed about all processes.
Command Modes
User EXEC (>) Privileged EXEC (#)
Command History
Release
Modification
12.2(18)SXF4
This command was introduced to support Software Modularity images.
Cisco IOS XE Release 3.1.0.SG
This command was introduced on the Cisco Catalyst 4500e Serfies Switches.
Usage Guidelines
Use the
showprocessesdetailed command to gather detailed information about the number of tasks running, the process state, and other information about a process that is not displayed by the
showprocesses command.
On Cisco IOS XE images,
showprocessdetailed will also show
process,
thread and
task details.
Examples
Example output varies between Cisco IOS software images and Cisco Catalyst 4500e Series Switches running IOS XE software. The following sections show output examples for each image.
Examples
The following is sample output from the
showprocessesdetailedcommand for the process named sysmgr.proc:
The table below describes the significant fields shown in the display.
Table 26 show processes detailed Field Descriptions
Field
Description
Job Id
Job identifier.
PID
Process ID.
Executable name
Process name.
Executable path
Path and filename of the process.
Instance ID
Instance number.
Args
Arguments sent to the process at startup.
Respawn
Ability to respawn process: on or off.
Respawn count
Number of respawns of this process since boot where boot equals one.
Max. spawns per minute
Maximum number of respawns per minute for this process.
Last started
Date and time the process was last started.
Process state
Current state of process.
Core
Core dump options specified for the process.
Max. core
Maximum number of dumps allowed for this process.
Level
Internal number that determines the startup order for the process.
TID
Thread ID.
Stack
Size, in kilobytes, of the memory stack.
pri
Process priority.
state
Current state of process.
Blked
Thread (with given process ID) that is currently blocked by the process.
HR:MM:SS:MSEC
Time (in hours, minutes, seconds, and milliseconds) used by the process.
FLAGS
Process flags (bitmask).
NAME
Process name.
Related Commands
Command
Description
showprocesses
Displays information about active processes.
show processes interrupt mask buffer
To display information in the interrupt mask buffer, use the showprocessesinterruptmaskbuffercommand in privileged EXEC mode.
showprocessesinterruptmaskbuffer
buffer
Displays stack trace and information about the places where interrupts have been masked more than the configured threshold time.
Command Modes
Privileged EXEC
Command History
Release
Modification
12.4(2)T
This command was introduced.
Examples
The following is sample output from the showprocessesinterruptmaskbuffer command. The output displays stack trace and relevant information about the places where interrupts have been masked more than the configured threshold time:
Clears the interrupt masked details for all processes and stack traces which have been dumped into the interrupt mask buffer.
schedulerinterruptmaskprofile
Enables or disables interrupt mask profiling for all processes running on the system.
schedulerinterruptmasksize
Configures the maximum number of entries that can exist in the interrupt mask buffer.
schedulerinterruptmasktime
Configures the maximum amount of time a process can run with interrupts masked.
showprocessesinterruptmaskdetail
Displays interrupt masked details for the specified process or all processes in the system.
show processes interrupt mask detail
To display information about interrupt masking, use the
showprocessesinterruptmaskdetailcommand in privileged EXEC mode.
showprocessesinterruptmaskdetail [pid]
Syntax Description
detail
Displays information about the total amount of time and the number of times interrupts have been masked by all processes.
pid
(Optional) An integer that specifies the process id for which to display the total accumulated time and the number of times interrupts have been masked.
Command Modes
Privileged EXEC
Command History
Release
Modification
12.4(2)T
This command was introduced.
Examples
The following is sample output from the
showprocessesinterruptmaskdetail command. the output displays information about the total amount of time and number of times interrupts have been masked by all processes:
Router# show processes interrupt mask detail
PID Time Spent(us) Count Process Name
2 6388 1791 Load Meter
3 7957 16831 Exec
5 6710 2813 Check heaps
The following is sample output from the show processes interrupt mask detail command with the process ID specified. The output displays the total time (accumulative), number of times interrupts have been masked by a specific process:
Router# show processes interrupt mask detail 2
Process ID : 2
Process Name : Load Meter
Total Interrupt Masked Time : 6586 (us)
Total Interrupt Masked Count : 1845
Related Commands
Command
Description
clearprocessesinterruptmaskdetail
Clears the interrupt masked details for all processes and stack traces which have been dumped into the interrupt mask buffer.
schedulerinterruptmaskprofile
Enables or disables interrupt mask profiling for all processes running on the system.
schedulerinterruptmasksize
Configures the maximum number of entries that can exist in the interrupt mask buffer.
schedulerinterruptmasktime
Configures the maximum amount of time a process can run with interrupts masked.
showprocessesinterruptmaskbuffer
Displays the information stored in the interrupt mask buffer.
show processes memory
To display the amount of memory used by each system process in Cisco IOS, Cisco IOS XE, or Cisco IOS Software Modularity images, use the
showprocessesmemorycommand in privileged EXEC mode.
(Optional) Process ID (PID) of a specific process. When you specify a process ID, only details for the specified process will be shown.
sorted
(Optional) Displays memory data sorted by the Allocated,Getbufs,or Holding column. If the
sorted keyword is used by itself, data is sorted by the Holding column by default.
allocated
(Optional) Displays memory data sorted by the Allocated column.
getbufs
(Optional) Displays memory data sorted by the Getbufs (Get Buffers) column.
holding
(Optional) Displays memory data sorted by the Holding column. This keyword is the default.
Cisco IOS Software Modularity Syntax
detailed
(Optional) Displays detailed information about iosproc processes.
process-name
(Optional) Process name.
:instance-id
(Optional) Instance name of either the Cisco IOS task or POSIX process. The colon is required.
process-id
(Optional) Process identifier.
taskidtask-id
(Optional) Displays detailed memory usage of a specified Cisco IOS task within a process.
alloc-summary
(Optional) Displays summary POSIX process memory usage per allocator.
sorted
(Optional) Displays POSIX process memory usage sorted by start address, size, or the PC that called the process.
start
(Optional) Displays POSIX process memory usage sorted by the start address of the process.
size
(Optional) Displays POSIX process memory usage sorted by the size of the process.
caller
(Optional) Displays POSIX process memory usage sorted by the PC that called the process.
Cisco IOS Software
The memory used by all types of system processes is displayed.
The system memory followed by a one-line summary of memory information about each IOS XE or Software Modularity process is displayed.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
10.0
This command was introduced.
12.0(23)S
The
sorted,
allocated,
getbufs, and
holding keywords were added.
12.2(13)
The
sorted,
allocated,
getbufs, and
holding keywords were added.
12.2(13)S
The
sorted,
allocated,
getbufs, and
holding keywords were added.
12.2(13)T
The
sorted,
allocated,
getbufs, and
holding keywords were added.
12.0(28)S
The output of the header line was updated to support the Memory Thresholding feature.
12.2(22)S
The output of the header line was updated to support the Memory Thresholding feature.
12.3(7)T
The output of the header line was updated to support the Memory Thresholding feature.
12.0(30)S
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the
showprocessesmemorycommand, the
showprocessesmemorysortedcommand, and the
showmemorycommand and its variants).
12.2(28)S
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the
showprocessesmemorycommand, the
showprocessesmemorysortedcommand, and the
showmemorycommandand its variants).
12.3(11)T
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the
showprocessesmemorycommand, the
showprocessesmemorysortedcommand, and the
showmemorycommand and its variants).
12.2(18)SXF4
The syntax was modified to support Cisco IOS Software Modularity images.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Cisco IOS XE Release 3.1.0.SG
This command was introduced on the Cisco Catalyst 4500e Series Switches.
Cisco IOS XE Release 3.3S
This command was introducted on the Cisco ASR 1000 Series Aggregation Services Routers.
Usage Guidelines
The
showprocessesmemory command and the
showprocessesmemorysorted command displays a summary of total, used, and free memory, followed by a list of processes and their memory impact.
If the standard
showprocessesmemoryprocess-idcommand is used, processes are sorted by their PID. If the
showprocessesmemorysorted command is used, the default sorting is by the Holding value.
Output Prior to Releases 12.3(7)T, 12.2(22)S, and 12.0(28)S
The first line (header line) of the
showprocessesmemory[sorted] command listed Total memory, Used memory, and Free memory values.
Output in Releases 12.3(7)T, 12.3(8)T, and 12.2(22)S Through 12.2(27)S2, 12.0(28)S, and 12.0(29)S
In Releases 12.3(7)T, 12.2(22)S, and 12.0(28)S, the Memory Thresholding feature was introduced. This feature affected the header line and the Holding column of the
showprocessesmemory command as described in this section.
The value for Total in the
showprocessesmemory commandand the values listed in the Holding column showed the total (cumulative) value for the processor memory pools and the alternate memory pool* (typically, the I/O memory pool). However, the
showprocessesmemorysorted version of this command, and other commands, such as the
showmemorysummary command, did not include the alternate memory pool in the totals; that is, these commands showed the total value for the Processor memory pool only. This caused an observed mismatch of memory totals between commands.
If you are using these releases, use the output of the
showmemorysummary command to determine the individual amounts of Total and Free memory for the Processor memory pool and the I/O memory pool.
Output in Releases 12.3(11)T, 12.2(28)S, 12.0(30)S, and Later Releases
Beginning in Releases 12.3(11)T, 12.2(28)S, and 12.0(30)S, the summary information (first output lines) for the
showprocessesmemory command is separated by memory pool. For example, there are now individual lines for Total Process Memory, Total I/O Memory, and Total PCI Memory. In these releases or later releases, your Total Process Memory should match the total process memory shown for other commands, such as the
showmemorysummarycommand.
About Alternate Memory Pools
An “alternate memory pool” is a memory pool that can be used as an alternative to allocate memory when the target (main) memory pool has been filled. For example, many platforms have a memory type called “Fast” that is limited to a small size (because the memory media used for Fast memory is expensive). You can prevent memory allocations from failing once the available Fast memory has been used up, by configuring the normal Processor memory as an alternative memory pool for the Fast memory pool.
Cisco IOS XE Software and Software Modularity
Use the
showprocessesmemory command without any arguments and keywords to display the system memory followed by a one-line summary of memory information about each modular Cisco IOS process. Use the
detailed keyword with this command to display detailed memory information about all processes. Other arguments and keywords are used to display Cisco IOS Software Modularity process memory information for a specified process name or process ID.
On Cisco IOS XE images only, the
detailed keyword will also show Cisco IOS task memory details.
Examples
Example output varies between Cisco IOS software releases. To see the appropriate output, choose one of the following sections:
The table below describes the significant fields shown in the display.
Table 27 show processes memory Field Descriptions
Field
Description
Processor Pool Total
Total amount of memory, in kilobytes (KB), held for the Processor memory pool.
Used
Total amount of used memory, in KB, in the Processor memory pool.
Free
Total amount of free memory, in KB, in the Processor memory pool.
PID
Process ID.
TTY
Terminal that controls the process.
Allocated
Bytes of memory allocated by the process.
Freed
Bytes of memory freed by the process, regardless of who originally allocated it.
Holding
Amount of memory, in KB, currently allocated to the process.
Getbufs
Number of times the process has requested a packet buffer.
Retbufs
Number of times the process has relinquished a packet buffer.
Process
Process name.
*Init*
System initialization process.
*Sched*
The scheduler process.
*Dead*
Processes as a group that are now dead.
<value> Total
Total amount of memory, in KB, held by all processes (sum of the “Holding” column).
The following is sample output from the
showprocessesmemory command when the
sorted keyword is used. In this case, the output is sorted by the Holding column, from largest to smallest.
The following is sample output from the
showprocessesmemory command when a process ID (process-id) is specified:
Router# show processes memory 1
Process ID: 1
Process Name: Chunk Manager
Total Memory Held: 8428 bytes
Processor memory holding = 8428 bytes
pc = 0x60790654, size = 6044, count = 1
pc = 0x607A5084, size = 1544, count = 1
pc = 0x6076DBC4, size = 652, count = 1
pc = 0x6076FF18, size = 188, count = 1
I/O memory holding = 0 bytes
Router# show processes memory 2
Process ID: 2
Process Name: Load Meter
Total Memory Held: 3884 bytes
Processor memory holding = 3884 bytes
pc = 0x60790654, size = 3044, count = 1
pc = 0x6076DBC4, size = 652, count = 1
pc = 0x6076FF18, size = 188, count = 1
I/O memory holding = 0 bytes
Examples
The following example shows the output of the
showprocessesmemorycommand before the changes to the summary information were made. Note that the Total in the
showprocessessummary command output indicates total memory for all memory pools; in this example, the
showprocessesmemory total of 35423840 can be obtained by adding the Processor and I/O totals shown in the output of the
showmemorysummarycommand. Note also that the
showprocessesmemorysorted command lists the Total Processor Memory (matches the
showmemorysummary Processor Total), but the
showprocessesmemory command (without the
sorted keyword) lists the total for all memory pools (Processor plus I/O memory).
In a Cisco IOS Software Modularity image IOS, each process maintains its own heap memory, which is taken from the system memory in blocks. The process reuses this memory as required. If all the memory that was requested in a block is no longer in use, then the process can return the memory block to the system.
The following is sample output from the
showprocessesmemorycommand when a Cisco IOS Software Modularity image is running:
The table below describes the significant fields shown in the display.
Table 28 show processes memory (Software Modularity) Field Descriptions
Field
Description
total
Total amount of memory, in KB, on the device.
used
Amount of memory, in KB, used in the system.
free
Amount of free memory, in KB, available in the system.
PID
Process ID.
Text
Amount of memory, in KB, used by the text segment of the specified process.
Data
Amount of memory, in KB, used by the data segment of the specified process.
Stack
Amount of memory, in KB, used by the stack segment of the specified process.
Dynamic
Amount of memory, in KB, used by the dynamic segment of the specified process.
Total
Total amount of memory, in KB, used by the specified process.
Process
Process name.
The following example shows the output of the
showprocessesmemorydetailedcommand wherein the process (ios-base) holds sufficient memory to process a request of the Cisco IOS tasks without having to request more memory from the system. So although the amount of memory of the Cisco IOS tasks increased, the ios-base process does not consume more system memory.
The following is sample output from the
showprocessesmemorycommand with details about the memory of process 12322 and the task with the ID of 1:
Router# show processes memory detailed 12322 taskid 1
System Memory : 262144K total, 113456K used, 148688K free
Process sbin/c7200-p-blob, type IOS, PID = 12322
16568K total, 16K text, 8K data, 64K stack, 16480K dynamic
Memory Summary for TaskID = 1
Holding = 10248
PC Size Count
0x7322FC74 9192 1
0x73236538 640 1
0x73231E8C 256 1
0x74175060 160 1
The table below describes the significant fields shown in the display that are different from the table above.
Table 29 show processes memory detailed process-id taskid Field Descriptions
Field
Description
type
Type of process: POSIX or IOS.
Memory Summary for TaskID
Task ID.
Holding
Amount of memory, in bytes, currently held by the task.
PC
Caller PC of the task.
Size
Amount of memory, in bytes, used by this task.
Count
Number of times that task has been called.
The following is sample output from the
showprocessesmemorycommand with details about the memory of POSIX process ID 234567 with summary process memory usage per allocator: