3 Cisco Virtual Security Gateway Show Commands

3 Cisco Virtual Security Gateway Show Commands
CH A P T E R
3
Cisco Virtual Security Gateway Show Commands
This chapter provides information about Cisco Virtual Security Gateway (VSG) show commands.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-1
Chapter 3
Cisco Virtual Security Gateway Show Commands
show aaa
show aaa
To display information about authentication, authorization, and accounting (AAA), use the show aaa
command.
show aaa [accounting | authentication | authorization | groups | users]
Syntax Description
accounting
(Optional) Displays the accounting configuration.
authentication
(Optional) Displays the authentication configuration.
authorization
(Optional) Displays the authorization configuration.
groups
(Optional) Displays configured groups.
users
(Optional) Displays remotely authenticated users.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show aaa command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the AAA configuration:
vsg# show aaa authentication
default: local
console: local
Related Commands
Command
Description
password
Configures the password.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-2
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ac-driver
show ac-driver
To display application container statistics, use the show ac-driver command.
show ac-driver statistics
Syntax Description
statistics
Defaults
None
Command Modes
EXEC
Displays application container statistics.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(3.1)
The output of the show ac-driver command was changed to show the new
application container statistics.
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show ac-driver command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display application container statistics:
vsg# show ac-driver statistics
#Packet Statistics:
Rcvd Total
Rcvd vPath L2 Pkts
Rcvd VPath Pkts
Sent to Service-Path
All Drops
Non-vPath LLC
Non-vPath type L2
Non-vPath IPV4
Service-Path not Inited
Rcvd Bad Descriptor
Packet Offset Err
Send NIC Err
5510
1140
1140
1140
0
0
0
0
0
0
0
0
Buffers in Use
Rcvd vPath IPV4 Pkts
Sent to VPath
Sent to Control-Path
3188
0
1140
4370
Non-vPath OUI
0
Non-vPath IPV4 UDP
Service-Path Down
Send to Service-Path Err
Send Bad Descriptor
0
0
0
0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-3
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ac-driver
Related Commands
Command
Description
show vsg
Displays information about a Cisco VSG.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-4
Chapter 3
Cisco Virtual Security Gateway Show Commands
show accounting
show accounting
To display the accounting log, use the show accounting command.
show accounting log [start-time year month day time end-time year month day time]
Syntax Description
log
Displays the accounting log.
start-time
(Optional) Displays the date in the log the display will start.
year month day time
(Optional) Year, day and time. The range for year is from 1970 to 2030, and
is in YYYY format. The values for month are Jan, Feb, Mar, Apr, May,
Jun, Jul, Aug, Sep, Oct, Nov, or Dec. The range for day is from 1 to 31, and
is in dd format. time is in HH:MM:SS.
end-time
(Optional) Displays the date in the log the display will end.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show accounting command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display the accounting log:
vsg# show accounting log
Fri Jan 21 17:19:35 2011:update:171.69.17.61@pts/0:admin:dir (SUCCESS)
Fri Jan 21 17:23:36 2011:update:10.193.73.130@ssh.3115:vsnbetauser:test vnsp sp1
1 (SUCCESS)
Fri Jan 21 17:24:04 2011:update:10.193.73.130@ssh.3120:vsnbetauser:test vnsp sp1
1 (SUCCESS)
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-5
Chapter 3
Cisco Virtual Security Gateway Show Commands
show accounting
Mon Jan 24 12:50:23 2011:start:171.70.216.167@pts/1:admin:
Mon Jan 24 12:52:59 2011:update:171.70.216.167@pts/1:admin:configure (SUCCESS)
Mon Jan 24 12:55:46 2011:stop:171.70.216.167@pts/1:admin:shell terminated gracef
ully
Wed Feb 2 13:56:54 2011:start:171.70.225.85@pts/2:admin:
Wed Feb 2 14:20:41 2011:stop:171.70.225.85@pts/2:admin:shell terminated because
of telnet closed
Wed Feb 2 14:32:19 2011:start:171.70.225.85@pts/3:admin:
Wed Feb 2 14:39:48 2011:stop:171.70.225.85@pts/3:admin:shell terminated because
of telnet closed
Fri Feb 4 12:16:43 2011:start:171.71.29.84@pts/4:admin:
Fri Feb 4 12:17:11 2011:update:171.71.29.84@pts/4:admin:configure (SUCCESS)
Fri Feb 4 12:18:22 2011:update:171.71.29.84@pts/4:admin:configure terminal ;
nsc-policy-agent (SUCCESS)
Fri Feb 4 12:20:41 2011:stop:171.71.29.84@pts/4:admin:shell terminated because
of telnet closed
Fri Feb 4 14:22:18 2011:start:171.71.29.84@pts/5:admin:
Fri Feb 4 14:23:05 2011:update:171.71.29.84@pts/5:admin:configure (SUCCESS)
Fri Feb 4 15:33:06 2011:stop:171.71.29.84@pts/5:admin:shell terminated because
of telnet closed
Fri Feb 4 17:05:05 2011:start:171.71.29.84@pts/6:admin:
Fri Feb 4 18:25:32 2011:stop:171.71.29.84@pts/6:admin:shell terminated because
of telnet closed
Mon Feb 7 14:12:19 2011:start:171.71.29.84@pts/7:admin:
Mon Feb 7 15:51:10 2011:stop:171.71.29.84@pts/7:admin:shell terminated because
of telnet closed
Mon Feb 7 16:30:10 2011:start:171.71.29.84@pts/8:admin:
Mon Feb 7 19:11:13 2011:stop:171.71.29.84@pts/8:admin:shell terminated because
of telnet closed
Wed Feb 9 14:43:26 2011:start:10.21.84.66@pts/9:admin:
Wed Feb 9 17:43:30 2011:stop:10.21.84.66@pts/9:admin:shell terminated because o
f telnet closed
Wed Feb 9 18:13:10 2011:start:10.21.84.66@pts/10:admin:
Wed Feb 9 18:40:00 2011:update:10.21.84.66@pts/10:admin:configure (SUCCESS)
Wed Feb 9 19:50:37 2011:start:10.21.84.66@pts/11:admin:
Wed Feb 9 20:49:00 2011:stop:10.21.84.66@pts/10:admin:shell terminated because
of telnet closed
Wed Feb 9 22:03:36 2011:stop:10.21.84.66@pts/11:admin:shell terminated because
of telnet closed
Thu Feb 10 18:41:45 2011:start:171.71.29.84@pts/12:admin:
Thu Feb 10 18:50:50 2011:stop:171.71.29.84@pts/12:admin:shell terminated because
of telnet closed
Fri Feb 11 12:09:57 2011:start:171.71.29.84@pts/13:admin:
Fri Feb 11 16:55:21 2011:stop:171.71.29.84@pts/13:admin:shell terminated because
of telnet closed
Fri Feb 11 18:19:49 2011:start:171.71.29.84@pts/14:admin:
Fri Feb 11 18:55:54 2011:stop:171.71.29.84@pts/14:admin:shell terminated because
of telnet closed
Mon Feb 14 13:35:27 2011:start:171.71.29.84@pts/15:admin:
Related Commands
Command
Description
show logging
Displays the logging configuration and the contents of the log file.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-6
Chapter 3
Cisco Virtual Security Gateway Show Commands
show banner
show banner
To display the banner, use the show banner command.
show banner motd
Syntax Description
motd
Defaults
None
Command Modes
EXEC
Displays the message of the day.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show banner command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the banner:
vsg# show banner motd
Nexus 1000V VSG
Related Commands
Command
Description
banner
Creates a banner message.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-7
Chapter 3
Cisco Virtual Security Gateway Show Commands
show boot
show boot
To display boot variables, use the show boot command.
show boot [auto-copy | module | sup-1 | sup-2 | variables]
Syntax Description
auto-copy
(Optional) Displays whether auto copy is enabled or disabled.
module
(Optional) Displays the boot variables for a specific module or all modules.
sup-1
(Optional) Displays the current and next load boot variables for supervisor 1.
sup-2
(Optional) Displays the current and next load boot variables for supervisor 2.
variables
(Optional) Displays a list of boot variables.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show boot command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display boot variables:
vsg# show boot
Current Boot Variables:
sup-1
kickstart variable = bootflash:/ks.bin
system variable = bootflash:/sys.bin
sup-2
kickstart variable = bootflash:/ks.bin
system variable = bootflash:/sys.bin
No module boot variable set
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-8
Chapter 3
Cisco Virtual Security Gateway Show Commands
show boot
Boot Variables on next reload:
sup-1
kickstart variable = bootflash:/ks.bin
system variable = bootflash:/sys.bin
sup-2
kickstart variable = bootflash:/ks.bin
system variable = bootflash:/sys.bin
No module boot variable set
Related Commands
Command
Description
boot
Creates boot variables.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-9
Chapter 3
Cisco Virtual Security Gateway Show Commands
show cdp
show cdp
To display Cisco Discovery Protocol (CDP) information, use the show cdp command.
show cdp {all | entry | global | interface | internal | neighbors | traffic}
Syntax Description
all
Displays all interfaces in the CDP database.
entry
Displays CDP entries in the CDP database.
global
Displays global CDP information.
interface
Displays CDP information for an interface.
internal
Displays private memory statistics for the UUID.
neighbors
Displays CDP neighbors.
traffic
Displays CDP traffic statistics.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show cdp command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display all interfaces in the CDP database:
vsg# show cdp all
Interface Index :83886080
Interface mgmt0:
Operational status: up
Config status: enabled
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-10
Chapter 3
Cisco Virtual Security Gateway Show Commands
show cdp
Refresh time: 60
Hold time: 180
Interface Index :117440512
Interface data0:
Operational status: up
Config status: enabled
Refresh time: 60
Hold time: 180
Related Commands
Command
Description
cdp
Configures CDP parameters.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-11
Chapter 3
Cisco Virtual Security Gateway Show Commands
show cli
show cli
To display command-line interface (CLI) information, use the show cli command.
show cli {alias | dynamic | history | interface | internal | list | syntax | variables}
Syntax Description
alias
Displays the CLI alias.
dynamic
Display the current range of dynamic parameters.
history
Displays the CLI command history.
interface
Displays the CLI interface table.
internal
Displays the CLI statistics.
list
Displays the CLI command syntax.
syntax
Displays the Extended Backus–Naur Form (EBNF) syntax of all commands.
variables
Displays the CLI variables.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show cli command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you enter a show command that displays a long list of data, you can press Ctrl-C at any time to
exit that list.
Examples
This example shows how to display CLI variables:
vsg# show cli variables
VSH Variable List
-----------------
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-12
Chapter 3
Cisco Virtual Security Gateway Show Commands
show cli
SWITCHNAME="vsg"
TIMESTAMP="2011-02-14-17.33.37"
Related Commands
Command
Description
cli var
Defines CLI variables.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-13
Chapter 3
Cisco Virtual Security Gateway Show Commands
show clock
show clock
To display the clock, use the show clock command.
show clock [detail]
Syntax Description
detail
Defaults
None
Command Modes
EXEC
(Optional) Displays the day, the time, and the year.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show clock command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the clock:
vsg# show clock detail
Mon Feb 14 17:47:44 UTC 2011
Related Commands
Command
Description
clock
Manages the system clock.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-14
Chapter 3
Cisco Virtual Security Gateway Show Commands
show copyright
show copyright
To display copyright information, use the show copyright command.
show copyright
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show copyright command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display copyright information:
vsg# show copyright
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2011, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
Related Commands
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-15
Chapter 3
Cisco Virtual Security Gateway Show Commands
show copyright
Command
Description
show version
build-info
Displays build information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-16
Chapter 3
Cisco Virtual Security Gateway Show Commands
show cores
show cores
To display all core dumps, use the show cores command.
show cores
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show cores command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display all core dumps:
vsg# show cores
Related Commands
Command
Description
show event-log
Displays the event log.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-17
Chapter 3
Cisco Virtual Security Gateway Show Commands
show debug
show debug
To show debug flags, use the show debug command.
show debug [aaa | arp | ascii-cfg | bootvar | capability | cdp | cert-enroll | clis | core | ethpm |
evmc | fm | fs-daemon | igmp | im | ip | ipconf | ipv6 | kadb | klm-rswem | logfile | module |
monitor | msp | mvsh | ntp | platform | plugin | port-channel | redundancy | res_mgr |
scheduler | security | snmp | system | tcap | ttyd | vdc | vlan | nsc | nsc-pa | vsh | vshd | xml]
Syntax Description
aaa
(Optional) Displays AAA debugging flags.
arp
(Optional) Displays ARP debugging flags.
ascii-cfg
(Optional) Displays ASCII-CFG debugging flags.
bootvar
(Optional) Displays boot variables debugging flags.
capability
(Optional) Displays capability debugging flags.
cdp
(Optional) Displays CDP debugging flags.
cert-enroll
(Optional) Displays certificate enrollment debugging flags.
clis
(Optional) Displays CLI debugging flags.
core
(Optional) Displays core daemon debugging flags.
ethpm
(Optional) Displays ETHPM debugging flags.
evmc
(Optional) Displays EVMC debugging flags.
fm
(Optional) Displays feature manager debugging flags.
fs-daemon
(Optional) Displays FS daemon debugging flags.
igmp
(Optional) Displays PIM debugging flags.
im
(Optional) Displays IM debugging flags.
ip
(Optional) Displays IP information.
ipconf
(Optional) Displays IPCONF debugging flags.
ipv6
(Optional) Displays IPv6 information.
kadb
(Optional) Displays kernel ADB debugging flags.
klm-rwsem
(Optional) Displays RWSEM driver debugging flags.
logfile
(Optional) Displays the log file.
module
(Optional) Displays module debugging flags.
monitor
(Optional) Displays Ethernet Span debugging flags.
msp
(Optional) Displays MSP debugging flags.
mvsh
(Optional) Displays MVSH debugging flags.
ntp
(Optional) Displays NTP debugging flags.
platform
(Optional) Displays platform manager debugging flags.
plugin
(Optional) Displays plugin debugging flags.
port-channel
(Optional) Displays port-channel debugging flags.
redundancy
(Optional) Displays redundancy driver debugging flags.
res_mgr
(Optional) Displays resource manager debugging flags.
scheduler
(Optional) Displays scheduler debugging flags.
security
(Optional) Displays security debugging flags.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-18
Chapter 3
Cisco Virtual Security Gateway Show Commands
show debug
snmp
(Optional) Displays SNMP server debugging flags.
system
(Optional) Displays system debugging flags.
tcap
(Optional) Displays exception logger debugging flags.
ttyd
(Optional) Displays TTYD debugging flags.
vdc
(Optional) Displays VDC manager debugging flags.
vlan
(Optional) Displays VLAN manager debugging flags.
nsc
(Optional) Displays NSC debugging flags.
nsc-pa
(Optional) Displays NSC PA debugging flags.
vsh
(Optional) Displays VSH debugging flags.
vshd
(Optional) Displays VSHD debugging flags.
xml
(Optional) Displays XML debugging flags.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show debug command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display AAA debug flags:
vsg# show debug aaa
Related Commands
Command
Description
show debug-filter
Displays debugging filters.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-19
Chapter 3
Cisco Virtual Security Gateway Show Commands
show debug-filter
show debug-filter
To display debug filters, use the show debug-filter command.
show debug-filter {all | arp | igmp | ip | ipv6}
Syntax Description
all
Displays all debugs filters.
arp
Displays Address Resolution Protocol (ARP) debug filters.
igmp
Displays Internet Group Management Protocol (IGMP) debug filters.
ip
Displays IP information.
ipv6
Displays IPv6 information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show debug-filter command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display debug filters:
vsg# show debug-filter all
Related Commands
Command
Description
show debug
Displays debugging flags.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-20
Chapter 3
Cisco Virtual Security Gateway Show Commands
show environment
show environment
To display information about the system environment, use the show environment command.
show environment [clock | fan | power | temperature]
Syntax Description
clock
(Optional) Displays clock information.
fan
(Optional) Displays fan information.
power
(Optional) Displays power capacity and power distribution information.
temperature
(Optional) Displays temperature sensor information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show environment command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information about the system fan:
vsg# show environment fan
Fan:
-----------------------------------------------------Fan
Model
Hw
Status
-----------------------------------------------------ChassisFan1
0.0
Ok
ChassisFan2
0.0
None
Fan Air Filter : NotSupported
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-21
Chapter 3
Cisco Virtual Security Gateway Show Commands
show environment
Related Commands
Command
Description
show clock
Displays the system clock.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-22
Chapter 3
Cisco Virtual Security Gateway Show Commands
show event manager internal
show event manager internal
To display event manager events, use the show event manager internal command.
show event manager internal [evmc | mvsh | errors]
Syntax Description
evmc
(Optional) Displays event manager events.
mvsh
(Optional) Displays memory allocation statistics.
errors
(Optional) Displays the error log.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show event manager command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display event manager errors:
vsg# show event manager internal errors
1) Event:E_DEBUG, length:253, at 232142 usecs after Wed Feb 16 15:20:07 2011
[100] fu_sdb_handle_update: validation fail,
fu_is_state_active = 1,
fu_is_sync_pss_to_standby_enabled = 0,
mts_sync_event_get(mts_msg) = 0,
create_del) = 0
2) Event:E_DEBUG, length:43, at 232138 usecs after Wed Feb 16 15:20:07 2011
[100] fu_sdb_handle_update: validation fail
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-23
Chapter 3
Cisco Virtual Security Gateway Show Commands
show event manager internal
3) Event:E_DEBUG, length:55, at 232136 usecs after Wed Feb 16 15:20:07 2011
[100] fu_sync_pss_to_standby_apply:Set of checks failed
4) Event:E_DEBUG, length:58, at 971337 usecs after Wed Feb 16 15:20:02 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
5) Event:E_DEBUG, length:58, at 971525 usecs after Wed Feb 16 15:19:57 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
6) Event:E_DEBUG, length:58, at 971719 usecs after Wed Feb 16 15:19:52 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
7) Event:E_DEBUG, length:58, at 971918 usecs after Wed Feb 16 15:19:47 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
8) Event:E_DEBUG, length:58, at 971103 usecs after Wed Feb 16 15:19:42 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
9) Event:E_DEBUG, length:58, at 971307 usecs after Wed Feb 16 15:19:37 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
10) Event:E_DEBUG, length:58, at 971524 usecs after Wed Feb 16 15:19:32 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
11) Event:E_DEBUG, length:58, at 971693 usecs after Wed Feb 16 15:19:27 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
12) Event:E_DEBUG, length:58, at 971886 usecs after Wed Feb 16 15:19:22 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
13) Event:E_DEBUG, length:58, at 971094 usecs after Wed Feb 16 15:19:17 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
14) Event:E_DEBUG, length:58, at 971275 usecs after Wed Feb 16 15:19:12 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
15) Event:E_DEBUG, length:58, at 971494 usecs after Wed Feb 16 15:19:07 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
16) Event:E_DEBUG, length:58, at 971702 usecs after Wed Feb 16 15:19:02 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
17) Event:E_DEBUG, length:58, at 971921 usecs after Wed Feb 16 15:18:57 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
18) Event:E_DEBUG, length:58, at 971218 usecs after Wed Feb 16 15:18:52 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-24
Chapter 3
Cisco Virtual Security Gateway Show Commands
show event manager internal
19) Event:E_DEBUG, length:58, at 971289 usecs after Wed Feb 16 15:18:47 2011
[100] fu_sync_pss_to_standby_apply:Input event not MTS msg
Related Commands
Command
Description
show event-log
Displays the event log.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-25
Chapter 3
Cisco Virtual Security Gateway Show Commands
show event-log
show event-log
To display the event log, use the show event-log command.
show event-log all
Syntax Description
all
Defaults
None
Command Modes
EXEC
Displays the event log.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show event-log command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display the event log:
vsg# show event-log all
Related Commands
Command
Description
show event manager
internal
Displays the event manager.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-26
Chapter 3
Cisco Virtual Security Gateway Show Commands
show feature
show feature
To display system features, use the show feature command.
show feature
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show feature command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display system features:
vsg# show feature
Feature Name
-------------------dhcp-snooping
http-server
lacp
netflow
port-profile-roles
private-vlan
sshServer
tacacs
telnetServer
Instance
-------1
1
1
1
1
1
1
1
1
State
-------disabled
enabled
disabled
disabled
disabled
disabled
enabled
enabled
enabled
Related Commands
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-27
Chapter 3
Cisco Virtual Security Gateway Show Commands
show feature
Command
Description
show http-server
Displays the status of the HTTP server.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-28
Chapter 3
Cisco Virtual Security Gateway Show Commands
show file
show file
To confirm a directory’s existence, use the show file command.
show file {bootflash: | debug: | modflash: | volatile:}
Syntax Description
bootflash:
Displays the bootflash directory.
debug:
Displays the debug directory.
modflash:
Displays the modflash directory.
volatile:
Displays the volatile directory.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show file command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to confirm the existence of the bootflash directory:
vsg# show file bootflash:
/bin/showfile: /bootflash/: Is a directory
Related Commands
Command
Description
pwd
Displays the current directory.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-29
Chapter 3
Cisco Virtual Security Gateway Show Commands
show hardware
show hardware
To display hardware statistics, use the show hardware command.
show hardware [capacity | internal | stats]
Syntax Description
capacity
(Optional) Displays usage levels.
internal
(Optional) Displays internal hardware information.
stats
(Optional) Displays hardware statistics.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show hardware command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display management 0 port statistics:
vsg# show hardware internal mgmt0 stats
eth1
Link encap:Ethernet HWaddr 00:50:56:BB:00:38
inet addr:10.193.73.138 Bcast:10.193.79.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1193889201 errors:0 dropped:0 overruns:0 frame:0
TX packets:1298817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:162479674502 (151.3 GiB) TX bytes:192218320 (183.3 MiB)
Related Commands
Command
Description
show interface
Displays interface status and information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-30
Chapter 3
Cisco Virtual Security Gateway Show Commands
show hostname
show hostname
To display the hostname, use the show hostname command.
show hostname
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show hostname command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the hostname:
vsg# show hostname
VSG129-2
Related Commands
Command
Description
show hosts
Displays the hosts.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-31
Chapter 3
Cisco Virtual Security Gateway Show Commands
show hosts
show hosts
To display hosts, use the show hosts command.
show hosts
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show hosts command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display hosts:
vsg# show hosts
DNS lookup enabled
Name/address lookup uses domain service
Name servers are 255.255.255.255
Host Address
tst1 209.165.200.227
tst2 209.165.200.229
Related Commands
Command
Description
show hostname
Displays the hostname.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-32
Chapter 3
Cisco Virtual Security Gateway Show Commands
show http-server
show http-server
To display the status of the HTTP server, use the show http-server command.
show http-server
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show http-server command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows to display the status of the HTTP server:
vsg# show http-server
http-server not enabled
Related Commands
Command
Description
show feature
Displays system features.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-33
Chapter 3
Cisco Virtual Security Gateway Show Commands
show incompatibility
show incompatibility
To display incompatibilities with an image, use the show incompatibility command.
show incompatibility system {bootflash: | volatile:}
Syntax Description
system
Displays directories.
bootflash:
Displays the bootflash directory.
volatile:
Displays the volatile directory.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show incompatibility command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows to display incompatibilities with an image:
vsg# show incompatibility system bootflash:
Related Commands
Command
Description
show version image
Displays the software version of an image.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-34
Chapter 3
Cisco Virtual Security Gateway Show Commands
show inspect ftp statistics
show inspect ftp statistics
To display inspection File Transfer Protocol (FTP) statistics, use the show inspect ftp statistics
command.
show inspect ftp statistics [svs-domain]
Syntax Description
svs-domain
Defaults
None
Command Modes
EXEC
(Optional) Displays the SVS domain identification number.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show inspect ftp statistics command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows to display inspection FTP statistics:
vsg# show inspect ftp statistics
Input packets
Dropped packets
Reset-drop packets
New connections
Deleted connections
IPC errors
IPC allocation errors
Related Commands
1000
6
0
1
0
0
0
Command
Description
show ip tftp
Displays TFTP client information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-35
Chapter 3
Cisco Virtual Security Gateway Show Commands
show install all
show install all
To display installation logs, use the show install all command.
show install all {failed-standby | failure-reason | impact | status}
Syntax Description
failed-standby
Displays a log that reports failed-standby installations.
failure-reason
Displays a log that reports the reason for failed installations.
impact
Displays a log that reports the impact of installations.
status
Displays a log that reports the status of the current installation.
Defaults
None
Command Modes
EXEC
Global configuration
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show install all command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display a log that reports the status of the current installation:
vsg# show install all status
No installation has taken place since the last reboot.
Related Commands
Command
Description
show version image
Displays the software version of an image.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-36
Chapter 3
Cisco Virtual Security Gateway Show Commands
show interface
show interface
To display information about interfaces, use the show interface command.
show interface [brief | capabilities | counters | data | description | ethernet | loopback |
mac-address | mgmt | port-channel | snmp-ifindex | status | switchport | transceiver | trunk]
Syntax Description
brief
(Optional) Displays brief information about an interface.
capabilities
(Optional) Displays information about interface capabilities.
counters
(Optional) Displays interface counters.
data
(Optional) Displays the data interface.
description
(Optional) Displays a description of an interface.
ethernet
(Optional) Displays Ethernet IEEE 802.3z interfaces.
loopback
(Optional) Displays the loopback interface.
mac-address
(Optional) Displays the MAC address of an interface.
mgmt
(Optional) Displays the management interface.
port-channel
(Optional) Displays port-channel interfaces.
snmp-ifindex
(Optional) Displays the Simple Network Management Protocol (SNMP)
interface index.
status
(Optional) Displays the interface line status.
switchport
(Optional) Displays the switchport interface.
transceiver
(Optional) Displays interface transceiver information.
trunk
(Optional) Displays trunk interface information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show interface command:
•
>—Redirects the output to a file.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-37
Chapter 3
Cisco Virtual Security Gateway Show Commands
show interface
Examples
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information about the management 0 interface:
vsg# show interface mgmt 0
mgmt0 is up
Hardware: Ethernet, address: 0050.56bb.0038 (bia 0050.56bb.0038)
Internet Address is 10.193.73.138/21
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
full-duplex, 10 Gb/s
Auto-Negotiation is turned on
1 minute input rate 44136 bits/sec, 62 packets/sec
1 minute output rate 1808 bits/sec, 1 packets/sec
Rx
755797571 input packets 131701 unicast packets 2575417 multicast packets
753090453 broadcast packets 107614075553 bytes
Tx
1240518 output packets 1144680 unicast packets 43411 multicast packets
52427 broadcast packets 203763544 bytes
Related Commands
Command
Description
show ip interface
Displays IP interface information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-38
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ip
show ip
To display IP statistics, use the show ip command.
show ip {adjacency | arp | client | igmp | interface | internal | logging | netstack | process | route
| static-route | tftp | traffic}
Syntax Description
adjacency
Displays the IP adjacency table.
arp
Displays IP Address Resolution Protocol (ARP) table and statistics.
client
Displays clients registered with the IP process.
igmp
Display the IP address Internet Group Management Protocol (IGMP) status
and configuration.
interface
Displays IP interface information.
internal
Displays internal IP information.
logging
Displays the IP policy logging table.
netstack
Displays the netstack local cache.
process
Displays global IP information.
route
Displays routing information.
static-route
Displays configured static routes.
tftp
Displays Trivial File Transfer Protocol (TFTP) client information.
traffic
Displays IP software processed traffic statistics.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show ip command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-39
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ip
Examples
This example shows how to display IP traffic statistics:
vsg# show ip traffic
IP Software Processed Traffic Statistics
---------------------------------------Transmission and reception:
Packets received: 647601245, sent: 1145486, consumed: 0,
Forwarded, unicast: 1099007, multicast: 0, Label: 0
Opts:
end: 0, nop: 0, basic security: 0, loose source route: 0
timestamp: 0, record route: 0
strict source route: 0, alert: 4,
other: 0
Errors:
Bad checksum: 0, packet too small: 0, bad version: 0,
Bad header length: 0, bad packet length: 0, bad destination: 0,
Bad ttl: 0, could not forward: 645386546, no buffer dropped: 0,
Bad encapsulation: 20, no route: 377, non-existent protocol: 0
MBUF pull up fail: 0
Fragmentation/reassembly:
Fragments received: 0, fragments sent: 0, fragments created: 0,
Fragments dropped: 0, packets with DF: 0, packets reassembled: 0,
Fragments timed out: 0
ICMP Software Processed Traffic Statistics
-----------------------------------------Transmission:
Redirect: 30725, unreachable: 0, echo request: 0, echo reply: 0,
Mask request: 0, mask reply: 0, info request: 0, info reply: 0,
Parameter problem: 0, source quench: 0, timestamp: 0,
Timestamp response: 0, time exceeded: 0,
Irdp solicitation: 0, irdp advertisement: 0
Reception:
Redirect: 0, unreachable: 0, echo request: 0, echo reply: 0,
Mask request: 0, mask reply: 0, info request: 0, info reply: 0,
Parameter problem: 0, source quench: 0, timestamp: 0,
Timestamp response: 0, time exceeded: 0,
Irdp solicitation: 0, irdp advertisement: 0,
Format error: 0, checksum error: 0
Statistics last reset: never
Related Commands
Command
Description
show ipv6
Displays IPv6 information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-40
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ipv6
show ipv6
To display IPv6 statistics, use the show ipv6 command.
show ipv6 {adjacency | icmp | mld | nd | neighbor | route | routers}
Syntax Description
adjacency
Displays the IPv6 adjacency table.
icmp
Displays ICMPv6 information.
mld
Displays Multicast Listener Discovery information.
nd
Displays Neighbor Discovery interface information.
neighbor
Displays IPv6 neighbor information.
route
Displays the IPv6 routing table.
routers
Displays neighbor routing information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show ipv6 command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display an IPv6 adjacency table:
vsg# show ipv6 adjacency summary
IPv6 AM Table - Adjacency Summary
Static
Dynamic
Others
Total
:
:
:
:
2
03
0
5
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-41
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ipv6
Related Commands
Command
Description
show ip
Displays IP information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-42
Chapter 3
Cisco Virtual Security Gateway Show Commands
show kernel internal
show kernel internal
To display kernel information, use the show kernel command.
show kernel internal {aipc | cpuhogmon | ide-statistics | malloc-stats | meminfo | messages |
skb-stats | softnetstat}
Syntax Description
aipc
Displays kernel AIPC information.
cpuhogmon
Displays CPU hog monitoring.
ide-statistics
Displays IDE statistics
malloc-stats
Displays malloc statistics.
meminfo
Displays kernel memory usage information.
messages
Displays kernel messages.
skb-stats
Displays SK buffer allocation statistics.
softnetstat
Displays kernel network queue information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show kernel internal command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information about memory:
vsg# show kernel internal meminfo
MemTotal:
1944668 kB
MemFree:
909024 kB
Buffers:
70880 kB
Cached:
397144 kB
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-43
Chapter 3
Cisco Virtual Security Gateway Show Commands
show kernel internal
RAMCached:
Allowed:
Free:
Available:
SwapCached:
Active:
Inactive:
HighTotal:
HighFree:
LowTotal:
LowFree:
SwapTotal:
SwapFree:
Dirty:
Writeback:
Mapped:
Slab:
CommitLimit:
Committed_AS:
PageTables:
VmallocTotal:
VmallocUsed:
VmallocChunk:
Related Commands
351732
486167
227256
257029
0
567632
329852
1179584
334080
765084
574944
0
0
0
0
548996
29756
972332
943536
4064
114680
87644
26940
kB
Pages
Pages
Pages
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
kB
Command
Description
show system internal
kernel
Displays kernel information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-44
Chapter 3
Cisco Virtual Security Gateway Show Commands
show line
show line
To display the command line configuration, use the show line command.
show line [com1 | console]
Syntax Description
com1
(Optional) Displays the auxiliary command line configuration.
console
(Optional) Displays the console command line configuration.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show line command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the command line configuration:
vsg# show line
line Console:
Speed:
9600 baud
Databits:
8 bits per byte
Stopbits:
1 bit(s)
Parity:
none
Modem In: Disable
Modem Init-String default : ATE0Q1&D2&C1S0=1\015
line Aux:
Speed:
Databits:
Stopbits:
Parity:
9600 baud
8 bits per byte
1 bit(s)
none
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-45
Chapter 3
Cisco Virtual Security Gateway Show Commands
show line
Modem In: Disable
Modem Init-String default : ATE0Q1&D2&C1S0=1\015
Hardware Flowcontrol: ON
Related Commands
Command
Description
cli
Configures the command line.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-46
Chapter 3
Cisco Virtual Security Gateway Show Commands
show logging
show logging
To display logging information, use the show logging command.
show logging [console | info | internal | last | level | logfile | module | monitor | pending |
pending-diff | server | session | status | timestamp]
Syntax Description
console
(Optional) Displays the console logging configuration.
info
(Optional) Displays the logging configuration.
internal
(Optional) Displays syslog information.
last
(Optional) Displays the last few lines of a log.
level
(Optional) Displays the facility logging configuration.
logfile
(Optional) Displays a log file.
module
(Optional) Displays the module logging configuration.
monitor
(Optional) Displays the monitor logging configuration.
pending
(Optional) Displays the server address pending configuration.
pending-diff
(Optional) Displays the server address pending configuration.
server
(Optional) Displays the server logging configuration.
session
(Optional) Displays the logging session status.
status
(Optional) Displays the logging status.
timestamp
(Optional) Displays the logging time-stamp configuration.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show logging command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-47
Chapter 3
Cisco Virtual Security Gateway Show Commands
show logging
When you enter a show command that displays a long list of data, you can press Ctrl-C at any time to
exit that list.
Examples
This example shows how to display the logfile:
VSG129-2# show logging logfile start-seqn 1
Last Log cleared/wrapped time is : None
1: 2011 Jan 21 17:17:21 VSG129-2 %KERN-2-SYSTEM_MSG: Starting kernel... - kernel
2: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: PCI: Cannot allocate resour
ce region 1 of device 0000:00:0f.0 - kernel
3: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: sda: assuming drive cache:
write through - kernel
4: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: sda: assuming drive cache:
write through - kernel
5: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: CMOS: Module initialized kernel
6: 2011 Jan 21 17:17:21 VSG129-2 %KERN-1-SYSTEM_MSG: calling register_stun_set_d
omain_id() - kernel
7: 2011 Jan 21 17:17:21 VSG129-2 %KERN-1-SYSTEM_MSG: register_stun_set_domain_id
() - kernel
8: 2011 Jan 21 17:17:21 VSG129-2 %KERN-1-SYSTEM_MSG: Successfully registered SNA
P client for SNAP=0x00000c013200 0xf1117360 - kernel
9: 2011 Jan 21 17:17:21 VSG129-2 %KERN-1-SYSTEM_MSG: STUN : Successfully created
Socket - kernel
10: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: redun_platform_ioctl : Ent
ered - kernel
11: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: redun_platform_ioctl : SW
version is set 4.2(1)VSG1(1) - kernel
12: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG: - dhcpd
13: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG: No subnet declaration fo
r ftp0 (127.2.1.1). - dhcpd
14: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG: ** Ignoring requests on
ftp0. If this is not what - dhcpd
15: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
you want, please writ
e a subnet declaration - dhcpd
16: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
in your dhcpd.conf fi
le for the network segment - dhcpd
17: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
to which interface ft
p0 is attached. ** - dhcpd
18: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG: - dhcpd
19: 2011 Jan 21 17:17:21 VSG129-2 %LOCAL7-3-SYSTEM_MSG: Not configured to listen
on any interfaces! - dhcpd
20: 2011 Jan 21 17:17:21 VSG129-2 %USER-2-SYSTEM_MSG: CLIS: loading cmd files be
gin - clis
21: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: redun_platform_ioctl : Ent
ered - kernel
22: 2011 Jan 21 17:17:21 VSG129-2 %KERN-3-SYSTEM_MSG: redun_platform_ioctl : Hos
t name is set VSG129-2 - kernel
23: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG: - dhcpd
24: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG: No subnet declaration fo
r ftp0 (127.2.1.1). - dhcpd
25: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG: ** Ignoring requests on
ftp0. If this is not what - dhcpd
26: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
you want, please writ
e a subnet declaration - dhcpd
27: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
in your dhcpd.conf fi
le for the network segment - dhcpd
28: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG:
to which interface ft
p0 is attached. ** - dhcpd
29: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG: - dhcpd
30: 2011 Jan 21 17:17:23 VSG129-2 %LOCAL7-3-SYSTEM_MSG: Not configured to listen
on any interfaces! - dhcpd
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-48
Chapter 3
Cisco Virtual Security Gateway Show Commands
show logging
31: 2011 Jan 21 17:17:23 VSG129-2 %MODULE-5-ACTIVE_SUP_OK: Supervisor 1 is activ
e (serial: T5056BB0038)
32: 2011 Jan 21 17:17:23 VSG129-2 %PLATFORM-5-MOD_STATUS: Module 1 current-statu
s is MOD_STATUS_ONLINE/OK
33: 2011 Jan 21 17:17:26 VSG129-2 %USER-2-SYSTEM_MSG: CLIS: loading cmd files en
d - clis
34: 2011 Jan 21 17:17:26 VSG129-2 %USER-2-SYSTEM_MSG: CLIS: init begin - clis
35: 2011 Jan 21 17:17:44 VSG129-2 %USER-2-SYSTEM_MSG: Invalid feature name eth-p
ort-sec - clis
36: 2011 Jan 21 17:18:00 VSG129-2 %POLICY_ENGINE-5-POLICY_ACTIVATE_EVENT: Policy
p1 is activated by profile sp1
37: 2011 Jan 21 17:18:00 VSG129-2 %IM-5-IM_INTF_STATE: mgmt0 is DOWN in vdc 1
38: 2011 Jan 21 17:18:00 VSG129-2 %IM-5-IM_INTF_STATE: mgmt0 is UP in vdc 1
39: 2011 Jan 21 17:18:00 VSG129-2 %IM-5-IM_INTF_STATE: data0 is DOWN in vdc 1
40: 2011 Jan 21 17:18:00 VSG129-2 %IM-5-IM_INTF_STATE: data0 is UP in vdc 1
41: 2011 Jan 21 17:18:00 VSG129-2 %POLICY_ENGINE-5-POLICY_COMMIT_EVENT: Commit o
peration SUCCESSFUL
42: 2011 Jan 21 17:18:00 VSG129-2 %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online
43: 2011 Jan 24 12:53:47 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.70.216.167@pts/1
44: 2011 Feb 7 16:30:00 VSG129-2 %AUTHPRIV-3-SYSTEM_MSG: pam_aaa:Authentication
failed for user admin from 171.71.29.84 - sshd[7496]
45: 2011 Feb 9 18:41:38 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 10.21.84.66@pts/10
46: 2011 Feb 14 14:15:31 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/15
47: 2011 Feb 14 15:58:21 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/15
48: 2011 Feb 14 16:34:25 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/15
49: 2011 Feb 14 18:38:57 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/16
50: 2011 Feb 17 20:18:55 VSG129-2 %AUTHPRIV-3-SYSTEM_MSG: pam_aaa:Authentication
failed for user admin from 10.21.144.180 - sshd[23785]
51: 2011 Feb 18 15:14:03 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/22
52: 2011 Feb 21 13:16:43 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/26
53: 2011 Feb 21 14:08:23 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/26
54: 2011 Feb 22 11:47:27 VSG129-2 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from
vty by admin on 171.71.29.84@pts/28
Related Commands
Command
Description
show event-log
Displays the event log.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-49
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ntp
show ntp
To display Network Time Protocol (NTP) information, use the show ntp command.
show ntp [internal | peer-status | peers | rts-update | source | statistics | timestamp-status]
Syntax Description
internal
(Optional) Displays internal NTP information.
peer-status
(Optional) Displays the status of all the peers.
peers
(Optional) Displays all the peers.
rts-update
(Optional) Displays the status of RTS.
source
(Optional) Displays the source IP address.
statistics
(Optional) Displays NTP statistics.
timestamp-status
(Optional) Displays the status of the time-stamp check.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show ntp command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display local NTP statistics:
VSG129-2# show ntp statistics local
system uptime:
2669747
time since reset:
2669747
old version packets:
0
new version packets:
10
unknown version number: 0
bad packet format:
0
packets processed:
0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-50
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ntp
bad authentication:
Related Commands
0
Command
Description
show clock
Displays the time.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-51
Chapter 3
Cisco Virtual Security Gateway Show Commands
show password
show password
To enable the password strength check, use the show password command.
show password strength-check
Syntax Description
strength-check
Defaults
None
Command Modes
EXEC
Displays the strength of the password.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show password command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to enable password strength check:
vsg# show password strength-check
Password strength check enabled
vsg#
Related Commands
Command
Description
show aaa
Display authentication and authorization information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-52
Chapter 3
Cisco Virtual Security Gateway Show Commands
show platform internal
show platform internal
To display platform manager information, use the show platform internal command.
show platform {all | errors | event-history | info | mem-stats | msgs}
Syntax Description
all
Displays platform information.
errors
Displays the platform manager error log.
event-history
Displays platform manager event history.
info
Displays platform manager internal information.
mem-stats
Displays platform manager memory allocation statistics.
msgs
Displays platform manager message logs.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show platform command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you enter a show command that displays a long list of data, you can press Ctrl-C at any time to
exit that list.
Examples
This example shows how to display platform manager memory statistics:
VSG129-2# show platform internal mem-stats
Inside pfm_cli_show_memstats
sending mts msg 18
Private Mem stats for UUID : Malloc track Library(103) Max types: 5
--------------------------------------------------------------------------------
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-53
Chapter 3
Cisco Virtual Security Gateway Show Commands
show platform internal
Curr alloc: 414 Curr alloc bytes: 19803(19k)
Private Mem stats for UUID : Non mtrack users(0) Max types: 81
-------------------------------------------------------------------------------Curr alloc: 149 Curr alloc bytes: 1322797(1291k)
Private Mem stats for UUID : libsdwrap(115) Max types: 22
-------------------------------------------------------------------------------Curr alloc: 11 Curr alloc bytes: 1448(1k)
Private Mem stats for UUID : Associative_db library(175) Max types: 14
-------------------------------------------------------------------------------Curr alloc: 6 Curr alloc bytes: 200(0k)
Private Mem stats for UUID : Event sequence library(158) Max types: 4
-------------------------------------------------------------------------------Curr alloc: 0 Curr alloc bytes: 0(0k)
Private Mem stats for UUID : Associative_db utils library(174) Max types: 4
-------------------------------------------------------------------------------Curr alloc: 0 Curr alloc bytes: 0(0k)
Private Mem stats for UUID : libfsrv(404) Max types: 11
-------------------------------------------------------------------------------Curr alloc: 0 Curr alloc bytes: 0(0k)
Private Mem stats for UUID : FSM Utils(53) Max types: 68
-------------------------------------------------------------------------------Curr alloc: 136 Curr alloc bytes: 7760(7k)
Private Mem stats for UUID : Platform Manager(24) Max types: 25
-------------------------------------------------------------------------------Curr alloc: 0 Curr alloc bytes: 0(0k)
Curr alloc: 716 Curr alloc bytes: 1352008 (1320k)
Related Commands
Command
Description
show system internal
mem-alerts-log
Displays the memory alert log.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-54
Chapter 3
Cisco Virtual Security Gateway Show Commands
show policy-engine
show policy-engine
To display policy engine statistics, use the show policy-engine command.
show policy-engine {policy-name | stats}
Syntax Description
policy-name
Name of the policy engine.
stats
Displays policy engine statistics.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show policy-engine command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display policy engine statistics:
vsg# show policy-engine stats
Policy Match Stats:
p1
r1
NOT_APPLICABLE
Related Commands
:
:
:
30378
30378 (Permit)
0 (Drop)
Command
Description
policy
Configures a policy.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-55
Chapter 3
Cisco Virtual Security Gateway Show Commands
show processes
show processes
To display processes, use the show processes command.
show processes [cpu | log | memory | vdc]
Syntax Description
cpu
(Optional) Displays information about CPU processes.
log
(Optional) Displays information about process logs.
memory
(Optional) Displays information about memory processes.
vdc
(Optional) Displays information about virtual device context (VDC)
processes.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show processes command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you enter a show command that displays a long list of data, you can press Ctrl-C at any time to
exit that list.
Examples
This example shows how to display information about memory processes:
vsg(config)# show processes memory
PID
----1
2
3
4
MemAlloc
-------147456
0
0
0
MemLimit
---------0
0
0
0
MemUsed
---------1441792
0
0
0
StackBase/Ptr
----------------bffffe60/bffff950
0/0
0/0
0/0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-56
Process
---------------init
ksoftirqd/0
desched/0
events/0
Chapter 3
Cisco Virtual Security Gateway Show Commands
show processes
5
10
18
35
188
189
190
191
776
823
833
837
1175
1180
1740
1747
1976
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
2003
2009
2036
2319
2320
2336
2337
2338
2373
2374
2513
2514
2515
2516
2517
2519
2524
2537
2545
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2573
2576
2583
2585
2586
2587
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
155648
0
0
0
0
0
0
0
0
0
0
180224
159744
2551808
0
0
0
0
0
0
0
0
364544
421888
23015424
933888
4120576
0
282624
155648
2109440
1073152
2732032
1155072
479232
212992
528384
512000
397312
315392
958464
479232
217088
7733248
2248704
274432
1245184
2146304
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
214619750
95819750
125824371
109213561
0
0
92591910
0
393881241
95385382
367819865
165002041
135244736
96888422
91650240
92225126
85133312
85106278
92785651
135244736
0
664149376
372636352
85254963
95083507
115889523
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1536000
0
0
0
0
0
0
0
0
0
0
1642496
1601536
15540224
0
0
0
0
0
0
0
0
69095424
68964352
106741760
74809344
81752064
0
74170368
1441792
78864384
76709888
144842752
75182080
73154560
69488640
73543680
78594048
72286208
72122368
74874880
73154560
2572288
106373120
103321600
72257536
76578816
76902400
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
bffffdb0/bffffcb0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
bffffd80/bffffb60
bffffda0/bffffb10
bffffd40/bfffed20
0/0
0/0
0/0
0/0
0/0
0/0
0/0
0/0
bffffa40/bffff8b0
bffffa70/bffff8a0
bffffa40/bfffe73c
bffffa80/bfffe850
bffffa70/bfff79e0
0/0
bffffa70/bfffe058
bffffa60/bffff988
bffffa80/bffff278
bffffa80/bfffe4d0
bffffa30/bffff690
bffffa50/bfffe4b0
bffffa40/bffff770
bffff9f0/bfffe680
bffffa60/bffff5f8
bffffa90/bffff260
bffffa60/bfff3690
bffffa70/bffff840
bffffa60/bfffe910
bffffa20/bffff750
bffff9c0/bffff820
bffffa30/bffff3e0
bffffa50/bfffd960
bffffa60/bffff830
bffffa60/bfffe2dc
bffffa60/bfffe060
khelper
kthread
kblockd/0
khubd
pdflush
pdflush
kswapd0
aio/0
kseriod
kide/0
ata/0
scsi_eh_0
kjournald
kjournald
kjournald
kjournald
portmap
nfsd
nfsd
nfsd
nfsd
nfsd
nfsd
nfsd
nfsd
lockd
rpciod
rpc.mountd
rpc.statd
sysmgr
mping-thread
mping-thread
stun_kthread
stun_arp_mts_kt
stun_packets_re
redun_kthread
redun_timer_kth
sf_rdn_kthread
xinetd
tftpd
syslogd
sdwrapd
platform
ls-notify-mts-t
pfm_dummy
klogd
vshd
stun
smm
session-mgr
psshelper
lmgrd
licmgr
fs-daemon
feature-mgr
confcheck
capability
psshelper_gsvc
cisco
clis
port-profile
xmlma
nsc_pa_intf
vmm
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-57
Chapter 3
Cisco Virtual Security Gateway Show Commands
show processes
2588
2589
2590
2591
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2614
2615
2616
2617
2618
2619
2623
2636
2637
2662
2676
2677
2678
2751
2752
2753
2754
2755
2756
2758
2762
2764
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2933
2936
2937
2938
2939
3006
3007
3019
3021
28520
28521
30327
708608
634880
450560
438272
610304
1028096
3956736
811008
2596864
3489792
1175552
1015808
581632
454656
9854976
647168
1048576
495616
5029888
4288512
6340608
1568768
3047424
806912
5693440
163840
3104768
9428992
4755456
6037504
53452800
1368064
233472
233472
1826816
233472
233472
1097728
1024000
729088
1409024
2785280
1273856
2342912
4083712
3870720
7446528
5025792
2170880
2453504
8450048
14442496
1544192
1048576
169234432
10510336
3485696
159744
172032
1142784
1167360
1142784
1167360
155648
127975372
109440179
78402579
91884531
91614195
93695782
375542464
175709177
109250944
182622105
100089228
93312806
92554035
92722572
367171059
87422156
98226585
87332044
369338252
366242905
367112486
139989132
116793318
87336550
262289420
293819750
256175321
373095923
366648409
369130995
584746060
229098848
98996198
98996198
165916537
98996198
98996198
202319744
109019750
0
113508736
366824128
365913996
107612243
206235110
317199308
504510195
186650112
199314508
118573030
156970739
309585689
204094950
93330828
1191148288
651213798
633948339
0
0
0
0
0
0
0
76795904
84406272
70279168
73687040
73551872
75186176
94433280
74731520
79581184
87179264
81141760
74964992
84045824
74289152
93200384
74403840
84234240
75096064
86528000
106196992
129155072
77787136
86609920
74678272
137621504
68661248
84361216
151752704
128327680
110952448
201703424
124534784
69996544
69996544
126001152
69996544
69996544
126873600
80056320
12656640
83517440
90828800
140460032
84082688
88436736
90644480
132648960
89972736
82145280
87961600
94244864
102936576
85684224
74928128
251592704
103919616
85774336
1441792
1527808
14630912
31797248
14630912
31797248
1712128
bffffa70/bfffe9c0
bffffaa0/bffff3c0
bffffa70/bffff530
bffffa80/bffff490
bffffa70/bffff234
bffffa80/bfffe4b0
bffffa50/bffff4f0
bffffa60/bfffbf80
bffffa80/bfffcf70
bffffa80/bfffd980
bffffa60/bfffe490
bffffa60/bfffe4a0
bffffa90/bffff470
bffffa80/bffff3b0
bffffa60/bffff4c0
bffffa40/bfffe678
bffffa60/bfffdce0
bffffa60/bfffe850
bffffa50/bffff960
bffffa50/bffff950
bffffa50/bffff8c0
bffffa70/bfffe680
bffffa80/bfffe490
bffffa80/bfffe8c0
bffffa10/bfffd8f0
bffffa20/bffff018
bffffa50/bfffe210
bffffa50/bffff530
bffffa50/bffff920
bffffa40/bffff2c8
bffffa20/bffff490
bffffa40/bfffdac0
bffffa30/bffff8c8
bffffa30/bffff8c8
bffffa50/bfffeb30
bffffa30/bffff8c8
bffffa30/bffff8c8
bffffa60/bfffed90
bffff990/bfffec90
bffffef0/bffff220
bffffa80/bfffe0a0
bffffa60/bfffdbb0
bffffa60/bfffd970
bffffa60/bfffd940
bffffa50/bfffd970
bffffa50/bfffdf80
bffffa50/bffff980
bffffa40/bfffd8f0
bffffa60/bfffe220
bffffa40/bfffd730
bffffa50/bfffe990
bffffa60/bfffdb40
bffffa60/bfffe480
bffffa50/bfffe480
bffffa60/bfffe48c
bffffa40/bfffe89c
bffffa40/bfffe24c
bffffdc0/bffffc58
bffffd90/bffffc28
bffffa30/bfffe810
bffffdc0/bffffaa0
bffffa30/bfffe810
bffffdc0/bfffa7c8
bffffcf0/bffffb4c
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-58
vdc_mgr
ttyd
sysinfo
sksd
res_mgr
plugin
npacl
mvsh
module
fwm
evms
evmc
core-dmon
bootvar
ascii-cfg
securityd
cert_enroll
aaa
l3vm
u6rib
urib
ExceptionLog
ifmgr
tcap
snmpd
PMon
aclmgr
adjmgr
arp
icmpv6
netstack
radius
ip_dummy
ipv6_dummy
ntp
pktmgr_dummy
tcpudp_dummy
cdp
dcos-xinetd
ntpd
vsim
ufdm
sal
pltfm_config
monitor
ipqosmgr
igmp
eth-port-sec
copp
eth_port_channel
vlan_mgr
ethpm
msp
vsn_service_mgr
sp
policy_engine
inspect
getty
getty
dcos_sshd
vsh
dcos_sshd
vsh
more
Chapter 3
Cisco Virtual Security Gateway Show Commands
show processes
30328
30329
1167360
0
0
0
31830016
0
bffffdc0/bfffa2d8
bffffa10/bfffef28
vsh
ps
All processes: MemAlloc = 445857792
Related Commands
Command
Description
show system resources Displays memory usage.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-59
Chapter 3
Cisco Virtual Security Gateway Show Commands
show redundancy status
show redundancy status
To display redundancy status, use the show redundancy status command.
show redundancy status
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show redundancy status command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display redundancy status:
vsg# show redundancy status
Redundancy role
--------------administrative:
standalone
operational:
standalone
Redundancy mode
--------------administrative:
operational:
HA
None
This supervisor (sup-1)
----------------------Redundancy state:
Active
Supervisor state:
Active
Internal state:
Active with no standby
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-60
Chapter 3
Cisco Virtual Security Gateway Show Commands
show redundancy status
Other supervisor (sup-2)
-----------------------Redundancy state:
Not present
Supervisor state:
Internal state:
Related Commands
N/A
N/A
System start time:
Fri Jan 21 15:45:28 2011
System uptime:
Kernel uptime:
Active supervisor uptime:
32 days, 1 hours, 46 minutes, 2 seconds
32 days, 0 hours, 14 minutes, 45 seconds
32 days, 1 hours, 45 minutes, 20 seconds
Command
Description
show system
redundancy status
Displays the system redundancy status.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-61
Chapter 3
Cisco Virtual Security Gateway Show Commands
show resource
show resource
To display resources, use the show resource command.
show resource [internal | m4route-mem | m6route-mem | monitor-session | port-channel |
u4route-mem | u6route-mem | vlan | vrf ]
Syntax Description
internal
(Optional) Displays resource manager information
m4route-mem
(Optional) Displays m4route-mem information.
m6route-mem
(Optional) Displays m6route-mem information.
monitor-session
(Optional) Displays monitor session information.
port-channel
(Optional) Displays port-channel information.
u4route-mem
(Optional) Displays u4route-mem information.
u6route-mem
(Optional) Displays u6route-mem information.
vlan
(Optional) Displays VLAN information.
vrf
(Optional) Displays the virtual routing and forwarding (VRF) information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show resource command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display resources:
vsg# show resource
Resource
Min
Max
Used
Unused
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-62
Avail
Chapter 3
Cisco Virtual Security Gateway Show Commands
show resource
----------vlan
monitor-session
vrf
port-channel
u4route-mem
u6route-mem
m4route-mem
m6route-mem
Related Commands
Command
----16
0
16
0
32
16
58
8
----2049
2
8192
768
32
16
58
8
-----2
0
2
0
1
1
0
0
-------------14
2047
0
2
14
8190
0
768
31
31
15
15
58
58
8
8
Description
show system resources Displays system resources.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-63
Chapter 3
Cisco Virtual Security Gateway Show Commands
show role
show role
To show user role information, use the show role command.
show role [feature | name role-name | pending | pending-diff | session | status]
Syntax Description
feature
(Optional) Displays role features.
name
(Optional) Displays the role name.
role-name
Name of role.
pending
(Optional) Displays uncommitted role configurations.
pending-diff
(Optional) Displays uncommitted role configurations.
session
(Optional) Displays the role session status.
status
(Optional) Displays the role status.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show role command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the details of the network-admin role:
vsg# show role name network-admin
Role: network-admin
Description: Predefined network admin role has access to all commands
on the switch
------------------------------------------------------------------Rule
Perm
Type
Scope
Entity
-------------------------------------------------------------------
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-64
Chapter 3
Cisco Virtual Security Gateway Show Commands
show role
1
Related Commands
permit
read-write
Command
Description
show users
Displays users.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-65
Chapter 3
Cisco Virtual Security Gateway Show Commands
show running-config
show running-config
To display running configurations, use the show running-config command.
show running-config [aaa | all | am | arp | cdp | cert-enroll | diff | exclude | expand-port-profile
| icmpv6 | igmp | interface | ip | l3vm | monitor | ntp | object-group group-name | policy
policy-name | rule rule-name | security | snmp | vdc-all | vlan | vshd | zone zone-name]
Syntax Description
aaa
(Optional) Displays the authentication, authorization, and accounting
(AAA) configuration.
all
(Optional) Displays the current operating configuration with defaults.
am
(Optional) Displays AM information.
arp
(Optional) Displays Address Resolution Protocol (ARP) information.
cdp
(Optional) Displays the Cisco Discovery Protocol (CDP) configuration.
cert-enroll
(Optional) Displays the configuration of the certificates.
diff
(Optional) Displays the difference between the running configuration and
the startup configuration.
exclude
(Optional) Excludes displaying specified configurations when performing
the show running-config command.
expand-port-profile
(Optional) Displays the port profile.
icmpv6
(Optional) Displays ICMPv6 information.
igmp
(Optional) Displays Internet Group Management Protocol (IGMP)
information.
interface
(Optional) Displays interface configurations.
ip
(Optional) Displays IP information.
l3vm
(Optional) Displays Layer 3 Virtual Machine information.
monitor
(Optional) Configures Ethernet SPAN sessions.
ntp
(Optional) Displays Network Time Protocol (NTP) information.
object-group
(Optional) Displays the object-group configuration.
group-name
Object group name.
policy
(Optional) Displays the policy configuration.
policy-name
Policy name.
rule
(Optional) Displays the rule configuration.
rule-name
Rule name.
security
(Optional) Displays the security configuration.
snmp
(Optional) Displays the Simple Network Management Protocol (SNMP)
configuration.
vdc-all
(Optional) Displays the virtual device context (VDC) configuration.
vlan
(Optional) Displays the VLAN configuration.
vshd
(Optional) Displays the running configuration for VSHD.
zone
(Optional) Displays the running configuration for zones.
zone-name
Zone name.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-66
Chapter 3
Cisco Virtual Security Gateway Show Commands
show running-config
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show running-config command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you enter a show command that displays a long list of data, you can press Ctrl-C at any time to
exit that list.
Examples
This example shows how to display the running configuration:
vsg# show running-config
!Command: show running-config
!Time: Wed Feb 23 11:23:41 2011
version 4.2(1)VSG1(1)
no feature telnet
no feature http-server
username adminbackup password 5 $1$Oip/C5Ci$oOdx7oJSlBCFpNRmQK4na. role network
-operator
username admin password 5 $1$nDBYx.EE$aOQn09aSYpclPxcZM9CS3. role network-admin
username vsnbetauser password 5 $1$WBkomPFW$RlOqE7fU2ZS/D4yd7bx/L. role network
-admin
banner motd #Nexus vservice#
ssh key rsa 2048
ip domain-lookup
ip domain-lookup
switchname VSG129-2
snmp-server user admin auth md5 0x49381b1f90fcb52a70b55a0bbf05d032 priv 0x49381b
1f90fcb52a70b55a0bbf05d032 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
snmp-server user vsnbetauser auth md5 0x272e8099cab7365fd1649d351b953884 priv 0x
272e8099cab7365fd1649d351b953884 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
vrf context management
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-67
Chapter 3
Cisco Virtual Security Gateway Show Commands
show running-config
ip route 0.0.0.0/0 10.193.72.1
vlan 1
port-channel load-balance ethernet source-mac
port-profile default max-ports 32
vdc VSG129-2 id 1
limit-resource vlan minimum 16 maximum 2049
limit-resource monitor-session minimum 0 maximum 2
limit-resource vrf minimum 16 maximum 8192
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 32 maximum 32
limit-resource u6route-mem minimum 16 maximum 16
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
interface mgmt0
ip address 10.193.73.138/21
interface data0
ip address 192.168.129.2/24
line console
boot kickstart bootflash:/ks.bin sup-1
boot system bootflash:/sys.bin sup-1
boot kickstart bootflash:/ks.bin sup-2
boot system bootflash:/sys.bin sup-2
ha-pair id 1292
security-profile sp1
policy p1
rule r1
action 1 permit
policy p1
rule r1 order 10
nsc-policy-agent
registration-ip 0.0.0.0
shared-secret **********
log-level
Related Commands
Command
Description
show startup-config
Displays the startup configuration.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-68
Chapter 3
Cisco Virtual Security Gateway Show Commands
show service-path connection
show service-path connection
To display service path connection information, use the show service-path connection command.
show service-path connection [svs-domain-id domain-id [module module-number]]
Syntax Description
svs-domain-id
(Optional) Displays the SVS domain.
domain-id
Domain identification number. The range is from 1 to 4095.
module
(Optional) Displays the module.
module-number
Module number. The range is from 3 to 66.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Note
Examples
Release
Modification
4.2(1)VSG1(3)
The output of the show service-path connection was changed to show that
the VLAN column displays VXLAN for any traffic coming from or going to
the VXLAN VM machine.
4.2(1)VSG1(2)
This command was modified to show more organization and detail.
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show service-path connection command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
The show service-path connection command might not display inspect-rsh actions for remote shell
traffic. This issue affects the display only and does not disrupt the traffic policy decisions.
This example shows how to display service path connections:
vsg# show service-path connection
Flags:
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-69
Chapter 3
Cisco Virtual Security Gateway Show Commands
show service-path connection
P
O
S
A
F
R
E
-
policy at src
conn offloaded to ser-path at src
seen syn from src
seen ack for syn/fin from src
seen fin from src
seen rst from src
tcp conn established (SasA done)
#SVS Domain 3720 Module
Proto SrcIP[:Port]
tcp 172.31.2.206:2677
Related Commands
p
o
s
a
f
r
T
-
policy at dst
conn offloaded to ser-path at dst
seen syn from dst
seen ack for syn/fin from dst
seen fin from dst
seen rst from dst
tcp conn torn down (FafA done)
5
DstIP[:Port]
172.31.2.106:80
Command
Description
show svs
Displays SVS information.
VLAN Action
vxlan permit
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-70
Flags
PpOoSas
Chapter 3
Cisco Virtual Security Gateway Show Commands
show service-path statistics
show service-path statistics
To display service path statistics, use the show service-path statistics command.
show service-path statistics [svs-domain-id domain-id [module module-number]]
Syntax Description
svs-domain-id
(Optional) Displays the SVS domain.
domain-id
Domain identification number. The range is from 1 to 4095.
module
(Optional) Displays the module.
module-number
Module number. The range is from 3 to 66.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(3.1)
The output of the show service-path statistics command was changed to
show the service path statistics.
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show service-path statistics command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display service path statistics:
vsg# show service-path statistics
Input Packet
9130015
Active Flows
17
Flow Create
36696
Input Packet Drop
0
SP Packet Drop
0
Input mode
Signal
Input signal mode
1
PE Corrupted Packet
0
Output Packet
Active Connections
Flow Destroy
Output Packet Drop
Corrupted Packet
Input mode change fail
Input interrupt mode
FTP Corrupted Packet
879012
12
36679
0
0
0
0
0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-71
Chapter 3
Cisco Virtual Security Gateway Show Commands
show service-path statistics
RSH Corrupted Packet
Buffer Free Fail
Vpath Frag Packet
IPV4 Frag Packet
Aged Vpath Frag Packet
Aged IPV4 Frag Packet
Bad Vpath Frag
Vpath Frag/Packet Exceed
Total Frag Inst Exceed
Non-Vpath Packet
Related Commands
SVS Domain
15
Input Packet
Flow Create
Packet Drop
Module
SVS Domain
15
Input Packet
Flow Create
Packet Drop
Module
0 TFTP Corrupted Packet
0
8249047 Vpath Inst Frag
850338 IPV4 Inst Frag
0 Vpath Frag Packet Drop
10 IPV4 Frag Packet Drop
0 Bad IPV4 Frag
0 IPV4 Frag/Packet Exceed
0
0 Vpath Ver Mismatch Packet
0
0
0
0
0
0
0
3
20957
28856
0
Output Packet
Flow Destroy
19328
28848
9109058
7840
0
Output Packet
Flow Destroy
859684
7831
4
Command
Description
show svs
Displays SVS information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-72
0
Chapter 3
Cisco Virtual Security Gateway Show Commands
show snmp
show snmp
To display Simple Network Management Protocol (SNMP) information, use the show snmp command.
show snmp [community | context | engineID | group | host | internal | sessions | source-interface
| trap | user]
Syntax Description
community
(Optional) Displays SNMP community strings.
context
(Optional) Displays SNMP context mapping entries.
engineID
(Optional) Displays the SNMP engine ID.
group
(Optional) Displays SNMP groups.
host
(Optional) Displays SNMP hosts.
internal
(Optional) Displays internal SNMP information.
sessions
(Optional) Displays SNMP sessions.
source-interface
(Optional) Displays the notifications source interface.
trap
(Optional) Displays SNMP traps.
user
(Optional) Displays SNMPv3 users.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show snmp command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display SNMP users:
vsg# show snmp user
______________________________________________________________
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-73
Chapter 3
Cisco Virtual Security Gateway Show Commands
show snmp
SNMP USERS
______________________________________________________________
User
Auth Priv(enforce) Groups
____
____ _____________ ______
______________________________________________________________
NOTIFICATION TARGET USERS (configured for sending V3 Inform)
______________________________________________________________
Related Commands
User
Auth
____
____
admin
md5
(EngineID 128:0:0:9:3:0:0:0:0:0:0)
Priv
____
des
vsnbetauser
md5
(EngineID 128:0:0:9:3:0:0:0:0:0:0)
des
Command
Description
snmp-server
Configures the SNMP server.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-74
Chapter 3
Cisco Virtual Security Gateway Show Commands
show sockets
show sockets
To display socket information, use the show sockets command.
show sockets {client | connection | internal | statistics}
Syntax Description
client
Displays client socket information.
connection
Displays socket connections information.
internal
Displays internal socket information.
statistics
Displays socket statistics.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show sockets command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display socket statistics:
vsg# show sockets statistics
TCP Received:
43556 packets total
0 checksum error, 0 bad offset, 0 too short, 0 MD5 error
33557 packets (1428824 bytes) in sequence
435 duplicate packets (8296 bytes)
0 partially dup packets (0 bytes)
141 out-of-order packets (7736 bytes)
0 packets (0 bytes) with data after window
1 packets after close
0 window probe packets, 0 window update packets
470 duplicate ack packets, 0 ack packets with unsent data
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-75
Chapter 3
Cisco Virtual Security Gateway Show Commands
show sockets
17669 ack packets (1759693 bytes)
TCP Sent:
20950 total, 0 urgent packets
20 control packets
20057 data packets (1759592 bytes)
5 data packets (736 bytes) retransmitted
809 ack only packets
0 window probe packets, 59 window update packets
TCP:
0 connections initiated, 129 connections accepted, 129 connections established
129 connections closed (including 107 dropped, 0 embryonic dropped)
4 total rxmt timeout, 0 connections dropped in rxmt timeout
40 keepalive timeout, 40 keepalive probe, 0 connections dropped in keepalive
Related Commands
Command
Description
show interface
Displays information about interfaces.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-76
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ssh
show ssh
To display secure shell (SSH) information, use the show ssh command.
show ssh {key | name | server}
Syntax Description
key
Displays the SSH keys.
name
Displays the preestablished master SSH connections.
server
Displays the status of SSH on the server.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show ssh command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the SSH keys:
vsg# show ssh key
**************************************
rsa Keys generated:Fri Oct 8 16:49:02 2010
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtL6+T2oK4lT1edlXus/eY6FChVxGdDA1T9B3pC06MWst
6+Wh4Sw3Ibpoe2uIuZE9qZjlNKLMWkReu1olXLCJlGG3QjkVUA2CMLYP6o/+fUoMZIPSyQFQk+3JwTFu
UR7uaa6OkATAr35unSnaHPKkYyv7C2S+I/H2nilY+Gbncv9D2tijsFJIOMIeIa8w5EdedMSnxOYg9ynm
9rV+Jql48mvslAKo23eSkzJT2grZu6z3d8DboiEHvrkPR/8Dwum9BXK7pM9p48l3Dae5lRuW92H/wRqs
v0u6Cyex6c6uE2f3jo4yU4tOMTCbyu2O+lXz/AsmM+gUZ1CvxrHhjgHpqw==
bitcount:2048
fingerprint:
1d:1f:75:3c:6b:41:32:c8:0a:87:40:56:10:cb:2b:e9
**************************************
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-77
Chapter 3
Cisco Virtual Security Gateway Show Commands
show ssh
could not retrieve dsa key information
**************************************
Related Commands
Command
Description
show telnet
Displays the Telnet server configuration.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-78
Chapter 3
Cisco Virtual Security Gateway Show Commands
show startup-config
show startup-config
To display startup configurations, use the show startup-config command.
show startup-config [aaa | am | arp | cdp | cert-enroll | exclude | expand-port-profile | icmpv6 |
igmp | interface | ip | l3vm | log | monitor | ntp | security | snmp | vdc-all | vshd]
Syntax Description
aaa
(Optional) Displays the authentication, authorization, and accounting
(AAA) configuration.
am
(Optional) Displays AM information.
arp
(Optional) Displays Address Resolution Protocol (ARP) information.
cdp
(Optional) Displays the Cisco Discovery Protocol (CDP) configuration.
cert-enroll
(Optional) Displays the configuration of the certificates configuration.
diff
(Optional) Displays the difference between the running configuration and
startup configuration.
expand-port-profile
(Optional) Displays the port profile.
icmpv6
(Optional) Displays Internet Control Message Protocol Version 6 (ICMPv6)
information.
igmp
(Optional) Displays Internet Group Management Protocol (IGMP)
information.
interface
(Optional) Displays interface configurations.
ip
(Optional) Displays IP information.
l3vm
(Optional) Displays Layer 3 Virtual Machine information.
log
(Optional) Displays the execution log of the latest ASCII startup
configuration.
monitor
(Optional) Displays Ethernet Switched Port Analyzer (SPAN) sessions.
ntp
(Optional) Displays Network Time Protocol (NTP) information.
security
(Optional) Displays the security configuration.
snmp
(Optional) Displays the Simple Network Management Protocol (SNMP)
configuration.
vdc-all
(Optional) Displays the virtual device context (VDC) configuration.
vshd
(Optional) Displays the running configuration for VSHD.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-79
Chapter 3
Cisco Virtual Security Gateway Show Commands
show startup-config
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show startup-config command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the startup configuration:
vsg# show startup-config
Sap 106 returned failure code:0x80480002
!Command: show startup-config
!Time: Wed Feb 23 12:52:55 2011
!Startup config saved at: Tue Nov 30 19:23:55 2010
version 4.2(1)VSG1(1)
ip domain-lookup
ip domain-lookup
switchname VSG129-2
snmp-server user admin auth md5 0x49381b1f90fcb52a70b55a0bbf05d032 priv 0x49381b
1f90fcb52a70b55a0bbf05d032 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
snmp-server user vsnbetauser auth md5 0x272e8099cab7365fd1649d351b953884 priv 0x
272e8099cab7365fd1649d351b953884 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
vrf context management
ip route 0.0.0.0/0 10.193.72.1
vlan 1
port-channel load-balance ethernet source-mac
port-profile default max-ports 32
vdc VSG129-2 id 1
limit-resource vlan minimum 16 maximum 2049
limit-resource monitor-session minimum 0 maximum 2
limit-resource vrf minimum 16 maximum 8192
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 32 maximum 32
limit-resource u6route-mem minimum 16 maximum 16
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
interface mgmt0
ip address 10.193.73.138/21
interface data0
ip address 192.168.129.2/24
ip address 192.168.129.2/24
interface data0
ip address 192.168.129.2/24
ip address 192.168.129.2/24
line console
boot kickstart bootflash:/ks.bin sup-1
boot system bootflash:/sys.bin sup-1
boot kickstart bootflash:/ks.bin sup-2
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-80
Chapter 3
Cisco Virtual Security Gateway Show Commands
show startup-config
boot system bootflash:/sys.bin sup-2
ha-pair id 1292
security-profile sp1
policy p1
rule r1
action 1 permit
policy p1
rule r1 order 10
nsc-policy-agent
registration-ip 0.0.0.0
shared-secret **********
log-level
Related Commands
Command
Description
show running-config
Displays the running configuration.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-81
Chapter 3
Cisco Virtual Security Gateway Show Commands
show system
show system
To display system information, use the show system command.
show ssh {clis | cores | error-id | exception-info | internal | pss | redundancy | resources | standby
| uptime}
Syntax Descriptioni
clis
Displays the command-line interface (CLI) server.
cores
Displays the core transfer option.
error-id
Displays the system errors.
exception-info
Displays the exception log.
internal
Displays the internal system information.
pss
Displays the most recent PSS shrink status.
redundancy
Displays the redundancy status.
resources
Displays the system resources.
standby
Displays the system standby manual boot option.
uptime
Displays how long the system has been up and running.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show system command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display system resources:
vsg# show system resources
Load average:
1 minute: 0.22
5 minutes: 0.28
15 minutes: 0.12
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-82
Chapter 3
Cisco Virtual Security Gateway Show Commands
show system
Processes
:
CPU states :
Memory usage:
Related Commands
245 total, 2 running
0.0% user,
0.0% kernel,
100.0% idle
1944668K total,
1041116K used,
903552K free
71456K buffers, 398416K cache
Command
Description
show hardware
Displays hardware information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-83
Chapter 3
Cisco Virtual Security Gateway Show Commands
show tech-support
show tech-support
To display information about technical support, use the show tech-support command.
show tech-support [adjmgr | arp | bootvar | brief | cert-enroll | cli | clis | details | dhcp | epp |
ethport | ha | icmpv6 | im | include-time | internal | ip | ipv6 | l3vm | module | npacl | ntp |
pktmgr | platform | port | port-channel | routing | snmp | sockets | sys-mgr | time-optimized
| vdc | vsd | xml]
Syntax Description
adjmgr
(Optional) Displays adjacency manager information.
arp
(Optional) Displays Address Resolution Protocol (ARP) information.
bootvar
(Optional) Displays detailed information about boot variables.
brief
(Optional) Displays a system summary.
cert-enroll
(Optional) Displays certificate information.
cli
(Optional) Displays information about the parser.
clis
(Optional) Displays information about the command-line interface (CLI)
server.
details
(Optional) Displays detailed information about troubleshooting.
dhcp
(Optional) Displays detailed information about Dynamic Host Configuration
Protocol (DHCP).
epp
(Optional) Displays detailed information about EPP.
ethport
(Optional) Displays detailed information about the Ethernet port.
ha
(Optional) Displays detailed information about high availability (HA).
icmpv6
(Optional) Displays information about ICMPv6.
im
(Optional) Displays detailed information about IM.
include-time
(Optional) Displays the time it took to gather technical support information.
internal
(Optional) Displays internal troubleshooting information.
ip
(Optional) Displays IP information.
ipv6
(Optional) Displays IPv6 information.
l3vm
(Optional) Display virtual routing and forwarding (VRF) information.
module
(Optional) Displays information about modules.
npacl
(Optional) Displays information about NPACL.
ntp
(Optional) Displays information about the Network Time Protocol (NTP).
pktmgr
(Optional) Displays packet manager information.
platform
(Optional) Displays platform information.
port
(Optional) Displays port manager information.
port-channel
(Optional) Displays port-channel information.
routing
(Optional) Displays information about routing.
snmp
(Optional) Displays information about the Simple Network Management
Protocol (SNMP).
sockets
(Optional) Displays information about sockets.
sys-mgr
(Optional) Displays information about system manager.
time-optimized
(Optional) Gathers tech-support faster.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-84
Chapter 3
Cisco Virtual Security Gateway Show Commands
show tech-support
vdc
(Optional) Displays information about the virtual device context (VDC).
vsd
(Optional) Displays information about VSD.
xml
(Optional) Displays information about XML.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show tech-support command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
When you execute a show command that displays a long list of data, you can press Ctrl-C at any time
to exit that list.
Examples
This example shows how to display HA information:
VSG129-2# show tech-support ha
`show system internal sysmgr event-history msgs`
1) Event:E_MTS_RX, length:60, at 12198 usecs after Thu Feb 24 11:38:48 2011
[REQ] Opc:MTS_OPC_SDWRAP_DEBUG_DUMP(1530), Id:0X02ECF618, Ret:SUCCESS
Src:0x00000101/39469, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF618, Sync:UNKNOWN, Payloadsize:216
Payload:
0x0000: 01 00 2f 74 6d 70 2f 64 62 67 64 75 6d 70 31 32
2) Event:E_MTS_RX, length:44, at 952704 usecs after Thu Feb 24 11:38:47 2011
[REQ] Opc:MTS_OPC_SYSMGR_ENNVAR_NON_SYSMGR_SRV_GET(2653), Id:0X02ECF601, Ret
:SUCCESS
Src:0x00000101/39467, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF601, Sync:UNKNOWN, Payloadsize:0
3) Event:E_MTS_RX, length:44, at 504521 usecs after Thu Feb 24 11:38:39 2011
[REQ] Opc:MTS_OPC_SYSMGR_ENNVAR_NON_SYSMGR_SRV_GET(2653), Id:0X02ECF494, Ret
:SUCCESS
Src:0x00000101/39441, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF494, Sync:UNKNOWN, Payloadsize:0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-85
Chapter 3
Cisco Virtual Security Gateway Show Commands
show tech-support
4) Event:E_MTS_RX, length:60, at 824041 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_INTERNAL_STATE(1386), Id:0X02ECF0FB, Ret:S
UCCESS
Src:0x00000101/39438, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0FB, Sync:UNKNOWN, Payloadsize:624
Payload:
0x0000: 00 00 00 01 00 00 02 00 00 00 00 00 00 00 00 00
5) Event:E_MTS_RX, length:60, at 823997 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_REDUNDANCY_STATUS(2499), Id:0X02ECF0F9, Re
t:SUCCESS
Src:0x00000101/39438, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0F9, Sync:UNKNOWN, Payloadsize:112
Payload:
0x0000: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
6) Event:E_MTS_RX, length:44, at 823918 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_SCOPE_DONE(2476), Id:0X02ECF0F7, Ret:SUCCESS
Src:0x00000101/39438, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0F7, Sync:UNKNOWN, Payloadsize:0
7) Event:E_MTS_RX, length:60, at 819079 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_INTERNAL_STATE(1386), Id:0X02ECF0F5, Ret:S
UCCESS
Src:0x00000101/39437, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0F5, Sync:UNKNOWN, Payloadsize:624
Payload:
0x0000: 00 00 00 01 00 00 02 00 00 00 00 00 00 00 00 00
8) Event:E_MTS_RX, length:60, at 819034 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_REDUNDANCY_STATUS(2499), Id:0X02ECF0F3, Re
t:SUCCESS
Src:0x00000101/39437, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0F3, Sync:UNKNOWN, Payloadsize:112
Payload:
0x0000: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
9) Event:E_MTS_RX, length:44, at 818960 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_SCOPE_DONE(2476), Id:0X02ECF0F1, Ret:SUCCESS
Src:0x00000101/39437, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0F1, Sync:UNKNOWN, Payloadsize:0
10) Event:E_MTS_RX, length:60, at 814417 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_INTERNAL_STATE(1386), Id:0X02ECF0EF, Ret:S
UCCESS
Src:0x00000101/39436, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0EF, Sync:UNKNOWN, Payloadsize:624
Payload:
0x0000: 00 00 00 01 00 00 02 00 00 00 00 00 00 00 00 00
11) Event:E_MTS_RX, length:60, at 814364 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_CLI_SHOW_REDUNDANCY_STATUS(2499), Id:0X02ECF0ED, Re
t:SUCCESS
Src:0x00000101/39436, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0ED, Sync:UNKNOWN, Payloadsize:112
Payload:
0x0000: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
12) Event:E_MTS_RX, length:44, at 814283 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_SCOPE_DONE(2476), Id:0X02ECF0EB, Ret:SUCCESS
Src:0x00000101/39436, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0EB, Sync:UNKNOWN, Payloadsize:0
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-86
Chapter 3
Cisco Virtual Security Gateway Show Commands
show tech-support
13) Event:E_MTS_RX, length:44, at 800624 usecs after Thu Feb 24 11:38:18 2011
[REQ] Opc:MTS_OPC_SYSMGR_ENNVAR_NON_SYSMGR_SRV_GET(2653), Id:0X02ECF0D3, Ret
:SUCCESS
Src:0x00000101/39435, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECF0D3, Sync:UNKNOWN, Payloadsize:0
14) Event:E_MTS_RX, length:48, at 37941 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAC3, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA4B, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
15) Event:E_MTS_RX, length:48, at 37931 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAC2, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA4A, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
16) Event:E_MTS_RX, length:48, at 37921 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAC1, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA49, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
17) Event:E_MTS_RX, length:48, at 37910 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAC0, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA48, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
18) Event:E_MTS_RX, length:48, at 37900 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABF, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA47, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
19) Event:E_MTS_RX, length:48, at 37890 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABE, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA46, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
20) Event:E_MTS_RX, length:48, at 37880 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABD, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA45, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
21) Event:E_MTS_RX, length:48, at 37870 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABC, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA44, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
22) Event:E_MTS_RX, length:48, at 37860 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABB, Ret:SUCCESS
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-87
Chapter 3
Cisco Virtual Security Gateway Show Commands
show tech-support
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA43, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
23) Event:E_MTS_RX, length:48, at 37850 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEABA, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA42, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
24) Event:E_MTS_RX, length:48, at 37840 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAB9, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA41, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
25) Event:E_MTS_RX, length:48, at 37830 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAB8, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA40, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
26) Event:E_MTS_RX, length:48, at 37820 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAB7, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA3F, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
27) Event:E_MTS_RX, length:48, at 37808 usecs after Thu Feb 24 11:37:00 2011
[RSP] Opc:MTS_OPC_EEM_CFG_SYNC(1701), Id:0X02ECEAB6, Ret:SUCCESS
Src:0x00000101/342, Dst:0x00000101/3, Flags:None
HA_SEQNO:0X00000000, RRtoken:0x02ECEA3E, Sync:UNKNOWN, Payloadsize:4
Payload:
0x0000: 00 00 00 00
Related Commands
Command
Description
show debug
Displays debug flags.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-88
Chapter 3
Cisco Virtual Security Gateway Show Commands
show telnet server
show telnet server
To display the status of Telnet services, use the show telnet server command.
show telnet server
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show telnet server command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the status of Telnet services:
vsg# show telnet server
telnet service not enabled
vsg#
Related Commands
Command
Description
show http
Displays the status of HTTP services.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-89
Chapter 3
Cisco Virtual Security Gateway Show Commands
show terminal
show terminal
To display information about the terminal, use the show terminal command.
show terminal [internal info]
Syntax Description
internal info
Defaults
None
Command Modes
EXEC
(Optional) Displays internal terminal information.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show terminal command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information about the terminal:
VSG129-2# show terminal internal info
Process info:
Name:
vsh
State: R (running)
SleepAVG:
88%
Tgid:
4157
Pid:
4157
PPid:
4156
TracerPid:
0
Uid:
2002
2002
2002
2002
Gid:
503
503
503
503
FDSize: 256
Groups: 503
VmSize:
31080 kB
VmLck:
0 kB
VmRSS:
9208 kB
VmData:
1140 kB
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-90
Chapter 3
Cisco Virtual Security Gateway Show Commands
show terminal
VmStk:
84 kB
VmExe:
44 kB
VmLib:
13664 kB
VmPTE:
48 kB
Threads:
1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000001000000000
SigIgn: 0000000000300004
SigCgt: 0000000180007002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
Memory limits:
core file size
(blocks, -c)
data seg size
(kbytes, -d)
file size
(blocks, -f)
max locked memory
(kbytes, -l)
max memory size
(kbytes, -m)
open files
(-n)
pipe size
(512 bytes, -p)
stack size
(kbytes, -s)
cpu time
(seconds, -t)
max user processes
(-u)
virtual memory
(kbytes, -v)
Related Commands
146484
unlimited
unlimited
unlimited
unlimited
1024
8
8192
unlimited
unlimited
204800
Command
Description
show processes
Displays process information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-91
Chapter 3
Cisco Virtual Security Gateway Show Commands
show user-account
show user-account
To display information about user accounts, use the show user-account command.
show user-account [user-account-name]
Syntax Description
user-account-name
Defaults
None
Command Modes
EXEC
(Optional) User account name.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show user-account command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display user accounts:
vsg# show user-account
user:adminbackup
this user account has no expiry date
roles:
user:admin
this user account has no expiry date
roles:network-admin
user:vsnbetauser
this user account has no expiry date
roles:network-admin
Related Commands
Command
Description
show users
Displays current users.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-92
Chapter 3
Cisco Virtual Security Gateway Show Commands
show users
show users
To display users, use the show users command.
show users
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show users command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display users:
vsg# show users
NAME
LINE
admin
pts/0
admin
pts/29
Related Commands
TIME
IDLE
Jan 21 17:19 old
Feb 23 11:13
.
PID COMMENT
3021 (171.69.17.61) session=ssh
4157 (10.21.145.11) session = ssh *
Command
Description
show user-account
Displays information about user accounts.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-93
Chapter 3
Cisco Virtual Security Gateway Show Commands
show version
show version
To display the software version, use the show version command.
show version [build-info | image | internal]
Syntax Description
build-info
(Optional) Displays software build information.
image
(Optional) Displays software image information.
internal
(Optional) Displays software compatibility results between two images.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show version command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display software build information:
vsg# show version build-info
Related Commands
Command
Description
show install
Displays the software install impact between two images.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-94
Chapter 3
Cisco Virtual Security Gateway Show Commands
show nsc-pa
show nsc-pa
To display the Prime Network Services Controller (Prime NSC) policy agent, use the show nsc-pa
command.
show nsc-pa [status | tech-support]
Syntax Description
status
(Optional) Displays the policy agent status.
tech-support
(Optional) Displays technical support information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show nsc-pa command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display the policy agent status:
vsg# show nsc-pa status
NSC Policy-Agent status is - Not Installed
Related Commands
Command
Description
show vsg
Displays Cisco VSG information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-95
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg dvport
show vsg dvport
To display information about a Cisco VSG DV port, use the show vsg dvport command.
show vsg dvport [port-name]
Syntax Description
port-name
Defaults
None
Command Modes
EXEC
(Optional) DV port name.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show vsg dvport command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information about a DV port:
vsg# show vsg dvport
DV Port
: 576::bcaa1c50-8747-8d08-fe7e-a9aa8924bf8e
Security Profile : spcustom
VM uuid
: 421c5ae4-51c3-5dd9-60fa-a50cb04ed0ea
Port Profile
: vm_data
IP Addresses :
100.1.1.20
100.1.1.10
Related Commands
Command
Description
show vsg ip-binding
Displays information about IP bindings.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-96
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg ip-binding
show vsg ip-binding
To display a list of Virtual Machine (VM) IP addresses and associated VNSP and policy sets, use the
show vsg ip-binding command.
show vsg ip-binding
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show vsg ip-binding command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display a list of VM IP addresses:
vsg# show vsg ip-binding
------------------------------------------------------------------------------VM IP address
Security-Profile Name
Policy Name
------------------------------------------------------------------------------100.1.1.20
spcustom
policy_one
100.1.1.10
sp_new
policy_one
Related Commands
Command
Description
show vsg
security-profile
Displays information about security profiles.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-97
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg security-profile
show vsg security-profile
To display information about security profiles, use the show vsg security-profile command.
show vsg security-profile [vnsp-name | detail | table]
Syntax Description
vnsp-name
(Optional) Virtual network security profile (VNSP) name.
detail
(Optional) Displays more details about the Cisco VSG security profile.
table
(Optional) Displays security profile information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show vsg security-profile command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
The detail version of the show vsg security-profile command includes the names of the VMs that are
using the security-profile in addition to security-profile information. A VNSP name can be specified to
get details of a specific security-profile.
Examples
This example shows how to display detailed information about the security profile sp_deny@root:
vsg# show vsg security-profile sp_deny@root detail
VNSP
: sp_deny@root
VNSP id
: 5
Policy Name
: ps_deny@root
Policy id
: 3
Custom attributes :
Name
: vnsporg
Value
: root
Name
: profile1
Value
: eng
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-98
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg security-profile
Virtual Machines:
sg-pg-vm206
sg-pg-redhat
Related Commands
Command
Description
show policy stats
Displays policy statistics.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-99
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg vm
show vsg vm
To display information about a Virtual Machine (VM), use the show vsg vm command.
show vsg vm
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(2)
This command was modified. The optional parameter vm-uuid was removed.
The new version of the command does not accept any parameters and always
displays information for all the virtual machines.
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show vsg vm command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display information for the Cisco VSG VM:
vsn22# show vsg vm
VM uuid
: 421c5ae4-51c3-5dd9-60fa-a50cb04ed0ea
VM attributes :
cluster-name
:
host-name
: 10.193.73.154
name
: win2k3
Related Commands
Command
Description
show vsg
Displays Cisco VSG information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-100
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg vm name
show vsg vm name
To display the name information about a Virtual Machine (VM), use the show vsg vm name command.
show vsg vm name name
Syntax Description
name
Defaults
None
Command Modes
EXEC
Name or partial name of a VM in your Cisco VSG network.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Release
Modification
4.2(1)VSG1(2)
This command was introduced.
You can use the following operators with the show vsg vm name command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This command displays information for one or more VMs. The VM name should be specified as a
parameter and can be a prefix (first few characters) or the entire name. The information for the VM
includes details of each DV port used by the VM and zones that the VM belongs to.
Examples
This example shows how to display information for the Cisco VSG VM with name linux-204:
vsg# show vsg vm name linux-204
VM uuid
: 421ceac2-3b3f-67f9-b71c-3755d2c8cabe
VM attributes :
cluster-name
: cluster23
host-name
: 10.193.77.204
name
: linux-204-184
os-fullname
: red hat enterprise linux 4 (32-bit)
os-hostname
:
res-pool
: resources
tools-status
: not-installed
vapp-name
:
DV Port(s) :
DV Port
: 272::1c7b1c50-f1b7-9a71-259d-820f4713a4b1
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-101
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg vm name
Security Profile
: SP-DC1@root/Cisco-Tenant1
Port Profile
: profile_App2
IP Addresses :
20.100.201.184
DV Port
: 240::1c7b1c50-f1b7-9a71-259d-820f4713a4b1
Security Profile
: SP-App1@root/Cisco-Tenant1
Port Profile
: profile_App1
IP Addresses :
10.100.201.184
Zone(s) :
zone_linux_204@root/Cisco-Tenant1
Related Commands
Command
Description
show vsg
Displays Cisco VSG information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-102
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg vm uuid
show vsg vm uuid
To display the Cisco VSG virtual machine UUID, use the show vsg vm uuid command.
show vsg vm uuid uuid
Syntax Description
uuid
Defaults
None
Command Modes
EXEC
Designates the name of the UUID.
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Release
Modification
4.2(1)VSG1(2)
This command was introduced.
Usage Guidelines
This command requires the VM UUID as a parameter. Information for the specified VM is displayed.
Examples
This example shows how to display the Cisco VSG UUID information:
vsg# show vsg vm uuid 421cefd6-29d1-4c8e-e563-2c3a4d58cd31
VM uuid
: 421cefd6-29d1-4c8e-e563-2c3a4d58cd31
VM attributes :
cluster-name
:
host-name
: 10.193.77.206
name
: linux-206-185
os-fullname
: red hat enterprise linux 4 (32-bit)
os-hostname
:
resource-pool
: resource-pool1
tools-status
: not-installed
vapp-name
:
Zone(s)
:
Related Commands
Command
Description
show vsg
Displays Cisco VSG information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-103
Chapter 3
Cisco Virtual Security Gateway Show Commands
show vsg zone
show vsg zone
To display the Cisco VSG zones, use the show vsg zone command.
show vsg zone
Syntax Description
This command has no keywords or arguments.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Examples
Release
Modification
4.2(1)VSG1(2)
This command was introduced.
This example shows how to display Cisco VSG zones:
vsg(config-nsc-policy-agent)# show vsg zone
Zone : centos5.3_2_VEM2@root/tenant_d3337/dc1
Virtual Machines :
centos5.3_2_vem2
-------------------------------------------------------------------------------Zone : tenant_3337_zonename1@root/tenant_d3337
Virtual Machines :
-------------------------------------------------------------------------------Zone : deletetest@root/tenant_d3337
Virtual Machines :
centos5.3_1
centos5.3_vlan100
centos5.3_2_vem2
centos5.3_2_vem1
win2003entr2-32_vlan150_100_split
centos5.2
centos5.3_1_vem2
centos5.3_3_vem1_clone
centos5.3_3_vem2_clone
Related Commands
Command
Description
show vsg
Displays Cisco VSG information.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-104
Chapter 3
Cisco Virtual Security Gateway Show Commands
show xml server
show xml server
To display XML server information, use the show xml server command.
show xml server [logging | status]
Syntax Description
logging
(Optional) Displays the logging configuration and the contents of the log
file.
status
(Optional) Displays XML agent information.
Defaults
None
Command Modes
EXEC
Global configuration (config)
SupportedUserRoles
network-admin
network-operator
Command History
Usage Guidelines
Examples
Release
Modification
4.2(1)VSG1(1)
This command was introduced.
You can use the following operators with the show xml server command:
•
>—Redirects the output to a file.
•
>>—Redirects the output to a file in append mode.
•
|—Pipes the command output to a filter.
This example shows how to display XML server information:
vsg# show xml server status
operational status is enabled
maximum session configured is 8
Related Commands
Command
Description
show http-server
Displays the HTTP server configuration.
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-105
Chapter 3
Cisco Virtual Security Gateway Show Commands
show xml server
Cisco Virtual Security Gateway for VMware vSphere Command Reference, Release 5.2(1)VSG2(1.2)
3-106
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising