Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Command Reference, 2.2
S Commands

Table Of Contents

same-security-traffic permit inter-interface

service

set (route map submode)

set ip next-hop (route map submode)

set metric (route map submode)

set metric-type (route map submode)

setup

show

show aaa

show aaa proxy-limit

show aaa-server

show access-group

show access-list

show access-list mode

show activation-key

show admin-context

show alias

show area

show arp

show auth-prompt

show banner

show blocks 

show ca

show capture

show checksum

show chunkstat

show class

show clock

show compatible rfc1583

show configure

show conn

show console-output

show context

show counters

show cpu

show crashdump

show crypto dynamic-map

show crypto engine

show crypto interface

show crypto ipsec

show crypto map

show curpriv

show default-information originate

show dbg

show debug

show dhcpd

show dhcprelay

show disk

show dispatch stats

show dispatch table

show distance

show domain-name

show dynamic-map

show enable

show established

show failover

show file

show filter

show firewall

show fixup

show flashfs

show floodguard

show fragment

show ftp

show gc

show global

show h225

show h245

show h323-ras

show history

show http

show hw

show icmp

show igmp

show ignore lsa mospf

show interface

show ip address

show ip ospf

show ip ospf border-routers

show ip ospf database

show ip ospf flood-list

show ip ospf interface

show ip ospf neighbor

show ip ospf request-list

show ip ospf retransmission-list

show ip ospf summary-address

show ip ospf virtual-links

show ip verify

show isakmp

show isakmp policy

show local-host

show log-adj-changes

show logging

show logging rate-limit

show mac-address-table

show mac-learn

show match

show memory

show mode

show mgcp

show monitor-interface

show mroute

show mtu

show multicast

show name

show nameif

show names

show nat

show network

show nic

show object-group

show pager

show password/passwd

show pdm

show perfmon

show privilege

show processes

show redistribute

show resource allocation

show resource types

show resource usage

show rip

show rpc-server

show route

show route-map

show router

show router-id

show routing

show running-config

show same-security-traffic

show service

show serial

show session

show set

show shun

show snmp-server

show ssh

show startup-config

show static

show summary-address

show sysopt

show tech-support

show terminal

show tcpstat

show telnet

show tftp-server

show timeout

show timers

show uauth

show uptime

show url-block

show url-cache stat

show url-server

show username

show version

show virtual

show vlan

show vpngroup

show who

show xlate

shun

shutdown

snmp-server

ssh

static

summary-address

sysopt


same-security-traffic permit inter-interface

To enable the same-security level interface communication, use the same-security-traffic permit inter-interface command. To disable the same-security interfaces, use the no form of this command.

[no] same-security-traffic permit inter-interface

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: configuration mode

Firewall Mode: transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to enable the same-security interface communication:

fwsm/context_name(config)# same-security-traffic permit inter-interface

Related Commands

clear same-security-traffic

service

To enable system services, use the service command. To disable system services, use the no form of this command.

[no] service {resetinbound | resetoutside}

Syntax Description

resetinbound

Sends a reset to a denied inbound TCP packet.

resetoutside

Sends a reset to a denied TCP packet to the outside interface.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The service command works with all inbound TCP connections to static interfaces whose access lists or uauth (user authorization) do not allow inbound connections. One use is for resetting identity request (IDENT) connections. If an inbound TCP connection is attempted and denied, you can use the service resetinbound command to return an RST (reset flag in the TCP header) to the source. Without the keyword, the FWSM drops the packet without returning an RST.

The FWSM sends a TCP RST to the host connecting inbound and stops the incoming IDENT process so that outbound e-mail can be transmitted without having to wait for IDENT to time out. The FWSM sends a syslog message stating that the incoming connection was denied. Without entering the service resetinbound command, the FWSM drops packets that are denied and generates a syslog message stating that the SYN was denied. However, outside hosts keep retransmitting the SYN until the IDENT times out.

When an IDENT connection times out, the connections slow down. Perform a trace to determine that IDENT is causing the delay and then enter the service command.

Use the service resetinbound command to handle an IDENT connection through the FWSM. These methods for handling IDENT connections are ranked from most secure to the least secure:

1. Use the service resetinbound command.

2. Use the established command with the permitto tcp 113 keyword.

3. Enter the static and access-list commands to open TCP port 113.

When using the aaa command, if the first attempt at authorization fails and a second attempt causes a timeout, use the service resetinbound command to reset the client that failed the authorization so that it will not retransmit any connections. An example authorization timeout message in Telnet is as follows:

Unable to connect to remote host: Connection timed out

If you use the resetoutside command, the FWSM actively resets denied TCP packets that terminate at the FWSMs least-secure interface. By default, these packets are silently discarded. We recommend that you use the resetoutside keyword with dynamic or static interface Port Address Translation (PAT). The static interface PAT is available with FWSM version 6.0 and higher. This keyword allows the FWSM to terminate the IDENT from an external SMTP or FTP server. Actively resetting these connections avoids the 30-second timeout delay.

To remove the service commands from the configuration, use the clear service command.

Examples

This example shows how to enable system services:

fwsm/context_name(config)# service resetinbound

Related Commands

clear service
show service

set (route map submode)

To specify the values in the destination routing protocol for a route map, use the set command in the route-map submode. To delete an entry, use the no form of this command.

[no] set metric [+ | -] metric_value metric-type {type-1 | type-2 | internal | external} ip next-hop ip-address [ip-address]

Syntax Description

metric

Specifies metric values.

+ or -

(Optional) Specifies positive or negative metric values.

metric_value

Metric value; valid values are from 0 to 2147483647.

metric-type

Specifies the type of OSPF metric routes.

type-1

Specifies the type of OSPF metric routes that are external to a specified autonomous system.

type-2

Specifies the type of OSPF metric routes that are external to a specified autonomous system.

internal

Specifies routes that are internal to a specified autonomous system.

external

Specifies the OSPF metric routes that are external to a specified autonomous system.

ip next-hop

Specifies where to send packets that pass a match clause of a route map.

ip-address

Specifies the IP address of the next hop to which to output packets.

ip-address

(Optional) Specifies the IP address of the secondary next hop.


Defaults

Default metric value; valid values are from -2147483647 to 2147483647.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The ip_address must be the address of an adjacent router.

Examples

This example shows how to send packets passed by a match clause of a route map:

fwsm(config-route-map)# set ip next-hop 123.24.30.10

Related Commands

match (route map submode)
route-map
set metric (route map submode)
set metric-type (route map submode)
show route-map
show set

set ip next-hop (route map submode)

To specify where to send packets that pass a match clause of a route map, use the set ip next-hop subcommand. To delete an entry, use the no form of this command.

set ip next-hop ip-address [ip-address]

no set ip next-hop ip-address

Syntax Description

ip-address

Specifies the IP address of the next hop to which to output packets.

ip-address

(Optional) Specifies the IP address of the secondary next hop.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The ip_address must be the address of an adjacent router.

Examples

This example shows how to send packets passed by a match clause of a route map:

fwsm/context_name(config)# set ip next-hop 123.24.30.10

Related Commands

match (route map submode)
route-map
set metric (route map submode)
set metric-type (route map submode)
show route-map
show set

set metric (route map submode)

To set the metric value for a routing protocol, use the set metric subcommand. To return to the default metric value, use the no form of this command.

set metric [+ | -] metric_value

[no] set metric value

Syntax Description

+ or -

Specifies positive or negative values.

metric_value

Metric value; valid values are from 0 to 2147483647.

value

Default metric value; valid values are from -2147483647 to 2147483647.


Defaults

-2147483647 to 2147483647.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The no set metric value subcommand allows you to return to the default metric value. In this context, the value is an integer from -2147483647 to 2147483647.

Examples

This example shows how to configure a route map for OSPF routing:

fwsm(config)# route-map maptag1 permit 8
fwsm(config-route-map)# set metric 5
fwsm(config-route-map)# match metric 5
fwsm(config-route-map)# set metric-type type-2
fwsm(config-route-map)# show route-map
route-map maptag1 permit 8
  set metric 5
  set metric-type type-2
  match metric 5
fwsm(config-route-map)# exit
fwsm(config)# 

Related Commands

match (route map submode)
route-map
set ip next-hop (route map submode)
set metric-type (route map submode)
show route-map
show set

set metric-type (route map submode)

To specify the type of OSPF metric routes, use the set metric-type subcommand. To return to the default setting, use the no form of this command.

set metric-type {type-1 | type-2 | internal | external}

no set metric-type

Syntax Description

type-1

Specifies the type of OSPF metric routes that are external to a specified autonomous system.

type-2

Specifies the type of OSPF metric routes that are external to a specified autonomous system.

internal

Specifies the routes that are internal to a specified autonomous system.

external

Specifies the OSPF metric routes that are external to a specified autonomous system.


Defaults

type-2

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example show how to configure a route map for OSPF routing:

fwsm(config)# route-map maptag1 permit 8
fwsm(config-route-map)# set metric 5
fwsm(config-route-map)# match metric 5
fwsm(config-route-map)# set metric-type type-2
fwsm(config-route-map)# show route-map
route-map maptag1 permit 8
  set metric 5
  set metric-type type-2
  match metric 5
fwsm(config-route-map)# exit
fwsm(config)# 

Related Commands

route-map
set ip next-hop (route map submode)
set metric (route map submode)
set metric-type (route map submode)
show route-map
show set

setup

To preconfigure the FWSM through interactive prompts, use the setup command.

setup

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The FWSM requires some preconfiguration before the PDM can connect to it. The setup dialog automatically appears at boot time if there is no configuration in the Flash partition. Once you enter the setup command, you are asked for the setup information in Table 2-13.

Table 2-13 FWSM Setup Information 

Prompt
Description
Enable password:

Specify an enable password for this FWSM. (The password must have at least three characters.)

Inside IP address:

Network interface IP address of the FWSM.

Inside network mask:

Network mask that applies to the inside IP address must be a valid mask such as 255.0.0.0, 255.255.0.0, or 255.255.x.x. Use 0.0.0.0 to specify a default route. The 0.0.0.0 netmask can be abbreviated as 0.

Host name:

Host name that you want to display in the FWSM command line prompt.

Domain name:

DNS domain name of the network on which the FWSM runs.

IP address of host 
running Device 
Manager:

IP address on which the PDM connects to the FWSM.

Use this configuration 
and write to flash?

Stores the new configuration to the Flash partition. If the answer is yes, the inside interface is enabled and the requested configuration is written to the Flash partition. If the user answers anything else, the setup dialog repeats the values that are already entered as the defaults for the questions.


The host and domain names are used to generate the default certificate for the Secure Socket Layer (SSL) connection. The interface type is determined by the hardware.

Examples

This example shows how to complete the setup command prompts:

fwsm(config)# setup
Pre-configure FWSM Firewall now through interactive prompts [yes]? y 
Enable Password [<use current password>]: ciscofwsm 
Inside IP address: 192.168.1.1 
Inside network mask: 255.255.255.0 
Host name: accounting_fwsm 
Domain name: example.com 
IP address of host running FWSM Device Manager: 192.168.1.2 
 
The following configuration will be used:  
Enable Password: ciscofwsm 
Clock (UTC): 22:47:37 Sep 12 2001
Inside IP address: ...192.168.1.1 
Inside network mask: ...255.255.255.0 
Host name: ...accounting_fwsm 
Domain name: ...example.com 
IP address of host running Device Manager: ...192.168.1.2 
 
Use this configuration and write to flash? y

Related Commands

pdm

show

To display the information about the commands, use the show command.

show command_keywords [|{include | exclude | begin | grep [-v]} regexp]

show   ?

Syntax Description

command_keywords

Argument or list of arguments that specifies the information to display.

|

UNIX pipe symbol, "|".

include

(Optional) Includes all output lines that match the specified regular expression.

exclude

(Optional) Excludes all output lines that match the specified regular expression.

begin

(Optional) Displays all output lines starting from the line that matches the specified regular expression.

grep

(Optional) Displays all output lines that match the specified regular expression. grep is equivalent to include, and grep -v is equivalent to exclude.

-v

(Optional) Specifies verbose mode.

regexp

(Optional) Cisco IOS-style regular expression.


Defaults

See each command for the default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show command_keywords [|{include | exclude | begin | grep} regexp] command runs the show command keyword specified. Only the first "|" is a pipe character in this syntax. This character represents piping output to the filter. When "|" is present, a filtering keyword and a regular expression must also be present.

The CLI syntax and semantics of the show output filtering options are the same as in Cisco IOS software and are available through the console, Telnet, or SSH sessions.

Most commands have a show command form where the command name is used as a show keyword. For example, the global command has an associated show global command.

The show   ? command displays a list of all commands that are available on the FWSM.

Do not enclose the regexp argument in quotes or double quotes. Additionally, trailing white spaces (between keywords) are taken as part of the regular expression.

Examples

This example shows how to use a show command output filter keyword, where the "|" is the UNIX pipe symbol:

fwsm(config)# show config | grep access-list
access-list 101 permit tcp any host 10.1.1.3 eq www 
access-list 101 permit tcp any host 10.1.1.3 eq smtp 

This example shows sample output from the show ? command:

fwsm(config)# show ?

At the end of show <command>, use the pipe character '|' followed by:
begin|include|exclude|grep [-v] <regular_exp>, to filter show output.

aaa             Enable, disable, or view TACACS+, RADIUS or LOCAL
                user authentication, authorization and accounting
aaa-server      Define AAA Server group
access-group    Bind an access-list to an interface to filter inbound traffic
access-list     Add an access list
activation-key  Modify activation-key.
age             This command is deprecated. See ipsec, isakmp, map, ca commands
alias           Administer overlapping addresses with dual NAT.
apply           Apply outbound lists to source or destination IP addresses
arp             Change or view arp table, set arp timeout value and view status
auth-prompt     Customize authentication challenge, reject or acceptance prompt
auto-update     Configure auto update support
banner          Configure login/session banners
blocks          Show system buffer utilization
ca              CEP (Certificate Enrollment Protocol)
                Create and enroll RSA key pairs into a PKI (Public Key Infrastr.
capture         Capture inbound and outbound packets on one or more interfaces
checksum        View configuration information cryptochecksum
chunkstat       Display chunk stats
clock           Show and set the date and time of FWSM
configure       Configure from terminal, floppy, memory, network, or 
                factory-default.  The configuration will be merged with the 
                active configuration except for factory-default in which case
                the active configuration is cleared first.
conn            Display connection information
console         Set idle timeout for the serial console of the FWSM
cpu             Display cpu usage
Crashinfo       Read, write and configure crash write to flash. 
crypto          Configure IPsec, IKE, and CA
ctiqbe          Show the current data stored for each CTIQBE session.
curpriv         Display current privilege level
debug           Debug packets or ICMP tracings through the FWSM Firewall.
dhcpd           Configure DHCP Server
dhcprelay       Configure DHCP relay agent
domain-name     Change domain name
dynamic-map     Specify a dynamic crypto map template
eeprom          show or reprogram the 525 onboard i82559 devices
enable          Configure enable passwords
established     Allow inbound connections based on established connections
failover        Enable/disable FWSM failover feature to a standby FWSM
filter          Enable, disable, or view URL, FTP, HTTPS, Java, and ActiveX filg
fips-mode       Enable or disable FIPS mode
fixup           Add or delete FWSM service and feature defaults
flashfs         Show, destroy, or preserve filesystem information
fragment        Configure the IP fragment database
global          Specify, delete or view global address pools,
                or designate a PAT(Port Address Translated) address
h225            Show the current h225 data stored for each connection.
h245            List the h245 connections.
h323-ras        Show the current h323 ras data stored for each connection.
history         Display the session command history
http            Configure HTTP server
icmp            Configure access for ICMP traffic that terminates at an interfae
interface       Set network interface paremeters and configure VLANs
igmp            Clear or display IGMP groups
ip              Set the ip address and mask for an interface
                Define a local address pool
                Configure Unicast RPF on an interface
                Configure the Intrusion Detection System
ipsec           Configure IPSec policy
isakmp          Configure ISAKMP policy
local-host      Display or clear the local host network information
logging         Enable logging facility
mac-list        Add a list of mac addresses using first match search
map             Configure IPsec crypto map
memory          System memory utilization
mgcp            Configure the Media Gateway Control Protocol fixup
mroute          Configure a multicast route
mtu             Specify MTU(Maximum Transmission Unit) for an interface
multicast       Configure multicast on an interface
name            Associate a name with an IP address
nameif          Assign a name to an interface
names           Enable, disable or display IP address to name conversion 
nat             Associate a network with a pool of global IP addresses
ntp             Configure Network Time Protocol
object-group    Create an object group for use in 'access-list', etc
ospf            Show OSPF information or clear ospf items.
outbound        Create an outbound access list
pager           Control page length for pagination
passwd          Change Telnet console access password
pdm             Configure FWSMDevice Manager
prefix-list     Configure a prefix-list
privilege       Configure/Display privilege levels for commands
processes       Display processes
rip             Broadcast default route or passive RIP
route           Enter a static route for an interface
route-map       Create a route-map.
router          Create/configure OSPF routing process
routing         Configure interface specific unicast routing parameters.
running-config  Display the current running configuration
service         Enable system services
session         Access an internal AccessPro router console
shun            Manages the filtering of packets from undesired hosts
sip             Show the current data stored for each SIP session.
skinny          Show the current data stored for each Skinny session.
snmp-server     Provide SNMP and event information
ssh             Add SSH access to FWSM console, set idle timeout, display
                list of active SSH sessions & terminate a SSH session
startup-config  Display the startup configuration
static          Configure one-to-one address translation rule
tcpstat         Display status of tcp stack and tcp connections
tech-support    Tech support
telnet          Add telnet access to FWSM console and set idle timeout
terminal        Set terminal line parameters
tftp-server     Specify default TFTP server address and directory
timeout         Set the maximum idle times
traffic         Counters for traffic statistics
uauth           Display or clear current user authorization information
url-cache       Enable URL caching
url-block       Enable URL pending block buffer and long URL support
url-server      Specify a URL filter server
username        Configure user authentication local database
version         Display FWSM system software version
virtual         Set address for authentication virtual servers
vpdn            Configure VPDN (PPTP, L2TP, PPPoE) Policy
vpnclient       Configure Easy VPN Remote
vpngroup        Configure group settings for Cisco VPN Clients and
                Cisco Easy VPN Remote products
who             Show active administration sessions on FWSM
xlate           Display current translation and connection slot information

show aaa

To display the local, TACACS+, or RADIUS user accounting, use the show aaa command.

show aaa

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.

2.2(1)

This command was modified to support a second LOCAL method for AAA configurations.


Examples

This example shows how to display local, TACACS+, or RADIUS user accounting:

fwsm/context_name(config)# show aaa

Related Commands

aaa accounting match
aaa authentication
aaa authorization
auth-prompt
password/passwd
service
ssh
telnet
virtual

show aaa proxy-limit

To display the number of concurrent proxy connections that are allowed per user, use the show aaa proxy-limit command.

show aaa proxy-limit

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show aaa proxy-limit command allows you to display the number of outstanding authentication requests that are allowed or indicates that the proxy limit is disabled if you disabled it.

Examples

This example shows how to display the number of concurrent proxy connections that are allowed per server:

fwsm/context_name(config)# show aaa proxy-limit

Related Commands

aaa accounting match
aaa authentication
aaa authorization
auth-prompt
password/passwd
service
ssh
telnet
virtual

show aaa-server

To display the AAA server configuration information, use the show aaa-server command.

show aaa-server

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.

2.2(1)

This command was modified to support a second LOCAL method for AAA configurations.


Examples

This example shows how to display the AAA server configuration information:

fwsm/context_name(config)# show aaa-server

Related Commands

aaa accounting match
aaa authentication
aaa authorization
auth-prompt
password/passwd
service
ssh
telnet
virtual

show access-group

To display the context group members, use the show access-group command.

show access-group [access-list]

Syntax Description

access-list

(Optional) Access list id.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the context group members:

fwsm/context_name(config)# show access-group
access-group 100 in interface outside

Related Commands

access-group

show access-list

To display the access list entries by number, use the show access-list command.

show access-list id

Syntax Description

id

Identifies the access list.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how the FWSM numbers the access list entries (ACEs) and remarks are inserted. The remarks are not assigned a line number.

fwsm(config)# show access-list ac
access-list ac; 2 elements
access-list ac line 1 permit ip any any (hitcnt=0)
access-list ac line 2 permit tcp any any (hitcnt=0)

Related Commands

access-list extended
clear access-list
show access-list mode

show access-list mode

To display the compilation mode for the system, use the show access-list mode command.

show access-list mode

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how display the access list compilation mode for the FWSM:

fwsm(config)# show access-list mode
access-list mode manual-commit

Related Commands

access-list extended
access-list mode
clear access-list
show access-list

show activation-key

To display the commands in the configuration for features that are enabled by your activation key, including the number of contexts allowed, use the show activation-key command.

show activation-key

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show activation-key command output indicates the status of the activation key as follows:

If the activation key in the FWSM Flash partition is the same as the activation key running on the FWSM, then the show activation-key output reads as follows:

The flash activation key is the SAME as the running key.

If the activation key in the FWSM Flash partition is different from the activation key running on the FWSM, then the show activation-key output reads as follows:

The flash activation key is DIFFERENT from the running key.
The flash activation key takes effect after the next reload.

If the FWSM Flash partition software image version is not the same as the running FWSM software image, then the show activation-key output reads as follows:

The flash image is DIFFERENT from the running image.
The two images must be the same in order to examine the flash activation key.

If you downgrade your activation key, the display shows that the running key (the old key) differs from the key that is stored in the Flash (the new key). When you restart, the FWSM uses the new key.

If you upgrade your key to enable extra features, the new key starts running immediately without a restart.

Examples

This example shows how to display the commands in the configuration for features that are enabled by your activation key:

fwsm(config)# show activation-key
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000
Licensed Features:
Failover:           Enabled
VPN-DES:            Enabled
VPN-3DES:           Enabled
Maximum Interfaces: 100 (per security context)
Cut-through Proxy:  Enabled
Guards:             Enabled
URL-filtering:      Enabled
Throughput:         Unlimited
ISAKMP peers:       Unlimited
Security Contexts:  2
This machine has an Unrestricted (UR) license.
The flash activation key is the SAME as the running key.
fwsm(config)# 

Related Commands

activation-key
clear

show admin-context

To display which context is designated as the administration context, use the show admin-context command.

show admin-context

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the designated administration context:

fwsm(config)# show admin-context
Admin: admin disk:/admin.cfg

Related Commands

admin-context

show alias

To display the overlapping addresses with dual NAT commands in the configuration, use the show alias command.

show alias

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display alias information:

fwsm/context_name(config)# show alias

Related Commands

alias

show area

To display the area commands in the configuration, use the show area command.

show area

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display area command configuration information:

fwsm/context_name(config)# show area

Related Commands

area

show arp

To list the entries in the ARP table, use the show arp command.

show arp [timeout | statistics]

Syntax Description

timeout

(Optional) Specifies ARP timeout information.

statistics

(Optional) Specifies ARP statistics.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to list the entries in the ARP table:

fwsm(config)# show arp statistics
        Dropped blocks in ARP: 6
        Maximum Queued blocks: 3
        Queued blocks: 1
        Interface collision ARPs Received: 5
        ARP-defense Gratuitous ARPS sent: 4
        Total ARP retries: 15
        Unresolved hosts: 1
        Maximum Unresolved hosts: 2

Related Commands

arp
arp-inspection

show auth-prompt

To display the current AAA challenge text, use the show auth-prompt command.

show auth-prompt

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the AAA challenge text:

fwsm/context_name(config)# show auth-prompt

Related Commands

auth-prompt

show banner

To display the specified banner and all the lines that are configured for it, use the show banner command.

show banner [{exec | login | motd}]

Syntax Description

exec

(Optional) Displays the banner before the enable prompt.

login

(Optional) Displays the banner seen before the password login prompt when accessing the FWSM using Telnet.

motd

(Optional) Displays the message-of-the-day banner.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show banner {motd | exec | login} command allows you to display the specified banner keyword and all the lines that are configured for it. If you do not specify a banner keyword, then all the banners are displayed.

Examples

This example shows how to display the message-of-the-day (motd) banner:

fwsm/context_name(config)# show banner motd

Related Commands

banner
clear banner

show blocks 

To display the blocks in the preallocated system buffer, use the show blocks command.

show blocks

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show blocks command allows you to determine whether the FWSM is being overloaded similarly to the show cpu command. The show blocks command allows you to display preallocated system buffer utilization.

In the show blocks command listing, the SIZE column displays the block type. The MAX column is the maximum number of allocated blocks. The LOW column is the fewest blocks that are available since the last reboot. The CNT column is the current number of available blocks. A zero in the LOW column indicates a previous event where memory is full. A zero in the CNT column means memory is full now. A full memory condition is not a problem as long as traffic is moving through the FWSM.

You can use the show conn command to see if traffic is moving. If traffic is not moving and the memory is full, there may be a problem.

You can also display the information from the show blocks command using SNMP.

Packet-Processing Blocks (1550 and 16384 Bytes)

When a packet enters an FWSM's interface, it is placed on the input interface queue, passed up to the operating system, and placed in a block. For Ethernet packets, the 1550-byte blocks are used; if the packet comes in on a 66-MHz Gigabit Ethernet card, the 16384-byte blocks are used. The FWSM determines whether the packet should be permitted or denied based on the adaptive security algorithm (ASA) and processes the packet through to the output queue on the outbound interface. If the FWSM is having trouble keeping up with the traffic load, the number of available 1550-byte blocks (or 16384-byte blocks for 66-MHz GE) will hover close to 0 (as shown in the CNT column of the command output). When the CNT column is zero, the FWSM attempts to allocate more blocks, up to a maximum of 8192. If no more blocks are available, the FWSM drops the packet.

Failover and Syslog Blocks (256 Bytes)

The 256-byte blocks are mainly used for stateful failover messages. The active FWSM generates and sends packets to the standby FWSM to update the translation and connection table. In bursty traffic, where high rates of connections are created or torn down, the number of available 256-byte blocks may drop to 0. This situation indicates that one or more connections were not updated to the standby FWSM. The stateful failover protocol will catch the missing xlate or connection the next time. If the CNT column for 256-byte blocks stays at or near 0 for extended periods of time, then the FWSM is having trouble keeping the translation and connection tables synchronized because of the number of connections per second that the FWSM is processing. If this situation happens consistently, you might upgrade the FWSM to a faster model.

Syslog messages sent out from the FWSM also use the 256-byte blocks, but they are generally not released in such quantity to cause a depletion of the 256-byte block pool. If the CNT column shows that the number of 256-byte blocks is near 0, ensure that you are not logging at Debugging (level 7) to the syslog server. This is indicated by the logging trap line in the FWSM configuration. We recommend that you set logging at Notification (level 5) or lower, unless you require additional information for debugging purposes.

Table 2-14 describes the columns in the show blocks display.

Table 2-14 Display Column Description

Column
Description

SIZE

Size, in bytes, of the block pool.

MAX

Maximum number of blocks available for the specified byte block pool. The maximum number of blocks are carved out of memory at bootup. Typically, the maximum number of blocks does not change. The exception is for the 256- and 1550-byte blocks, where the FWSM can dynamically create more when needed, up to a maximum of 8192.

LOW

Low-water mark. This number indicates the lowest number of this size blocks available since the FWSM was powered up, or since the last clearing of the blocks (with the clear blocks command).

CNT

Current number of blocks available for that specific size block pool.


Table 2-15 describes the rows in the show blocks display.

Table 2-15 Display Row Description

Size
Description

4

Duplicates existing blocks in DNS, Internet Security Association and Key Management Protocol (ISAKMP), URL filtering, uauth, TFTP, and TCP modules.

80

Used in TCP intercept to generate acknowledgment (ACK) packets and for failover hello messages.

256

Used for stateful failover updates, syslogging, and other TCP functions.

1550

Used to store Ethernet packets for processing through the FWSM.

16384

Only used for the 64-bit, 66-MHz Gigabit Ethernet cards (i82543).

2048

Control or guided frames used by the network processors (NP) for control updates.


Examples

This example show how to display preallocated system buffer memory blocks:

fwsm(config)# show blocks
            SIZE    MAX    LOW    CNT 
     4   1600   1600   1600
    80    100     97     97
   256     80     79     79
            1550    788    402    404
 65536      8      8      8
  2048   1000    994   1000

show ca

To display the certificate authorization information, use the show ca command.

show ca {certificate | crl | configure | identity | mypubkey rsa | subject-name | verifycertdn}

Syntax Description

certificate

Displays the current status of requested certificates and relevant information of received certificates, such as CA and RA certificates.

crl

Displays whether there is a CRL in RAM, and where and when the CRL is downloaded.

configure

Displays the current communication parameter settings that are stored in the FWSM RAM.

identity

Displays the current CA settings that are stored in RAM.

mypubkey rsa

Displays the FWSM's public keys in a DER/BER encoded PKCS#1 representation.

subject-name

Displays the subject Distinguished Name (DN).

verifycertdn

Displays the certificate's Distinguished Name (DN).


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the current status of requested certificates. The CA certificate stems from a Microsoft CA server that was previously generated for this FWSM.

fwsm(config)# show ca certificate

RA Signature Certificate
  Status:Available
  Certificate Serial Number:6106e08a000000000005
  Key Usage:Signature
    CN = SCEP
     OU = VSEC
     O = Cisco
     L = San Jose
     ST = CA
     C = US
     EA =<16> username@example.com
  Validity Date:
    start date:17:17:09 Jul 11 2000

    end   date:17:27:09 Jul 11 2001

Certificate
  Status:Available
  Certificate Serial Number:1f80655400000000000a
  Key Usage:General Purpose
  Subject Name
    Name:firewall.example.com
  Validity Date:
    start date:20:06:23 Jul 17 2000

    end   date:20:16:23 Jul 17 2001

CA Certificate
  Status:Available
  Certificate Serial Number:25b81813efe58fb34726eec44ae82365
  Key Usage:Signature
    CN = MSCA
     OU = Cisco
     O = VSEC
     L = San Jose
     ST = CA
     C = US
     EA =<16> username@example.com
  Validity Date:
    start date:17:07:34 Jul 11 2000
RA KeyEncipher Certificate
  Status:Available
  Certificate Serial Number:6106e24c000000000006
  Key Usage:Encryption
    CN = SCEP
     OU = VSEC
     O = Cisco
     L = San Jose
     ST = CA
     C = US
     EA =<16> username@example.com
  Validity Date:
    start date:17:17:10 Jul 11 2000

    end   date:17:27:10 Jul 11 01 

Table 2-16 describes strings within the show ca certificate command sample output.

Table 2-16 Command Sample Output 

Sample Output String
Description

CN

Common name

C

Country

EA

E-mail address

L

Locality

ST

State or province

O

Organization name

OU

Organizational module name

DC

Domain component


This example shows how to display certificate information. See Table 2-16 for descriptions of the strings within the following sample output.

fwsm(config)# show ca crl

CRL:
    CRL Issuer Name:
        CN = MSCA, OU = Cisco, O = VSEC, L = San Jose, ST = CA, C = US, EA
=<16> username@example.com
    LastUpdate:17:07:40 Jul 11 2000

    NextUpdate:05:27:40 Jul 19 2000

This example shows how to display information about the RSA keys. Special-usage RSA keys were previously generated for this FWSM using the ca generate rsa command.

fwsm(config)# show ca mypubkey rsa

% Key pair was generated at: 15:34:55 Aug 05 1999

Key name: firewall.example.com
 Usage: Signature Key
 Key Data:
            305c300d 06092a86 4886f70d 01010105 00034b00 30480241 00c31f4a ad32f60d
            6e7ed9a2 32883ca9 319a4b30 e7470888 87732e83 c909fb17 fb5cae70 3de738cf
            6e2fd12c 5b3ffa98 8c5adc59 1ec84d78 90bdb53f 2218cfe7 3f020301 0001
% Key pair was generated at: 15:34:55 Aug 05 1999

Key name: firewall.example.com
 Usage: Encryption Key
 Key Data:
            305c300d 06092a86 4886f70d 01010105 00034b00 30480241 00d8a6ac cc64e57a
            48dfb2c1 234661c7 76380bd5 72ae62f7 1706bdab 0eedd0b5 2e5feef0 76319d98
            908f50b4 85a291de 247b6711 59b30026 453bfa3c 45234991 5d020301 0001

This example shows how display a certificate with a CRL string. See Table 2-16 for descriptions of the strings within the following sample output.

fwsm(config)# show ca crl

CRL:
    CRL Issuer Name:
        CN = MSCA, OU = Cisco, O = VSEC, L = San Jose, ST = CA, C = US, EA
=<16> username@example.com
    LastUpdate:17:07:40 Jul 11 2000

    NextUpdate:05:27:40 Jul 19 2000

Related Commands

ca authenticate

show capture

To display the capture configuration when no options are specified, use the show capture command.

show capture [capture_name] [access-list access_list_name] [count number] [detail] [dump]

Syntax Description

capture_name

(Optional) Name of the packet capture.

access-list access_list_name

(Optional) Displays information for packets that are based on IP or higher fields for the specific access list identification.

count number

(Optional) Displays the packet count.

detail

(Optional) Displays additional protocol information for each packet.

dump

(Optional) Displays a hexadecimal dump of the packets that are transported over the data link transport.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

If you specify the capture_name, then the capture buffer contents for that capture are displayed.

The dump keyword does not display MAC information in the hexadecimal dump.

The decoded output of the packets depend on the protocol of the packet. In Table 2-17, the bracketed output is displayed when you specify the detail keyword.

Table 2-17 Packet Capture Output Formats 

Packet Type
Capture Output Format

802.1Q

HH:MM:SS.ms [ether-hdr] VLAN-info encap-ether-packet

ARP

HH:MM:SS.ms [ether-hdr] arp-type arp-info

IP/ICMP

HH:MM:SS.ms [ether-hdr] ip-source > ip-destination: icmp: icmp-type icmp-code [checksum-failure]

IP/UDP

HH:MM:SS.ms [ether-hdr] src-addr.src-port dest-addr.dst-port: [checksum-info] udp payload-len

IP/TCP

HH:MM:SS.ms [ether-hdr] src-addr.src-port dest-addr.dst-port: tcp-flags [header-check] [checksum-info] sequence-number ack-number tcp-window urgent-info tcp-options

IP/Other

HH:MM:SS.ms [ether-hdr] src-addr dest-addr: ip-protocol ip-length

Other

HH:MM:SS.ms ether-hdr: hex-dump


Examples

This example shows how to display the capture configuration:

fwsm(config)# show capture
capture arp ethernet-type arp interface outside
capture http access-list http packet-length 74 interface inside

This example shows how to display the packets that are captured by an ARP capture:

fwsm(config)# show capture arp
2 packets captured
19:12:23.478429 arp who-has 171.69.38.89 tell 171.69.38.10
19:12:26.784294 arp who-has 171.69.38.89 tell 171.69.38.10
2 packets shown

Related Commands

capture
clear capture

show checksum

To display the configuration checksum, use the show checksum command.

show checksum

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: Unprivileged

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show checksum command allows you to display four groups of hexadecimal numbers that act as a digital summary of the configuration contents. This same information is stored with the configuration when you store the configuration in the Flash partition. By using the show config command, viewing the checksum at the end of the configuration listing, and using the show checksum command, you can compare the numbers to see if the configuration has changed. The FWSM tests the checksum to determine if a configuration has not been corrupted.

If a dot (".") appears before the checksum in the show config or show checksum command output, the output indicates a normal configuration load or write mode indicator (when loading from or writing to the FWSM Flash partition). The "." shows that the FWSM is preoccupied with the operation but is not "hung up." This message is similar to a "system processing, please wait" message.

Examples

This example shows how to display the configuration or the checksum:

fwsm(config)# show checksum
Cryptochecksum: 1a2833c0 129ac70b 1a88df85 650dbb81

show chunkstat

To display the chunk statistics, use the show chunkstat command.

show chunkstat

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the chunk statistics:

fwsm(config)# show chunkstat
Chunk statistics: created 1, destroyed: 0,sibs created: 0, sibs trimmed: 0
Dump of chunk at 0cc835e4, name "Radix trie mask chunks", data start @ 0cc845dc,
 end @ 0cc8845c
 flink: 013ef300, blink: 013ef300
 next: 00000000, next_sibling: 00000000, prev_sibling: 00000000
 flags 00000001
 maximum chunk elt's: 1000, elt size: 16, index first free 997
 # chunks in use: 3, HWM of total used: 3, alignment: 0

Chunk statistics: created 1, destroyed: 0,sibs created: 0, sibs trimmed: 0
Dump of chunk at 0cbd77ec, name "IP subnet NDB entry", data start @ 0cbd8014, en
d @ 0cc66954
 flink: 00000000, blink: 00ed81c8
 next: 00000000, next_sibling: 00000000, prev_sibling: 00000000
 flags 00000009
 maximum chunk elt's: 500, elt size: 1156, index first free 500
 # chunks in use: 0, HWM of total used: 0, alignment: 0

show class

To display the class configuration, use the show class command.

show class

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: Multiple

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display class configuration information:

fwsm(config)# show class
Class Name           Members    ID   Flags
default                All       1    0001
fwsm(config)#

Related Commands

class
clear

show clock

To display the FWSM clock for use with the FWSM Syslog Server (PFSS) and the Public Key Infrastructure (PKI) protocol, use the show clock command.

show clock

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(2)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the FWSM clock for use with the PFSS and PKI protocols:

fwsm/context_name(config)# show clock
08:46:48    [0] Jul 16 2003

show compatible rfc1583

To display the method that is used to calculate the summary route costs per RFC 1583, use the show compatible rfc1583 command.

show compatible rfc1583

Syntax Description

This command has no arguments or keywords.

Defaults

The defaults are as follows:

OSPF routing is disabled on the FWSM.

OSPF routing through the FWSM is compatible with RFC 1583.

Command Modes

Security Context Mode: single context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display calculation methods for summary route costs per RFC 1583:

fwsm/context_name(config)# show compatible rfc1583

Related Commands

compatible rfc1583

show configure

To display the startup configuration of the FWSM, use the show configure command.

show configure

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show configure and show startup-config commands allow you to display the startup configuration of the FWSM. The write terminal and show running-config commands allow you to display the configuration that is currently running on the FWSM.

Examples

This example shows how to display the startup configuration of the FWSM:

fwsm/context_name(config)# show configure
: Saved
: Written by enable_15 at 16:17:31 Jun 26 2003

fwsm Version 2.2(0)141
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname sw8fx1
ftp mode passive
names
access-list deny-flow-max 4096
access-list alert-interval 300
no pager
logging history debugging
class default
  limit-resource All 0
!
admin-context admin

context admin
  logical-interface vlan300
  config-url disk:admin.cfg
!
context my_context
  logical-interface vlan300
  config-url disk:my_context.cfg
!
context my_context
  logical-interface vlan300
  config-url disk:my_context.cfg
!
failover
failover lan unit secondary
failover lan interface failover vlan 500
failover polltime unit 15
failover polltime interface 15
failover interface-policy 50 percent
failover interface ip failover 192.168.1.1 255.255.255.0 standby 192.168.1.2
no pdm history enable
arp timeout 14400
!
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:01:00 rpc 0:10:00 h
23 0:05:00 h225 1:00:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:00:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
floodguard enable
no sysopt route dnat
terminal width 511
gdb enable
mgcp command-queue 0
Cryptochecksum:03266426306f5ed3d9eb48b859a7263c

Related Commands

clear configure
configure

show conn

To display the connections used and those that are available, use the show conn command.

show conn [count] | [protocol {TCP | UDP | icmp}] [{foreign | local} ip [-ip2]] [netmask mask]  [{lport | fport} port1 [-port2]]

show conn [state up [,finin][,finout][,http_get][,smtp_data][,data_in][,data_out][,...]]

Syntax Description

count

(Optional) Displays only the number of used connections.

protocol TCP

(Optional) Displays active TCP connections; see the "Usage Guidelines" section for additional information.

protocol UDP

(Optional) Displays active UDP connections; see the "Usage Guidelines" section for additional information.

protocol icmp

(Optional) Displays active ICMP connections; see the "Usage Guidelines" section for additional information.

foreign ip -ip2

(Optional) Displays active connections by the foreign IP address.

local ip -ip2

(Optional) Displays active connections by the local IP address.

netmask mask

(Optional) Displays the netmask for the foreign IP address or by the local IP address.

lport port1 -port2

(Optional) Displays the local active connections by port; see the "Usage Guidelines" section for additional information.

fport port1 -port2

(Optional) Displays the foreign active connections by port; see the "Usage Guidelines" section for additional information.

state

(Optional) Displays active connections by their current state; see the "Usage Guidelines" section for additional information.

up

(Optional) Displays active connections.

,finin

(Optional) Displays the foreign connection state in.

,finout

(Optional) Displays the foreign connection state out.

,http_get

(Optional) Displays the HTTP connection state.

smtp_data

(Optional) Displays the SMTP connection state.

,data_in

(Optional) Displays the data connection state.

,data_out

(Optional) Displays the data connection state out.

,...

(Optional) Displays other connections.


Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show conn command allows you to display the number of, and information about, active TCP connections. When specifying multiple show conn state keywords, use commas without spaces to list as follows:

fwsm(config)# show conn state up,rpc,h323,sip

If you insert spaces, the FWSM does not recognize the command.

You can also display the connection count information from the show conn command using SNMP.

The accuracy of the displayed count may vary depending on the traffic volume and the type of traffic that is passing through the FWSM.

See the "Specifying Port Values" section in Appendix B, "Port and Protocol Values," for a list of valid port literal names.

When you enter the show conn command, the following active connections are displayed by their current state (listed in bold print):

Up (up)

Inbound connection (conn_inbound)

Computer Telephony Interface Quick Buffer Encoding (CTIQBE) connection (ctiqbe)

Inbound data (data_in)

Outbound data (data_out)

Dump clean up connection (dump)

FIN inbound (finin)

FIN outbound (finout)

H.225 connection (h225)

H.323 connection (h323)

HTTP get (http_get)

Media Gateway Control Protocol (MGCP) connection (mgcp)

An outbound command denying access to Java applets (nojava)

RPC connection (rpc)

SIP connection (sip)

Skinny Client Control Protocol (SCCP) connection (skinny)

SMTP mail banner (smtp_banner)

SMTP mail data (smtp_data)

SQL*Net data fix up (sqlnet_fixup_data)

Incomplete SMTP mail connection (smtp_incomplete)

protocol is a protocol that is specified by number. See the "Specifying Protocol Values" section in Appendix B, "Port and Protocol Values," for a list of valid protocol literal names.

The show conn detail command displays the following information:

{UDP | TCP} outside_ifc:real_addr/real-port [(map_addr/port)] 
inside_ifc:real_addr/real_port [(map-addr/port)] flags flags

The connection flags are defined in Table 2-18.

Table 2-18 Connection Flags 

Flag
Description

---

SKINNY (not used)

a

Awaiting outside ACK to SYN

A

Awaiting inside ACK to SYN

B

Initial SYN from outside

C

Computer Telephony Interface Quick Buffer Encoding (CTIQBE)

d

Dump

D

DNS

E

Outside back connection

f

Inside FIN

F

Outside FIN

g

Media Gateway Control Protocol (MGCP)

G

Group

h

H.225

H

H.323

i

Incomplete

I

Inbound data

k

RTP/RTCP (UDP) connection object

m

SIP media connection

M

SMTP data

O

Outbound data

p

Replicated (unused)

P

Inside back connection

q

SQL*Net data

r

Inside acknowledged FIN

R

Outside acknowledged FIN

R

UDP RPC

s

Awaiting outside SYN

S

Awaiting inside SYN

t

SIP transient connection

T

TCP SIP connection

T

UDP SIP connection

U

Up


Examples

This example shows a TCP session connection from inside host 10.1.1.15 to the outside Telnet server at 192.150.49.10. Because there is no B flag, the connection is initiated from the inside. The U, I, and O flags indicate that the connection is active and has received inbound and outbound data.

fwsm(config)# show conn
2 in use, 2 most used
TCP out 192.150.49.10:23 in 10.1.1.15:1026 idle 0:00:22
Bytes 1774 flags UIO
UDP out 192.150.49.10:31649 in 10.1.1.15:1028 idle 0:00:14
flags D-

This example shows a UDP connection from outside host 192.150.49.10 to inside host 10.1.1.15. The D flag indicates a DNS connection. The number 1028 is the DNS ID over the connection.

fwsm(config)# show conn detail
2 in use, 2 most used
Flags: A - awaiting inside ACK to SYN, a - awaiting outside ACK to SYN,
       B - initial SYN from outside, D - DNS, d - dump,
       E - outside back connection, f - inside FIN, F - outside FIN,
       G - group, H - H.323, I - inbound data, M - SMTP data,
       O - outbound data, P - inside back connection,
       q - SQL*Net data, R - outside acknowledged FIN,
       R - UDP RPC, r - inside acknowledged FIN, S - awaiting inside SYN,
       s - awaiting outside SYN, U - up
TCP outside:192.150.49.10/23 inside:10.1.1.15/1026 flags UIO
UDP outside:192.150.49.10/31649 inside:10.1.1.15/1028 flags dD

This example shows sample output from the show conn command:

show conn
6 in use, 6 most used
             TCP out 209.165.201.1:80 in 10.3.3.4:1404 idle 0:00:00 Bytes 11391 
             TCP out 209.165.201.1:80 in 10.3.3.4:1405 idle 0:00:00 Bytes 3709 
             TCP out 209.165.201.1:80 in 10.3.3.4:1406 idle 0:00:01 Bytes 2685 
             TCP out 209.165.201.1:80 in 10.3.3.4:1407 idle 0:00:01 Bytes 2683 
             TCP out 209.165.201.1:80 in 10.3.3.4:1403 idle 0:00:00 Bytes 15199 
             TCP out 209.165.201.1:80 in 10.3.3.4:1408 idle 0:00:00 Bytes 2688 
             UDP out 209.165.201.7:24 in 10.3.3.4:1402 idle 0:01:30 
             UDP out 209.165.201.7:23 in 10.3.3.4:1397 idle 0:01:30 
             UDP out 209.165.201.7:22 in 10.3.3.4:1395 idle 0:01:30 

Host 10.3.3.4 on the inside has accessed a website at 209.165.201.1. The global address on the outside interface is 209.165.201.7.

This example shows how to display connections to the FWSM that are in the up state:

fwsm/context_name(config)# show conn state up
0 in use, 0 most used
 Network Processor 1 connections
 Network Processor 2 connections

Related Commands

clear conn

show console-output

To display the currently configured console timeout value, use the show console-output command.

show console-output

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the console output:

fwsm(config)# show console-output
Message #1 : Initializing debugger......:  Message #2 : Found PCI card in slot:
 bus:2 dev:9 (vendor:0x8086 deviceid:0x1001)
Message #3 : Found PCI card in slot:2 bus:2 dev:8 (vendor:0x8086 deviceid:0x100
)
Message #4 : Found PCI card in slot:3 bus:1 dev:6 (vendor:0x1014 deviceid:0x1e8
Message #5 : Ignoring PCI card in slot:3 (vendor:0x1014 deviceid:0x1e8)
Message #6 : Found PCI card in slot:4 bus:1 dev:5 (vendor:0x1014 deviceid:0x1e8
Message #7 : Ignoring PCI card in slot:4 (vendor:0x1014 deviceid:0x1e8)
Message #8 : Found PCI card in slot:5 bus:1 dev:4 (vendor:0x1014 deviceid:0x1e8
Message #9 : Ignoring PCI card in slot:5 (vendor:0x1014 deviceid:0x1e8)
Message #10 : Found PCI card in slot:7 bus:0 dev:2 (vendor:0x1011 deviceid:0x22
Message #11 : PCI-2-PCI bridge in slot:7 (vendor:0x1011 deviceid:0x22)
Message #12 : IBM NP4GS3 in slot:7 dev:4 (vendor:0x1014 deviceid:0x1e8)
Message #13 : IBM NP4GS3 in slot:7 dev:5 (vendor:0x1014 deviceid:0x1e8)
Message #14 : IBM NP4GS3 in slot:7 dev:6 (vendor:0x1014 deviceid:0x1e8)
Message #15 : Found PCI card in slot:8 bus:0 dev:1 (vendor:0x1022 deviceid:0x20
0)
Message #16 : The NICs as we know them:
Message #17 : Nic 0: driver 2, bus 2, dev 9, irq 5, media 4, mediaIndex 0
Message #18 : Nic 1: driver 2, bus 2, dev 8, irq 7, media 4, mediaIndex 1
Message #19 : Nic 2: driver 3, bus 0, dev 1, irq 11, media 1, mediaIndex 0
Message #20 : write addr 0xa0000240, data 0x80000000
Message #21 : write addr 0xa0000240, data 0x80000000
Message #22 : write addr 0xa0000240, data 0x80000000

Related Commands

clear console-output

show context

To display the currently configured contexts, use the show context command.

show context [detail] [name | admin | count]

Syntax Description

detail

(Optional) Displays context details.

name

(Optional) Displays information about the specified context.

admin

(Optional) Displays the administrator context.

count

(Optional) Displays the number of contexts configured.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: Multiple

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display detailed information about the configured contexts:

fwsm/context_name(config)# show context my_context
Context Name      Class      Interfaces           URL
 my_context             default    30                   disk:my_context.cfg

fwsm/context_name(config)# show context
Context Name      Class      Interfaces           URL
*admin            default    30,40                disk:admin.cfg
 my_context             default    30                   disk:my_context.cfg

fwsm/context_name(config)# show context count
Total active contexts: 2

fwsm(config)# changeto context my_context
fwsm/my_context(config)# show context
Context Name      Class      Interfaces           URL
 my_context             default    30                   disk:my_context.cfg

Related Commands

clear context
context

show counters

To display and clear the protocol stack counters, use the show counters command.

show counters [context context-name | top N | all | summary] [protocol protocol_name [:counter_name]| detail] [threshold count_threshold]

Syntax Description

context

(Optional) Specifies a context.

context-name

(Optional) Specifies the context name.

top N

(Optional) Displays the counter details for the specified location.

all

(Optional) Displays the filter details.

summary

(Optional) Displays a counter summary.

protocol

(Optional) Displays the counters for the specified protocol.

protocol_name

(Optional) Specifies a protocol by name.

:counter_name

(Optional) Specifies a counter by name.

detail

(Optional) Displays the counters in detail.

threshold

(Optional) Displays only those counters at or above the specified threshold.

count_threshold

(Optional) Specifies the threshold to begin displaying counters.


Defaults

show counters summary detail threshold 1

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display all counters:

fwsm# show counters all
Protocol     Counter           Value   Context
IOS_IPC      IN_PKTS               2   single_vf
IOS_IPC      OUT_PKTS              2   single_vf

fwsm(config)# show counters
Protocol     Counter           Value   Context
NPCP         IN_PKTS            7195   Summary
NPCP         OUT_PKTS           7603   Summary
IOS_IPC      IN_PKTS             869   Summary
IOS_IPC      OUT_PKTS            865   Summary
IP           IN_PKTS             380   Summary
IP           OUT_PKTS            411   Summary
IP           TO_ARP              105   Summary
IP           TO_UDP                9   Summary
UDP          IN_PKTS               9   Summary
UDP          DROP_NO_APP           9   Summary
FIXUP        IN_PKTS             202   Summary

This example shows how to display a summary of counters:

fwsm# show counters summary
Protocol     Counter           Value   Context
IOS_IPC      IN_PKTS               2   Summary
IOS_IPC      OUT_PKTS              2   Summary

This example shows how to display counters for a context:

fwsm# show counters context single_vf
Protocol     Counter           Value   Context
IOS_IPC      IN_PKTS               4   single_vf
IOS_IPC      OUT_PKTS              4   single_vf

Related Commands

clear counters

show cpu

To display the CPU utilization information, use the show cpu usage command.

In system context:

show cpu [usage] context

show cpu [usage] [context {all | context_name}]

In a context:

show cpu [usage]

Syntax Description

usage

(Optional) Displays the CPU usage for the FWSM.

context

(Optional) Specifies that the display shows contexts.

all

(Optional) Specifies that the display shows all context.

context_name

(Optional) Specifies a context name.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show cpu usage command displays the CPU usage information. When the command displays per-context CPU usage, the value is displayed with one decimal digit of precision instead of an integer value.

This command displays how the CPU usage is spread across all of the contexts and system-level (system and kernel) processes. The columns will always total 100%. In an idle system, all of the CPU usage is displayed in the system and kernel processes as shown in the examples.

In the system context:

The show cpu command displays how busy the system currently is.

The show cpu context all command displays where all the CPU time is being used.

The show cpu context context_name command displays the percentage of CPU time used by the specified context.

In a context, the show cpu command displays the percentage of CPU time used by that context.

Examples

This example shows how to diaply the CPU utilization for the FWSM:

fwsm(config)# show cpu usage
CPU utilization for 5 seconds = 1%; 1 minute: 0%; 5 minutes: 0%

The percentage usage prints as NA (not applicable) if the usage is unavailable for the specified time interval. This situation can occur if you ask for CPU usage before the 5-second, 1-minute, or 5-minute time interval has elapsed.

This example shows how to diaply the CPU utilization for a context:

fwsm/context_name(config)# show cpu usage context admin
CPU utilization for 5 seconds = 1%; 1 minute: 0%; 5 minutes: 0%

This example shows how to diaply the CPU utilization for all contexts:

fwsm(config)# show cpu usage context all
CPU utilization for 5 seconds = 1%; 1 minute: 0%; 5 minutes: 0%
5 sec  1 min  5 min  Context Name
   0%     0%     0%  admin
  59%    59%    59%  system
  41%    41%    41%  <kernel>

show crashdump

To display the crash information file that is stored in the Flash partition of the FWSM, use the show crashdump command.

show crashdump [save]

Syntax Description

save

(Optional) Displays whether or not the FWSM is configured to save crash information to the Flash partition.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show crashdump save command allows you to display whether or not the FWSM is configured to save crash information to the Flash partition.

The show crashdump command allows you to display the crash information file that is stored in the Flash partition of the FWSM. If the crash information file is from a test crash (from the crashdump test command), the first string of the crash information file is ": Saved_Test_Crash" and the last one is ": End_Test_Crash". If the crash information file is from a real crash, the first string of the crash information file is ": Saved_Crash" and the last one is ": End_Crash" (this includes crashes from the crashdump force page-fault or crashdump force watchdog commands).

Examples

This example shows how to display the current crash information configuration:

fwsm(config)# show crashdump save
crashdump save enable

This example shows the output for a crash information file test. (However, this test does not actually crash the FWSM. It provides a simulated example file.)

fwsm(config)# crashdump test
fwsm(config)# exit
fwsm(config)# show crashdump
: Saved_Test_Crash

Thread Name: ci/console (Old pc 0x001a6ff5 ebp 0x00e88920)

Traceback:
0: 00323143
1: 0032321b
2: 0010885c
3: 0010763c
4: 001078db
5: 00103585
6: 00000000
    vector 0x000000ff (user defined)
       edi 0x004f20c4
       esi 0x00000000
       ebp 0x00e88c20
       esp 0x00e88bd8
       ebx 0x00000001
       edx 0x00000074
       ecx 0x00322f8b
       eax 0x00322f8b
error code n/a
       eip 0x0010318c
        cs 0x00000008
    eflags 0x00000000
       CR2 0x00000000
Stack dump: base:0x00e8511c size:16384, active:1476
0x00e89118: 0x004f1bb4
0x00e89114: 0x001078b4
.
.
.
0x00e88b5c: 0x00000000
0x00e88b58: 0x00000008

Cisco Firewall Version 2.2
Cisco Device Manager Version 2.2

Compiled on Fri 15-Nov-02 14:35 by root

FWSM up 10 days 0 hours

Hardware:   FWSM, 64 MB RAM, CPU Pentium 200 MHz
Flash i28F640J5 @ 0x300, 16MB
BIOS Flash AT29C257 @ 0xfffd8000, 32KB

0: ethernet0: address is 0003.e300.73fd, irq 10
1: ethernet1: address is 0003.e300.73fe, irq 7
2: ethernet2: address is 00d0.b7c8.139e, irq 9
Licensed Features:
Failover:           Disabled
VPN-DES:            Enabled
VPN-3DES-AES:       Disabled
Maximum Interfaces: 3
Cut-through Proxy:  Enabled
Guards:             Enabled
URL-filtering:      Enabled
Inside Hosts:       Unlimited
Throughput:         Unlimited
IKE peers:          Unlimited

This FWSM has a Restricted (R) license.

Serial Number: 480430455 (0x1ca2c977)
Running Activation Key: 0xc2e94182 0xc21d8206 0x15353200 0x633f6734 
Configuration last modified by enable_15 at 13:49:42.148 UTC Wed Nov 20 2002


------------------ show clock ------------------

15:34:28.129 UTC Sun Nov 24 2002

------------------ show memory ------------------

Free memory:        50444824 bytes
Used memory:        16664040 bytes
-------------     ----------------
Total memory:       67108864 bytes

------------------ show conn count ------------------

0 in use, 0 most used

------------------ show xlate count ------------------

0 in use, 0 most used

------------------ show blocks ------------------

  SIZE    MAX    LOW    CNT
     4   1600   1600   1600
    80    400    400    400
   256    500    499    500
  1550   1188    795    927

------------------ show interface ------------------

Interface vlan20 "", is administratively down, line protocol is up
        MAC address 0000.0000.0000, MTU 0
        IP address 127.0.0.1, subnet mask 255.255.255.255
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets
Interface vlan40 "outside", is up, line protocol is up
        MAC address 0005.9a38.7400, MTU 1500
        IP address 40.7.12.1, subnet mask 255.255.0.0
                Received 684499 packets, 473311321 bytes
                Transmitted 512981 packets, 29781306 bytes
                Dropped 0 packets
Interface vlan41 "inside", is up, line protocol is up
        MAC address 0005.9a38.7400, MTU 1500
        IP address 41.7.12.1, subnet mask 255.255.0.0
                Received 780297 packets, 70082987 bytes
                Transmitted 605699 packets, 473794675 bytes
                Dropped 61 packets
Interface vlan2000 "", is administratively down, line protocol is down
        MAC address 0000.0000.0000, MTU 0
        IP address 127.0.0.1, subnet mask 255.255.255.255
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets

------------------ show cpu usage ------------------

CPU utilization for 5 seconds = 0%; 1 minute: 0%; 5 minutes: 0%

------------------ show process ------------------


    PC       SP       STATE       Runtime    SBASE     Stack Process
Hsi 001e3329 00763e7c 0053e5c8          0 00762ef4 3784/4096 arp_timer
Lsi 001e80e9 00807074 0053e5c8          0 008060fc 3792/4096 FragDBGC
.
.
.
Hwe 001e5398 00f52c5c 00812054          0 00f51d64 3832/4096 tcp_thread/2
Hwe 003d1a65 00f78284 008140f8          0 00f77fdc  300/1024 listen/http1
Mwe 0035cafa 00f7a63c 0053e5c8          0 00f786c4 7640/8192 Crypto CA

------------------ show failover ------------------

No license for Failover

------------------ show traffic ------------------

outside:
        received (in 865565.090 secs):
                6139 packets    830375 bytes
                0 pkts/sec      0 bytes/sec
        transmitted (in 865565.090 secs):
                90 packets      6160 bytes
                0 pkts/sec      0 bytes/sec
inside:
        received (in 865565.090 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec
        transmitted (in 865565.090 secs):
                1 packets       60 bytes
                0 pkts/sec      0 bytes/sec
intf2:
        received (in 865565.090 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec
        transmitted (in 865565.090 secs):
                0 packets       0 bytes
                0 pkts/sec      0 bytes/sec

------------------ show perfmon ------------------


PERFMON STATS:    Current      Average
Xlates               0/s          0/s
Connections          0/s          0/s
TCP Conns            0/s          0/s
UDP Conns            0/s          0/s
URL Access           0/s          0/s
URL Server Req       0/s          0/s
TCP Fixup            0/s          0/s
TCPIntercept         0/s          0/s
HTTP Fixup           0/s          0/s
FTP Fixup            0/s          0/s
AAA Authen           0/s          0/s
AAA Author           0/s          0/s
AAA Account          0/s          0/s
: End_Test_Crash

Related Commands

clear crashdump
crashdump force

show crypto dynamic-map

To display a dynamic crypto map set, use the show crypto dynamic-map command.

show crypto dynamic-map [tag  dynamic-map-name]

Syntax Description

tag dynamic-map-name

(Optional) Shows the crypto dynamic map set with the specified map-name.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

For detailed help, refer to the subcommand help in the mode where the commands are available. For example, you can enter the following:

fwsm/context_name(config)#  ca ?
fwsm(config)#  help ca.

Examples

This example shows sample output for the show crypto dynamic-map command:

fwsm(config)# show crypto dynamic-map
Crypto Engine Connection Map:
    size = 8, free = 7, used = 0, active = 0

The following partial configuration was in effect when the preceding show crypto dynamic-map command was issued:

crypto ipsec security-association lifetime seconds 120        
crypto ipsec transform-set t1 esp-des esp-md5-hmac 
crypto ipsec transform-set tauth ah-sha-hmac 
crypto dynamic-map dyn1 10 set transform-set tauth t1 
crypto dynamic-map dyn1 10 match address 152
crypto map to-firewall local-address Ethernet0
crypto map to-firewall 10 ipsec-isakmp 
crypto map to-firewall 10 set peer 172.21.114.123
crypto map to-firewall 10 set transform-set tauth t1 
crypto map to-firewall 10 match address 150
crypto map to-firewall 20 ipsec-isakmp dynamic dyn1
access-list 150 permit ip host 172.21.114.67 host 172.21.114.123
access-list 150 permit ip host 15.15.15.1 host 172.21.114.123
access-list 150 permit ip host 15.15.15.1 host 8.8.8.1
access-list 152 permit ip host 172.21.114.67 any

This example shows output from the show crypto map command for a crypto map named "mymap":

fwsm(config)# show crypto map

Crypto Map: "mymap" interfaces: { outside }

Crypto Map "mymap" 1 ipsec-isakmp
        Peer = 171.69.231.241
        access-list no-nat; 1 elements
        access-list no-nat permit ip 192.168.0.0 255.255.255.0 1.1.1.0 255.255.255.0 
(hitcnt=0) 
        Current peer: 171.69.231.241
        Security association lifetime: 4608000 kilobytes/28800 seconds
        PFS (Y/N): Y
        DH group:  group5
        Transform sets={ mycrypt, }

Related Commands

clear crypto dynamic-map
crypto dynamic-map

show crypto engine

To display the cryptography engine usage statistics or run the Known Answer Test (KAT), use the show crypto engine command.

show crypto engine [verify]

Syntax Description

verify

(Optional) Runs the Known Answer Test (KAT).


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show crypto engine command allows you to display the usage statistics for the cryptography engine that is used by the FWSM.

Examples

This example shows sample output for the show crypto engine command:

fwsm(config)# show crypto engine
Crypto Engine Connection Map:
    size = 8, free = 7, used = 0, active = 0

Related Commands

clear crypto dynamic-map

show crypto interface

To display the VPN accelerator cards (VACs) installed in the FWSM chassis and to display the packet, payload byte, queue length, and moving average counters for traffic moving through the card for VAC+, use the show crypto interface command.

show crypto interface [counters]

Syntax Description

counters

(Optional) Displays the packet count, byte queue, and moving averages for traffic through a VAC+.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show crypto interface command allows you to display VACs that are installed in the FWSM chassis.

The show crypto interface counters command allows you to display information (see Table 2-19) for the FWSM VAC+ only.

Table 2-19 show crypto interface Counters 

Counter
Description

interfaces

Number and type of crypto interface cards installed.

packet count

Number of packets sent to the installed crypto interface card(s).

payload bytes

Number of bytes of payload either after decapsulation or before encapsulation.

input queue (curr/max)

Total number of packets that are awaiting service from the crypto interface card(s).

interface queue (curr/max)

Total number of packets that have been queued at the crypto interface card(s) for service.

output queue (curr/max)

Total number of packets that have been released by the crypto interface card(s) and are awaiting dispatch to the packet path.

moving averages

5second

1minute

5minute

5 second, 1 minute, and 5 minute moving averages of the packet count and payload bytes through all crypto interface cards.


Examples

This example shows sample output from the show crypto interface and show crypto interface counters commands:

fwsm/context_name(config)# show crypto interface
Encryption hardware device : Crypto5823 (revision 0x1) 
fwsm(config)# show crypto interface counters

interfaces: 1
  Crypto5823 (revision 0x1), maximum queue size 64

packet count:               318657093
payload bytes:              89861300946
input     queue (curr/max): 1336/1584
interface queue (curr/max): 64/64
output    queue (curr/max): 0/64
moving averages
  5second   128273 pkts/sec   289 Mbits/sec
  1minute   128326 pkts/sec   290 Mbits/sec
  5minute   128279 pkts/sec   289 Mbits/sec

This example shows the same sample output after the clear crypto interface counters command has been used:

fwsm/context_name(config)# clear crypto interface counters
fwsm/context_name(config)# show crypto interface counters

interfaces: 1
  Crypto5823 (revision 0x1), maximum queue size 64

packet count:               355968
payload bytes:              100382976
input     queue (curr/max): 1317/1537
interface queue (curr/max): 64/64
output    queue (curr/max): 0/64
moving averages
  5second       NA pkts/sec    NA Mbits/sec
  1minute       NA pkts/sec    NA Mbits/sec
  5minute       NA pkts/sec    NA Mbits/sec

This example shows sample output from the show crypto interface and show crypto interface counters commands when a VAC+ is installed:

fwsm/context_name(config)# show crypto interface
Encryption hardware device : IRE2141 with 2048KB, HW:1.0, CGXROM:1.9, FW:6.5 
fwsm/context_name(config)# show crypto interface counters
no crypto interface counters available

This example shows sample output from the show crypto interface and show crypto interface counters commands when no crypto interface card is installed (neither a VAC nor a VAC+):

fwsm(config)# show crypto interface
fwsm(config)# show crypto interface counters
no crypto interface counters available

Related Commands

crypto map interface

show crypto ipsec

To display the configured transform sets, use the show crypto ipsec command.

show crypto ipsec security-association lifetime

show crypto ipsec transform-set [tag transform-set-name]

show crypto ipsec sa [map map-name | address | identity] [detail]

Syntax Description

security-association lifetime

Displays the security-association lifetime value that is configured for a crypto map entry.

transform-set

Displays the configured transform sets.

tag transform-set-name

(Optional) Specifies a transform set.

sa

Displays the settings that are used by the current security associations.

map map-name

(Optional) Name of the crypto map set.

address

(Optional) Displays all of the existing security associations, sorted by the destination address (either the local address or the address of the remote IPSec peer) and then by protocol (AH or ESP).

identity

(Optional) Displays only the flow information.

detail

(Optional) Displays detailed error counters.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show crypto ipsec sa command allows you to display the settings that are used by the current security associations. If you do not enter a keyword, all security associations are displayed. They are sorted first by interface, and then by traffic flow (for example, source/destination address, mask, protocol, and port). Within a flow, the security associations are listed by protocol (ESP/AH) and direction (inbound/outbound). The identity keyword does not show the security association information.


Note While entering the show crypto ipsec sa command, if the screen display is stopped with the More prompt and the security association lifetime expires while the screen display is stopped, then the subsequent display may be outdated. In this situation, you should assume that the security association lifetime values that display are invalid.

The show crypto ipsec sa command allows you to display the Payload Compression Protocol (PCP) in its output.


Examples

This example shows how to display the security-association lifetime value:

fwsm/context_name(config)# show crypto ipsec security-association lifetime
Security-association lifetime: 4608000 kilobytes/120 seconds

This configuration was in effect when the preceding show crypto ipsec security-association lifetime command was issued:

fwsm/context_name(config)# crypto ipsec security-association lifetime seconds 120

This example shows how to display the configured transform sets:

fwsm/context_name(config)# show crypto ipsec transform-set 

Transform set combined-des-sha: { esp-des esp-sha-hmac } 
   will negotiate = { Tunnel, }, 
Transform set combined-des-md5: { esp-des esp-md5-hmac } 
   will negotiate = { Tunnel, }, 
Transform set t1: { esp-des esp-md5-hmac } 
   will negotiate = { Tunnel, }, 
Transform set t100: { ah-sha-hmac } 
   will negotiate = { Tunnel, }, 
Transform set t2: { ah-sha-hmac } 
   will negotiate = { Tunnel, }, 
   { esp-des } 
   will negotiate = { Tunnel, },

This configuration was in effect when the preceding show crypto ipsec transform-set command was issued:

fwsm/context_name(config)# crypto ipsec transform-set combined-des-sha esp-des 
esp-sha-hmac
fwsm/context_name(config)# crypto ipsec transform-set combined-des-md5 esp-des 
esp-md5-hmac
fwsm/context_name(config)# crypto ipsec transform-set t1 esp-des esp-md5-hmac
fwsm/context_name(config)# crypto ipsec transform-set t100 ah-sha-hmac
fwsm/context_name(config)# crypto ipsec transform-set t2 ah-sha-hmac esp-des

This example shows how to display the settings that are used by the current security associations:

fwsm/context_name(config)# show crypto ipsec sa

interface: outside
    Crypto map tag: firewall-alice, local addr. 172.21.114.123
   local ident (addr/mask/prot/port): (172.21.114.123/255.255.255.255/0/0)
   remote ident (addr/mask/prot/port): (172.21.114.67/255.255.255.255/0/0)
   current_peer: 172.21.114.67
     PERMIT, flags={origin_is_acl,}
    #pkts encaps: 10, #pkts encrypt: 10, #pkts digest 10
    #pkts decaps: 10, #pkts decrypt: 10, #pkts verify 10
    #send errors 10, #recv errors 0
     local crypto endpt.: 172.21.114.123, remote crypto endpt.: 172.21.114.67/500
     path mtu 1500, media mtu 1500
     current outbound spi: 20890A6F
     inbound esp sas:
      spi: 0x257A1039(628756537)
        transform: esp-des esp-md5-hmac ,
        in use settings ={Tunnel UDP-Encaps, }
        slot: 0, conn id: 26, crypto map: firewall-alice
        sa timing: remaining key lifetime (k/sec): (4607999/90)
        IV size: 8 bytes
        replay detection support: Y
     inbound ah sas:
     outbound esp sas:
      spi: 0x20890A6F(545852015)
        transform: esp-des esp-md5-hmac ,
        in use settings ={Tunnel, }
        slot: 0, conn id: 27, crypto map: firewall-alice
        sa timing: remaining key lifetime (k/sec): (4607999/90)
        IV size: 8 bytes
        replay detection support: Y
     outbound ah sas:
interface: inside
    Crypto map tag: firewall-alice, local addr. 172.21.114.123
   local ident (addr/mask/prot/port): (172.21.114.123/255.255.255.255/0/0)
   remote ident (addr/mask/prot/port): (172.21.114.67/255.255.255.255/0/0)
   current_peer: 172.21.114.67
     PERMIT, flags={origin_is_acl,}
    #pkts encaps: 10, #pkts encrypt: 10, #pkts digest 10
    #pkts decaps: 10, #pkts decrypt: 10, #pkts verify 10
    #send errors 10, #recv errors 0
     local crypto endpt.: 172.21.114.123, remote crypto endpt.: 172.21.114.67
     path mtu 1500, media mtu 1500
     current outbound spi: 20890A6F
		inbound esp sas:
      spi: 0x257A1039(628756537)
        transform: esp-des esp-md5-hmac ,
        in use settings ={Tunnel, }
        slot: 0, conn id: 26, crypto map: firewall-alice
        sa timing: remaining key lifetime (k/sec): (4607999/90)
        IV size: 8 bytes
        replay detection support: Y
     inbound ah sas:
     outbound esp sas:
      spi: 0x20890A6F(545852015)
        transform: esp-des esp-md5-hmac ,
        in use settings ={Tunnel, }
        slot: 0, conn id: 27, crypto map: firewall-alice
        sa timing: remaining key lifetime (k/sec): (4607999/90)
        IV size: 8 bytes
        replay detection support: Y
     outbound ah sas:

Related Commands

crypto ipsec security-association lifetime
crypto ipsec transform-set

show crypto map

To display the crypto map configuration, use the show crypto map command.

show crypto map [interface interface-name | tag map-name]

Syntax Description

interface interface-name

(Optional) Displays the identifying interface to be used by the FWSM to identify itself to peers.

tag map-name

(Optional) Displays the crypto map set with the specified map name.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the crypto map configuration:

fwsm/context_name(config)# show crypto map

Crypto Map: "firewall-alice" pif: outside local address: 172.21.114.123
Crypto Map "firewall-alice" 10 ipsec-isakmp
        Peer = 172.21.114.67
        access-list 141 permit ip host 172.21.114.123 host 172.21.114.67
        Current peer: 172.21.114.67
        Security-association lifetime: 4608000 kilobytes/120 seconds
        PFS (Y/N): N
        Transform sets={ t1, }

This configuration was in effect when the preceding show crypto map command was issued:

fwsm/context_name(config)# crypto map firewall-alice 10 ipsec-isakmp 
fwsm/context_name(config)# crypto map firewall-alice 10 set peer 172.21.114.67
fwsm/context_name(config)# crypto map firewall-alice 10 set transform-set t1 
fwsm/context_name(config)# crypto map firewall-alice 10 match address 141

This example shows the sample output for the show crypto map command when manually established security associations are used:

fwsm/context_name(config)# show crypto map

Crypto Map "multi-peer" 20 ipsec-manual
        Peer = 172.21.114.67
        access-list 120 permit ip host 1.1.1.1 host 1.1.1.2
        Current peer: 172.21.114.67
        Transform sets={ t2, }
        Inbound esp spi: 0, 
         cipher key: ,
         auth_key: ,
        Inbound ah spi: 256, 
            key: 010203040506070809010203040506070809010203040506070809,
        Outbound esp spi: 0
         cipher key: ,
         auth key: , 
        Outbound ah spi: 256, 
            key: 010203040506070809010203040506070809010203040506070809,

This configuration was in effect when the preceding show crypto map command was issued:

fwsm/context_name(config)# crypto map multi-peer 20 ipsec-manual 
fwsm/context_name(config)# crypto map multi-peer 20 set peer 172.21.114.67
fwsm/context_name(config)# crypto map multi-peer 20 set session-key inbound ah 256
010203040506070809010203040506070809010203040506070809
fwsm/context_name(config)# crypto map multi-peer 20 set session-key outbound ah 256
010203040506070809010203040506070809010203040506070809
fwsm/context_name(config)# crypto map multi-peer 20 set transform-set t2 
fwsm/context_name(config)# crypto map multi-peer 20 match address 120

Related Commands

crypto map client

show curpriv

To display the current user privileges, use the show curpriv command.

show curpriv

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: Unprivileged

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

These examples show output from the show curpriv command when a user named enable_15 is at different privilege levels. The username indicates the name that the user entered when the user logged in, P_PRIV indicates that the user has entered the enable command, and P_CONF indicates that the user has entered the config terminal command.

fwsm(config)# show curpriv
Username : enable_15
Current privilege level : 15
Current Mode/s : P_PRIV P_CONF
fwsm(config)# exit

fwsm(config)# show curpriv
Username : enable_15
Current privilege level : 15
Current Mode/s : P_PRIV
fwsm(config)#  exit

fwsm(config)# show curpriv
Username : enable_1
Current privilege level : 1
Current Mode/s : P_UNPR
fwsm(config)# 

Related Commands

privilege
show privilege

show default-information originate

To display a type 7 default in the not-so-stubby area (NSSA), use the show default-information originate command.

show default-information originate

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

This command is supported on an NSSA ABR or an NSSA autonomous system boundary router (ASBR) only.

The show ip ospf command displays the configured router ospf subcommands.

Examples

This example shows how to display NSSA information:

fwsm/context_name(config)# show default-information originate

Related Commands

default-information originate (route OSPF subcommand)
router ospf
show ip ospf

show dbg

To display the debug information, use the show dbg command.

show dbg

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display debug information:

fwsm(config)# show dbg
i82557 isr
i82557 queues
ip config
ip open
ip close
ip put
ip get
ip ioctl
ip arpin
ip arpreq
ip in
ip answer
ip route
.
.
.
ci config

Related Commands

dbg

show debug

To display the debug information, use the show debug command.

show debug

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display debug information:

fwsm(config)# show debug

Related Commands

debug

show dhcpd

To display the binding and statistics information associated with all of the dhcpd commands, use the show dhcpd command.

show dhcpd [binding | statistics]

Syntax Description

binding

(Optional) Displays binding information for a given server IP address and its associated client hardware address and lease length.

statistics

(Optional) Displays statistical information, such as the address pool, number of bindings, malformed messages, sent messages, and received messages.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example show how to display DHCPD statistics:

fwsm/context_name(config)# show dhcpd statistics

Related Commandsdhcpd

dhcpd
dhcprelay

show dhcprelay

To display the Dynamic Host Configuration Protocol (DHCP) relay statistics, use the show dhcprelay command.

show dhcprelay [statistics]

Syntax Description

statistics

(Optional) Displays counters for the packets that are relayed by the DHCP relay agent.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The output of the show dhcprelay command increments until you enter the clear dhcprelay statistics command.

Examples

This example show how to display DHCPD statistics:

fwsm/context_name(config)# show dhcprelay

Related Commands

clear dhcprelay
dhcpd
dhcprelay

show disk

To display the information about the disk file system, use the show disk command.

show disk all | filesys

Syntax Description

all

Displays all files in the file system and the geometry of the partitions.

filesys

Displays only the geometry of the partitions.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the disk file system information:

fwsm(config)# show disk
-#- --length-- -----date/time------ path
  1 1519       10:03:50 Jul 14 2003   my_context.cfg
  2 1516       10:04:02 Jul 14 2003   my_context.cfg
  3 1516       10:01:34 Jul 14 2003   admin.cfg

60973056 bytes available (12288 bytes used)

This example shows how to display all disk file system information and the partition information:

fwsm(config)# show disk all
-#- --length-- -----date/time------ path
  1 1519       10:03:50 Jul 14 2003   my_context.cfg
  2 1516       10:04:02 Jul 14 2003   my_context.cfg
  3 1516       10:01:34 Jul 14 2003   admin.cfg

60973056 bytes available (12288 bytes used)

******** Flash Card Geometry/Format Info ********

COMPACT FLASH CARD GEOMETRY
   Number of Heads:            8
   Number of Cylinders       467
   Sectors per Cylinder       32
   Sector Size               512
   Total Sectors          119552

COMPACT FLASH CARD FORMAT
   Number of FAT Sectors      59
   Sectors Per Cluster         8
   Number of Clusters      14889
   Number of Data Sectors 119264
   Base Root Sector          119
   Base FAT Sector             1
   Base Data Sector          151

This example shows how to display the partition information:

fwsm(config)# show disk filesys

******** Flash Card Geometry/Format Info ********

COMPACT FLASH CARD GEOMETRY
   Number of Heads:            8
   Number of Cylinders       467
   Sectors per Cylinder       32
   Sector Size               512
   Total Sectors          119552

COMPACT FLASH CARD FORMAT
   Number of FAT Sectors      59
   Sectors Per Cluster         8
   Number of Clusters      14889
   Number of Data Sectors 119264
   Base Root Sector          119
   Base FAT Sector             1
   Base Data Sector          151
: Saved

show dispatch stats

To display all the dispatch layer statistics, use the show dispatch stats command.

show dispatch stats [funcid]

Syntax Description

funcid

(Optional) Specifies the dispatch layer statistics function ID.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the dispatch statistics table:

fwsm(config)# show dispatch stats

Dispatch Level Stats:
Total pkts received                        :         4855
Total bytes received                       :       332519
Total pkts dropped                         :            0
Total Control Channels Created             :            0
Total primary_sessions_created             :            0
Total secondary_sessions_created Created   :            0
Total sessions freed                       :            0
Total embryonic sessions created           :            0
Total session moved to full open           :            0
Total embryonic session timeouts           :            0
Total zombie created                       :            0
Total zombie reused                        :            0
Total zombie freed                         :            0
Max conn hash chain length                 :            0
Total delete indications Received          :            0
Total buffer overflow count                :            0
Total url filtering connections        :            0

Fixup Error Stats:
Invalid Ethernet Type                      :            0
Packet Received in Indication              :            0
Invalid TLV Length                         :            0
Unknown TLV                                :            0
Invalid Packet Length                      :            0
Invalid L4 protocol in packet              :            0
Invalid conn ptr in indication             :            0
Unsolicited delete indication              :            0
Host object lookup failure for indication  :            0
Invalid internal interface in indication   :            0
Invalid PIF in session info TLV            :            0
Conn lookup failure for delte indication   :            0
Fragments received for missing conn object :            0
Session ID mismatch existing connection    :            0
Xlate ID mismatch for existing connnection :            0
Packets received for deleted connections   :            0

Connection object allocation failures      :            0
Host object allocation failures            :            0
Xlate allocation failures                  :            0
Xlate missing for conn                     :            0
full open in zombie                        :            0
Junk pointer in session TLV                        :            0
error in setting VCID                        :            0

Related Commands

clear dispatch stats

show dispatch table

To display all the dispatch layer statistics, use the show dispatch table command.

show dispatch table

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the dispatch statistics table:

fwsm(config)# show dispatch table
------------------------------------------------------------------------
                            NAT TABLE ENTRIES
 FID     CBACK FUNC    QUEUE       Channel    MAX_CONN   LINK STATUS
------------------------------------------------------------------------
   1      url_filter  TASK SWITCH    f682d0         1000      ACTIVE
   2          domain  FAST SWITCH    f684b0         1000      ACTIVE
   4             ftp  FAST SWITCH    f684b0         1000      ACTIVE
   5            http  TASK SWITCH    f68258         1000      ACTIVE
   6       h323_h225  TASK SWITCH    f68280         1000      ACTIVE
   7        h323_ras  TASK SWITCH    f68398         1000      ACTIVE
   8             ils  FAST SWITCH    f684b0         1000      ACTIVE
   9             rpc  FAST SWITCH    f684b0         1000      ACTIVE
  10             rsh  TASK SWITCH    f68294         1000      ACTIVE
  11            rtsp  TASK SWITCH    f682e4         1000      ACTIVE
  12            smtp  FAST SWITCH    f684b0         1000      ACTIVE
  13          sqlnet  TASK SWITCH    f682a8         1000      ACTIVE
  14             sip  TASK SWITCH    f68320         1000      ACTIVE
  15          skinny  TASK SWITCH    f68334         1000      ACTIVE
  16      udp_domain  FAST SWITCH    f684b0         1000      ACTIVE
  17         rpc_udp  FAST SWITCH    f684b0         1000      ACTIVE
  18           xdmcp  FAST SWITCH    f684b0         1000      ACTIVE
  19         udp_sip  TASK SWITCH    f683fc         1000      ACTIVE
  20         netbios  FAST SWITCH    f684b0         1000      ACTIVE
  21    ftp_filter_command  TASK SWITCH    f68438         1000      ACTIVE
  22    https_filter  TASK SWITCH    f6844c         1000      ACTIVE
  23            mgcp  TASK SWITCH    f68474         1000      ACTIVE
  33    indication handler  TASK SWITCH    f684c4         1000      ACTIVE
  34      AAA/events  TASK SWITCH    f684d8         1000      ACTIVE
  35         np/show  TASK SWITCH    f684ec         1000      ACTIVE
  36    pkt to IPstack  TASK SWITCH    f68500         1000      ACTIVE
  37    syslog_entry  TASK SWITCH    f68514         1000      ACTIVE
  38    fornax_pk_lu_process  TASK SWITCH    f68528         1000      ACTIVE
----------------------------------------------------------------------
                            PAT TABLE ENTRIES

 FID    CBACK FUNC     QUEUE       Channel     MAX_CONN   LINK STATUS
------------------------------------------------------------------------
 129     url_filter  TASK SWITCH    f682d0         1000      ACTIVE
 130         domain  TASK SWITCH    f6830c         1000      ACTIVE
 132            ftp  FAST SWITCH    f684b0         1000      ACTIVE
 133           http  TASK SWITCH    f68258         1000      ACTIVE
 134      h323_h225  TASK SWITCH    f68280         1000      ACTIVE
 135       h323_ras  TASK SWITCH    f68398         1000      ACTIVE
 136            ils  TASK SWITCH    f68348         1000      ACTIVE
 137            rpc  TASK SWITCH    f68460         1000      ACTIVE
 138            rsh  TASK SWITCH    f68294         1000      ACTIVE
 140           smtp  TASK SWITCH    f6826c         1000      ACTIVE
 141         sqlnet  TASK SWITCH    f682a8         1000      ACTIVE
 142            sip  TASK SWITCH    f68320         1000      ACTIVE
 143         skinny  TASK SWITCH    f68334         1000      ACTIVE
 144     udp_domain  TASK SWITCH    f68410         1000      ACTIVE
 145        rpc_udp  TASK SWITCH    f68370         1000      ACTIVE
 146          xdmcp  TASK SWITCH    f68384         1000      ACTIVE
 147        udp_sip  TASK SWITCH    f683fc         1000      ACTIVE
 148        netbios  TASK SWITCH    f683d4         1000      ACTIVE
 149   ftp_filter_command  TASK SWITCH    f68438         1000      ACTIVE
 150   https_filter  TASK SWITCH    f6844c         1000      ACTIVE
----------------------------------------------------------------------

Related Commands

clear dispatch stats
show dispatch stats

show distance

To display the OSPF route administrative distances based on route type, use the show distance command.

show distance

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display OSPF route administrative distances:

fwsm(config)# show distance

Related Commands

distance (router submode)
router ospf
show ip ospf

show domain-name

To display the IPSec domain name, use the show domain-name command..

show domain-name name

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The domain-name command allows you to change the IPSec domain name.


Note The change of the domain name causes the change of the fully qualified domain name. Once the fully qualified domain name is changed, delete the RSA key pairs using the ca zeroize rsa command, and delete related certificates using the no ca identity ca_nickname command.


Examples

This example shows how to display the IPSec domain name:

fwsm/context_name(config)# show domain-name example.com

Related Commands

domain-name

show dynamic-map

To display a dynamic crypto map entry, use the show dynamic-map command.

show dynamic-map

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display dynamic crypto map entries.

fwsm/context_name(config)# show dynamic-map
No crypto map templates found.

Related Commands

crypto dynamic-map
dynamic-map

show enable

To display the password configuration for privilege levels, use the show enable command.

show enable

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the password configuration:

fwsm/context_name(config)# show enable
enable password 8Ry2YjIyt7RRXU24 encrypted

Related Commands

enable

show established

To display the allowed inbound connections that are based on established connections, use the show established command.

show established

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display inbound connections that are based on established connections:

fwsm/context_name(config)# show established

Related Commands

clear established
established

show failover

To verify the status of the connection and to determine which module is active, use the show failover command.

show failover [statistics | state | interface | history]

Syntax Description

statistics

Displays failover statistics.

state

Displays the failover state.

interface

Displays the interface configuration.

history

Displays the configuration history.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show failover command allows you to display the dynamic failover information, interface status, and logical interface update status. In the show failover output, the fields have the following values:

Stateful Obj has these values:

Xmit—Indicates the number of packets transmitted.

Xerr—Indicates the number of transmit errors.

Rcv—Indicates the number of packets received.

Rcv—Indicates the number of receive errors.

Each row is for a particular object static count as follows:

General—Indicates the sum of all stateful objects.

Sys cmd—Refers to the logical update system commands, such as login or stay alive.

Up time—Indicates the value for the FWSM up time, which the active FWSM module will pass on to the standby module.

Xlate—Indicates the FWSM translation information.

Tcp conn—Indicates the FWSM dynamic TCP connection information.

Udp conn—Indicates the FWSM dynamic UDP connection information.

ARP tbl—Indicates the FWSM dynamic ARP table information.

RIF tbl—Indicates the dynamic router table information.

The Standby Logical Update Statistics output that is displayed when you use the show failover command describes only the stateful failover. The "xerrs" value does not indicate an error in failover, but rather the number of packet transmit errors.

If you do not enter a failover IP address, the show failover command displays 0.0.0.0 for the IP address, and monitoring of the interfaces remain in a "waiting" state. You must set a failover IP address for failover to work.

Examples

This example shows how to display failover information:

fwsm(config)# show failover
Failover Off
Failover unit Secondary
Failover LAN Interface not Configured
Unit Poll frequency 1 seconds
Interface Poll frequency 15 seconds
Interface Policy 50%
Monitored Interfaces 0 of 250 maximum

Related Commands

clear failover
failover
failover interface ip
failover interface-policy
failover lan interface
failover lan unit
failover link
failover polltime
failover reset
monitor-interface
show failover
write standby

show file

To display the information about the file system, use the show file command.

show file descriptors | system

Syntax Description

descriptors

Displays all open file descriptors.

system

Displays the size, bytes available, type of media, flags, and prefix information about the disk file system.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the file system information:

fwsm(config)# show file descriptors
No open file descriptors
fwsm(config)# show file system
File Systems:
   Size(b)     Free(b)    Type  Flags  Prefixes
* 60985344    60973056    disk    rw     disk:

Related Commands

cd
copy disk
copy flash
copy tftp
copy tftp
dir
format
mkdir
more
pwd
rename
rmdir

show filter

To display the URL, Java, or HTTPS filtering information, use the show filter command.

show filter

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display filtering information:

fwsm/context_name(config)# show filter

Related Commands

clear filter
filter ftp
filter https
filter url

show firewall

To display the FWSM mode, use the show firewall command.

show firewall [transparent]

Syntax Description

transparent

(Optional) Specifies the transparent mode.


This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the firewall mode:

fwsm(config)# show firewall
Firewall mode: Router

Related Commands

clear firewall
firewall

show fixup

To display the fixup configuration and port values, use the show fixup command.

show fixup

show fixup protocol  {protocol [protocol] | mgcp}

Syntax Description

protocol protocol

(Optional) Displays the port values for the protocol specified.

mgcp

(Optional) Displays the configured MGCP fixups.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show fixup command allows you to display the current fixup configuration and port values.

The show fixup protocol  protocol [protocol] command allows you to display the port values for the individual protocol specified.

The show fixup protocol mgcp command allows you to display the configured MGCP fixups.

Examples

This example shows how to display the current fixup configuration and port values:

fwsm(config)# show fixup
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
fixup protocol pptp 1723
fixup protocol sip udp 5060

This example shows the configured MGCP fixups:

fwsm(config)# show fixup protocol mgcp
fixup protocol mgcp 2427
fixup protocol mgcp 2727

Related Commands

clear fixup
fixup protocol

show flashfs

To display the file system information, use the show flashfs command.

show flashfs

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show flashfs command displays the size in bytes of each file system sector and the current state of the file system. The data in each sector is as follows:

file 0—FWSM binary image, where the .bin file is stored.

file 1—FWSM configuration data that you can view with the show config command.

file 2—FWSM data file that stores IPSec key and certificate information.

file 3—flashfs downgrade information for the show flashfs command.

file 4—The compressed FWSM image size in the Flash partition.

The origin values are integer multiples of the underlying file system sector size.

Examples

This example shows how to display file system information:

fwsm(config)# show flashfs
flash file system:  version:2  magic:0x12345679
  file 0: origin:       0 length:1511480
  file 1: origin: 2883584 length:3264
  file 2: origin:       0 length:0
  file 3: origin: 3014656 length:4444164
  file 4: origin: 8257536 length:280

Related Commands

clear floodguard
flashfs

show floodguard

To display the flood guard status, use the show floodguard command.

show floodguard

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the flood guard status:

fwsm/context_name(config)# show floodguard
floodguard enable

Related Commands

clear floodguard
floodguard

show fragment

To display the states of the fragment databases, use the show fragment command.

show fragment [interface]

Syntax Description

interface

(Optional) FWSM interface.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show fragment command allows you to display the states of the fragment databases. If you specify the interface name, only information for the database residing at the specified interface is displayed. If you do not specify the interface name, the command will apply to all interfaces.

Use the show fragment command to display this information:

State of the fragment database.

Size—Maximum number of packets set by the size keyword. This value is the maximum number of fragments that are allowed on the interface. (Max_Block)

Chain—Maximum number of fragments for a single packet set by the chain keyword. (Max_Block_Chain)

Timeout—Maximum number of seconds set by the timeout keyword. This value is the time that you allow the fragments to exist in the system per interface before they are deleted by the garbage collection process.

Queue—Number of packets currently awaiting reassembly. This value specifies the actual number of fragments that have been received on the interface. (Block_Queued)

Assemble—Number of packets successfully reassembled. This counter is not used because the FWSM is providing virtual reassembly of packets.

Fail—Number of packets that failed to be reassembled. This error counter is incremented when bad fragments are received.

Overflow—Number of packets that overflowed the fragment database. This counter is incremented when the limit that you specify for fragmented packets crossing the interface is reached.

Examples

This example shows how to display the states of the fragment databases:

fwsm(config)# show fragment outside
Interface:outside
Size:2000, Chain:45, Timeout:10
Queue:1060, Assemble:809, Fail:0, Overflow:0

Related Commands

clear fragment
fragment

show ftp

To display the FTP mode, use the show ftp command.

show ftp

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

2.2(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the FTP mode:

fwsm(config)# show ftp
ftp mode passive

Related Commands

clear ftp
ftp mode

show gc

To display the garbage collection process statistics, use the show gc command.

show gc

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display garbage collection process statistics:

fwsm(config)# show gc

Garbage collection process stats:
Total tcp conn delete response             :            0
Total udp conn delete response             :            0
Total number of zombie cleaned             :            0
Total number of embryonic conn cleaned     :            0
Total error response                       :            0
Total queries generated                    :            0
Total queries with conn present response   :            0
Total number of sweeps                     :          946
Total number of invalid vcid               :            0
Total number of zombie vcid                :            0

Related Commands

clear gc

show global

To display the global commands in the configuration, use the show global command.

show global

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the global commands:

fwsm/context_name(config)# show global

Related Commands

clear global
global

show h225

To display the H225 statistics, use the show h225 command.

show h225

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the H225 statistics:

fwsm/context_name(config)# show h225
Total: 0
        LOCAL           TPKT    FOREIGN         TPKT

Related Commands

show h245
show h323-ras

show h245

To display the H245 statistics, use the show h245 command.

show h245

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This command shows how to display the H245 statistics:

fwsm/context_name(config)# show h245
Total: 0
        LOCAL           TPKT    FOREIGN         TPKT

Related Commands

show h225
show h323-ras

show h323-ras

To display the H323-ras statistics, use the show h323-ras command.

show h323-ras

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This command shows how to display the H323-ras statistics:

fwsm/context_name(config)# show h323-ras
Total: 0
        GK              Caller

Related Commands

show h225
show h245

show history

To display the previously entered commands, use the show history command.

show history

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: Unprivileged

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The show history command allows you to display previously entered commands. You can examine commands individually with the up and down arrows, enter ^p to display previously entered lines, or enter ^n to display the next line.

Examples

This example shows how to display previously entered commands when you are in unprivileged mode:

fwsm> show history
show history
help
show history

This example shows how to display previously entered commands when you are in privileged mode:

fwsm/context_name(config)# show history
show history
help
show history
enable
show history

This example shows how to display previously entered commands when you are in configuration mode:

fwsm(config)# show history
show history
help
show history
enable
show history
config t show history

show http

To display the HTTP server information, use the show http command.

show http

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: configuration mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display HTTP server information:

fwsm/context_name(config)# show http
http server disabled

Related Commands

clear http
http

show hw

To display the FWSM hardware version, use the show hw command.

show hw

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the FWSM hardware version:

fwsm/context_name(config)# show hw

FWSM Firewall Version 2.2(0)141

c6000-fwm-2-1-0-141  #126: Wed Jun 18 16:31:27 MDT 2003
    msgreene@boulder-view3:/users/msgreene/projects/firecat/mainline/XFWSM/obj

sw8fx1 up 1 hour 9 mins
Configuration last modified by enable_15 at 12:46:55 Jul 18 2003

Related Commands

show version

show icmp

To display the ICMP information, use the show icmp command.

show icmp

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display ICMP information:

fwsm/context_name(config)# show icmp
icmp permit any mgmt

Related Commands

icmp
clear icmp

show igmp

To display the Internet Group Management Protocol (IGMP) information for a multicast group, whether statically configured or dynamically created, use the show igmp command.

show igmp [group | interface interface_name] [detail]

Syntax Description

group

(Optional) Address of the multicast group to join.

interface interface_name

(Optional) Specifies the name of the interface to display information.

detail

(Optional) Displays all information in the IGMP table.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: System

Command Mode: Global

Command History

Release
Modification
 

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the IGMP information for a multicast group:

fwsm(config)# show igmp 

  IGMP is enabled on interface inside
  Current IGMP version is 2
  IGMP query interval is 60 seconds
  IGMP querier timeout is 125 seconds
  IGMP max query response time is 10 seconds
  Last member query response interval is 1 seconds
  Inbound IGMP access group is 
  IGMP activity: 0 joins, 0 leaves
  IGMP querying router is 10.1.3.1 (this system)

  IGMP Connected Group Membership
   Group Address    Interface            Uptime    Expires   Last Reported

Related Commands

show multicast

show ignore lsa mospf

To display the link-state advertisement (LSA) for type 6 Multicast OSPF (MOSPF) packets that you did not want sent to the syslog, use the show ignore lsa mospf subcommand.

show ignore lsa mospf

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Examples

This example shows how to display the link-state advertisement (LSA) for type 6 Multicast OSPF (MOSPF) packets that you do not want to syslog:

fwsm/context_name(config)# show ignore lsa mospf

Related Commands

ignore lsa mospf
router ospf
show ip ospf

show interface

To display the information about the VLAN configuration, use the show interface command.

show interface [interface] [running-config | detail | stats | {ip [brief]}]

Syntax Description

interface

(Optional) Identifies the interface; see the "Usage Guidelines" section for additional information.

running-config

(Optional) Displays the interface running configuration.

detail

(Optional) Displays the interface configuration details.

stats

(Optional) Displays the interface statistics.

ip

(Optional) Displays information about the interface IP configuration.

brief

(Optional) Displays compacted information about the interface IP configuration.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

You can use this command to display the status of interfaces. You can specify the id (as either the VLAN or the mapped name) or the name of the interface. The interface argument identifies a particular interface.

The dropped packets statistic in the display shows a record of those packets that arrived on the interface, but were not destined for the FWSM. These packets include traffic flooded by the switch, multicast and broadcast traffic (unless the FWSM is configured to relay those) and packets that fail sanity checks such as incorrect IP length versus Layer 2 length or checksums. This counter does not record packets dropped by the security policy.

Examples

This example shows how to display the interface activity:

fwsm(config)# show interface
Interface int450 "", is administratively down, line protocol is up
        Available but not configured via nameif
Interface int901 "share1", is administratively down, line protocol is down
        Available but not assigned from Supervisor
        MAC address 0005.9a38.7400, MTU 1500
        IP address 1.1.1.1, subnet mask 255.255.0.0
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets
Interface int902 "", is administratively down, line protocol is down
        Available but not assigned from Supervisor or configured via nameif
Interface Vlan10 "mgmt", is up, line protocol is up
        MAC address 0005.9a38.7400, MTU 1500
        IP address 10.7.12.1, subnet mask 255.255.0.0
                Received 565 packets, 109547 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 812 packets
Interface Vlan40 "outside", is administratively down, line protocol is up
        MAC address 0005.9a38.7400, MTU 1500
        IP address 40.7.12.1, subnet mask 255.255.0.0
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets
Interface Vlan41 "inside", is administratively down, line protocol is down
        MAC address 0005.9a38.7400, MTU 1500
        IP address 41.7.12.1, subnet mask 255.255.0.0
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets
In this context:
int450 = vlan450 - trunked from the cat6k, but no nameif has been done
int901 = vlan901 - NOT trunked from cat6k and a nameif has been done
int902 = vlan902 - NOT trunked from cat6k but no nameif has been done
vlan10 - trunked and nameif'd
vlan40 - trunked and namei'd, but shut
vlan41 - trunked and nameif'd, but the vlan has been shut from system.
fwsm(config)# 

This example shows how to display the interface statistics:

fwsm(config)# show interface vlan10 stats
Interface vlan10 "", is administratively down, line protocol is up
        MAC address 0000.0000.0000, MTU 0
        IP address 127.0.0.1, subnet mask 255.255.255.255
                Received 0 packets, 0 bytes
                Transmitted 0 packets, 0 bytes
                Dropped 0 packets

Related Commands

clear interface stats
interface

show ip address

To display the IP addresses that are assigned to the network interfaces, use the show ip address command.

show ip address [interface_name]

Syntax Description

interface_name

(Optional) Specifies an interface name to display detailed information; valid values are dhcp and pppoe.


Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode and multiple context mode

Access Location: context command line

Command Mode: privileged mode

Firewall Mode: routed firewall mode and transparent firewall mode

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The dhcp keyword displays detailed information about the Dynamic Host Configuration Protocol (DHCP) lease.

The pppoe keyword displays detailed information about the Point-to-Point Protocol Over Ethernet (PPPOE) connection.

Examples

This example shows how to display the IP addresses assigned to the network interfaces:

fwsm(config)# show ip address
System IP Addresses:
        ip address outside 209.165.201.2 255.255.255.224
        ip address inside 192.168.2.1 255.255.255.0
        ip address perimeter 192.168.70.3 255.255.255.0
Current IP Addresses:
        ip address outside 209.165.201.2 255.255.255.224
        ip address inside 192.168.2.1 255.255.255.0
        ip address perimeter 192.168.70.3 255.255.255.0

The current IP addresses are the same as the system IP addresses on the failover active module. When the primary module fails, the current IP addresses become the IP addresses of the standby module.

Related Commands

clear ip address
clear ip verify reverse-path
ip address
ip prefix-list
ip verify reverse-path
show ip address
show ip verify

show ip ospf

To display the general information about the OSPF routing processes, use the show ip ospf command.

show ip ospf [pid]

Syntax Description

pid

(Optional) ID of the OSPF process.


Defaults

Lists all OSPF processes if no pid is specified.

Command Modes

Security Context Mode: single context mode

Access Location: system and context command line

Command Mode: privileged mode

Firewall Mode: Routed

Command History

Release
Modification

1.1(1)

Support for this command was introduced on the FWSM.


Usage Guidelines

The OSPF routing-related show commands are available in privileged mode on the FWSM. You do not need to be in an OSPF configuration submode to use the OSPF-related show commands.

If the pid is included, only information for the specified routing process is included.

Examples

These examples show how to display general information about the OSPF routing processes:

fwsm(config)# show ip ospf 5
 Routing Process "ospf 5" with ID 127.0.0.1 and Domain ID 0.0.0.5
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 Number of external LSA 0. Checksum Sum 0x     0
 Number of opaque AS LSA 0. Checksum Sum 0x     0
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 0. 0 normal 0 stub 0 nssa
 External flood list length 0
fwsm(config)# show ip ospf
 Routing Process "ospf 5" with ID 127.0.0.1 and Domain ID 0.0.0.5
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 Number of external LSA 0. Checksum Sum 0x     0
 Number of opaque AS LSA 0. Checksum Sum 0x     0
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 0. 0 normal 0 stub 0 nssa
 External flood list length 0

 Routing Process "ospf 12" with ID 172.23.59.232 and Domain ID 0.0.0.12
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 Number of external LSA 0. Checksum Sum 0x     0
 Number of opaque AS LSA 0. Checksum Sum 0x     0
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 0. 0 normal 0 stub 0 nssa
 External flood list length 0

Related Commands

clear ip ospf
ospf (interface submode)
route-map
router ospf
routing interface
show ip ospf border-routers
show ip ospf database
show ip ospf flood-list
show ip ospf interface
show ip ospf neighbor
show ip ospf request-list
show ip ospf retransmission-list
show ip ospf summary-address
show ip ospf virtual-links
show routing

show ip ospf border-routers

To display the internal OSPF routing table entries to an area border router (ABR) and autonomous system boundary router (ASBR), use the show ip ospf border-routers command.

show ip ospf border-routers

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Security Context Mode: single context mode

Access Location: system and context command line

Command Mode: privileged mode