Show Commands
This chapter describes the Cisco Nexus 1000V show commands.
show aaa accounting
To display the AAA accounting configuration, use the
show aaa accounting
command.
show
aaa
accounting
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the accounting configuration:
n1000v#
show aaa accounting
Related Commands
|
|
aaa accounting login
|
Configures the console or default login accounting method.
|
show running-config aaa [all]
|
Displays the AAA configuration as it currently exists in the running configuration.
|
show aaa authentication
To display the configuration for AAA authentication, use the
show aaa authentication
command.
show aaa authentication
[
login error-enable
|
login mschap
]
Syntax Description
login error-enable
|
(Optional) Displays the authentication login error message enable configuration.
|
login mschap
|
(Optional) Displays the authentication login MS-CHAP enable configuration.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the configured authentication parameters:
n1000v# show aaa authentication
This example shows how to display the authentication-login error-enable configuration:
n1000v# show aaa authentication login error-enable
This example shows how to display the authentication-login MSCHAP configuration:
n1000v# show aaa authentication login mschap
Related Commands
|
|
aaa authentication login
|
Configures the console or default login authentication method.
|
show running-config aaa [all]
|
Displays the AAA configuration as it currently exists in the running configuration.
|
show aaa groups
To display the configured AAA server groups, use the
show aaa groups
command.
show aaa groups
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display AAA group information:
Related Commands
|
|
aaa group
|
Configures an AAA server group.
|
show running-config aaa [all]
|
Displays the AAA configuration as it currently exists in the running configuration.
|
show access-list summary
To display configured access control lists (ACLs), use the
show access-list summary
command.
show access-list summary
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display configured ACLs:
n1000v# show access-lists summary
Related Commands
|
|
ip access-list
|
Creates the IP ACL and enters IP ACL configuration mode.
|
show ip access-lists
|
Displays the IP ACL configuration.
|
show accounting log
To display the accounting log contents, use the
show accounting log
command.
show accounting log [
size
] [start-time
year month day HH
:
MM
:
SS
]
Syntax Description
size
|
(Optional) Size of the log to display in bytes. The range is from 0 to 250000.
|
start-time
year month day HH
:
MM
:
SS
|
(Optional) Specifies a start time as follows.
-
The year is shown in the
yyyy
format, such as 2009.
-
The month
is shown in the three-letter English abbreviation, such as Feb.
-
The day of the month
is shown as a number from 1 to 31.
-
Hours, minutes, and seconds are shown in the
standard 24-hour format, such as 16:00:00.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the entire accounting log:
n1000v# show accounting log Wed Jul 22 02:09:44 2009:update:vsh.3286:root:configure terminal ; port-profile Unused_O r_Quarantine_Uplink ; capability uplink (SUCCESS) Wed Jul 22 07:57:50 2009:update:171.71.55.185@pts/2:admin:configure terminal ; flow reco rd newflowrecord (SUCCESS) Wed Jul 22 08:48:57 2009:start:swordfish-build1.cisco.com@pts:admin: Wed Jul 22 08:49:03 2009:stop:swordfish-build1.cisco.com@pts:admin:shell terminated grac Wed Jul 22 08:50:36 2009:update:171.71.55.185@pts/2:admin:configure terminal ; no flow r ecord newflowrecord (SUCCESS) Thu Jul 23 07:21:50 2009:update:vsh.29016:root:configure terminal ; port-profile Unused_ Or_Quarantine_Veth ; state enabled (SUCCESS) Thu Jul 23 10:25:19 2009:start:171.71.55.185@pts/5:admin: Thu Jul 23 11:07:37 2009:update:171.71.55.185@pts/5:admin:enabled aaa user default role
This example shows how to display 400 bytes of the accounting log:
n1000v# show accounting log 400 Sat Feb 16 21:15:24 2008:update:/dev/pts/1_172.28.254.254:admin:show accounting log start-time 2008 Feb 16 18:31:21 Sat Feb 16 21:15:25 2008:update:/dev/pts/1_172.28.254.254:admin:show system uptime Sat Feb 16 21:15:26 2008:update:/dev/pts/1_172.28.254.254:admin:show clock
This example shows how to display the accounting log starting at 16:00:00 on February 16, 2008:
n1000v(config)# show accounting log start-time 2008 Feb 16 16:00:00 Sat Feb 16 16:00:18 2008:update:/dev/pts/1_172.28.254.254:admin:show logging log file start-time 2008 Feb 16 15:59:16 Sat Feb 16 16:00:26 2008:update:/dev/pts/1_172.28.254.254:admin:show accounting log start-time 2008 Feb 16 12:05:16 Sat Feb 16 16:00:27 2008:update:/dev/pts/1_172.28.254.254:admin:show system uptime Sat Feb 16 16:00:28 2008:update:/dev/pts/1_172.28.254.254:admin:show clock Sat Feb 16 16:01:18 2008:update:/dev/pts/1_172.28.254.254:admin:show logging log file start-time 2008 Feb 16 16:00:16 Sat Feb 16 16:01:26 2008:update:/dev/pts/1_172.28.254.254:admin:show accounting log start-time 2008 Feb 16 12:05:16 Sat Feb 16 16:01:27 2008:update:/dev/pts/1_172.28.254.254:admin:show system uptime Sat Feb 16 16:01:29 2008:update:/dev/pts/1_172.28.254.254:admin:show clock Sat Feb 16 16:02:18 2008:update:/dev/pts/1_172.28.254.254:admin:show logging log file start-time 2008 Feb 16 16:01:16 Sat Feb 16 16:02:26 2008:update:/dev/pts/1_172.28.254.254:admin:show accounting log start-time 2008 Feb 16 12:05:16 Sat Feb 16 16:02:28 2008:update:/dev/pts/1_172.28.254.254:admin:show system uptime
Related Commands
|
|
clear accounting log
|
Clears the accounting log.
|
show banner motd
To display the configured banner message, use the
show banner motd
command.
show
banner
motd
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the configured banner message:
n1000v(config)# show banner motd April 16, 2008 Welcome to the Switch
Related Commands
|
|
banner motd
|
Configures the banner message of the day.
|
switchname
|
Changes the switch prompt.
|
show boot
To display the system and kickstart boot variables for verification, use the
show boot
command.
show boot
[
auto-copy
[
list
] |
sup-1
|
sup-2
|
variables
]
Syntax Description
auto-copy
|
(Optional) Determines whether auto-copy is enabled.
|
list
|
(Optional) Displays the list of files to be auto-copied.
|
sup-1
|
(Optional) Displays the sup-1 supervisor module configuration.
|
sup-2
|
(Optional) Displays the sup-2 supervisor module configuration.
|
variables
|
(Optional) Displays a list of boot variables.
|
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the system and kickstart boot variables for verification:
n1000v(config)# show boot bootflash:/nexus-1000v-kickstart-mzg.4.0.4 bootflash:/nexus-1000v-mzg.4.0.4.SV1.2.bin bootflash:/nexus-1000v-kickstart-mzg.4.0.4 bootflash:/nexus-1000v-mzg.4.0.4.SV1.2.bin No module boot variable set
Related Commands
|
|
boot system bootflash:
|
Adds the new system boot variable.
|
boot kickstart bootflash:
|
Adds the new kickstart boot variable.
|
reload
|
Reloads the Virtual Supervisor Module (VSM).
|
show version
|
Displays the software version is present on the VSM.
|
show cdp
To display your Cisco Discovery Protocol (CDP) configuration, use the
show cdp
command.
show
cdp
{
all
|
entry
{
all
|
name
s0
} |
global
|
interface
if0
|
traffic
interface
if2
}
Syntax Description
all
|
Display all interfaces in CDP database.
|
entry
|
Display CDP entries in database.
|
name
name
|
Display a specific CDP entry matching a name.
|
global
|
Display CDP parameters for all interfaces.
|
interface
interface
|
Display CDP parameters for a specified interface.
|
traffic interface
interface
|
Display CDP traffic statistics.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the global CDP configuration:
n1000v(config)# show cdp global
Global CDP information:
CDP enabled globally
Sending CDP packets every 5 seconds
Sending a holdtime value of 10 seconds
Sending CDPv2 advertisements is disabled
Sending DeviceID TLV in Mac Address Format
This example shows how to display the CDP configuration for a specified interface:
n1000v(config)# show cdp interface ethernet 2/3 Sending CDP packets every 60 seconds
This example shows how to display the CDP traffic statistics for a specified interface:
n1000v(config)# show cdp traffic interface ethernet 2/3 ---------------------------------------- Traffic statistics for Ethernet2/3
This example shows how to display CDP parameters for all interfaces:
Sending CDP packets every 60 seconds Sending CDP packets every 60 seconds Sending CDP packets every 60 seconds Sending CDP packets every 60 seconds Sending CDP packets every 60 seconds Sending CDP packets every 60 seconds
Related Commands
|
|
show cdp neighbors
|
Displays the configuration and capabilities of upstream devices.
|
cdp enable
|
In interface mode, enables CDP on an interface.
In EXEC mode, enables CDP for your device.
|
cdp advertise
|
Assigns the CDP version to advertise.
|
show cdp neighbors
To display the configuration and capabilities of upstream devices, use the
show cdp neighbors
command.
show
cdp
neighbors
[
interface
if
]
detail
Syntax Description
interface
if
|
(Optional) Show CDP neighbors for a specified interface.
|
detail
|
Show the detailed configuration of all CDP neighbors.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the configuration and capabilities of upstream devices:
n1000v(config)# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, Device ID Local Intrfce Hldtme Capability Platform Port ID swordfish-6k-2 Eth2/2 169 R S I WS-C6503-E Gig1/14 swordfish-6k-2 Eth2/3 139 R S I WS-C6503-E Gig1/15 swordfish-6k-2 Eth2/4 135 R S I WS-C6503-E Gig1/16 swordfish-6k-2 Eth2/5 177 R S I WS-C6503-E Gig1/17 swordfish-6k-2 Eth2/6 141 R S I WS-C6503-E Gig1/18
This example shows how to display configuration and capabilities of upstream devices for a specific interface:
n1000v(config)# show cdp neighbors interface ethernet 2/3 Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, Device ID Local Intrfce Hldtme Capability Platform Port ID swordfish-6k-2 Eth2/3 173 R S I WS-C6503-E Gig1/15
Related Commands
|
|
show cdp
|
Displays the CDP configuration and capabilities for your device.
|
cdp enable
|
In interface mode, enables CDP on an interface.
In EXEC mode, enables CDP for your device.
|
cdp advertise
|
Assigns the CDP version to advertise.
|
show class-map
To display the class map configuration for all class maps or for a specified class map, use the
show class-map
command.
show
class-map
[[
type
qos
] [
cmap-name
]]
Syntax Description
type
|
(Optional) Specifies the type of the class map.
|
qos
|
(Optional) Specifies the type QoS.
|
cmap-name
|
(Optional) Name of an existing class map.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the class map configuration for all class maps with the type qos:
n1000v# show class-map type qos class-map type qos match-all class1 class-map type qos match-all class2
Related Commands
|
|
class-map
|
Puts you in Class Map QoS configuration mode for the specified class map, and configures and saves the map name in the running configuration.
|
match access-group name
|
Configures and saves the access group to match for this class in the running configuration.
|
show ip access-lists
|
Displays all IPv4 access control lists (ACLs) or a specific IPv4 ACL.
|
show cli variables
To display user-defined CLI persistent variables, use the
show cli variables
command.
To remove user-defined CLI persistent variables, use the
cli no var name
command in configuration mode.
show
cli
variables
cli no var name
name
Syntax Description
name
|
Name of an existing variable.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display user-defined CLI persistent variables:
n1000v#
show cli variablesTIMESTAMP="2008-07-02-13.45.15"
testinterface="ethernet 3/1"
This example shows how to remove the user-defined CLI persistent variable,
mgmtport
.
n1000v# cli no var name mgmtport
Related Commands
|
|
cli var name
|
Defines a command-line interface (CLI) variable for a terminal session.
|
run-script
|
Runs a command script that is saved in a file.
|
show cores
To view recent core images, use the
show cores
command.
show
cores
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
System core image files are generated when a service fails.
Examples
This example shows how to display recent core images:
Module-num Instance-num Process-name PID Core-create-time ---------- ------------ ------------ --- ----------------
Related Commands
|
|
show processes
|
Displays information regarding process logs.
|
show feature
To display features available, such as LACP or NetFlow, and whether they are enabled, use the
show feature
command.
show
feature
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display available features and whether they are enabled:
Feature Name Instance State -------------------- -------- -------- port-profile-roles 1 enabled
Related Commands
|
|
feature
lacp
|
Enables LACP support for port channels.
|
feature
dhcp
|
Enables DHCP snooping support.
|
feature
netflow
|
Enables NetFlow support.
|
feature
private-vlan
|
Enables private VLAN support.
|
show file
To display a full filename by entering a partial filename and pressing the Tab key, use the
show file
command.
show
file
{
bootflash:
|
volatile:
|
debug:
}
partial_filename
[
cksum
|
md5sum
]
Syntax Description
bootflash
|
Specifies a directory or filename.
|
volatile:
|
Specifies a directory or filename on volatile flash.
|
debug:
|
Specifies a directory or filename on expansion flash.
|
partial_
filename
|
Portion of the filename to be displayed. Pressing Tab lists any existing files that match the partial name.
|
cksum
|
Displays CRC checksum for a file.
|
md5sum
|
Displays MD5 checksum for a file.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
When you type a partial filename and then press Tab, the CLI completes the filename if the characters that you typed are unique to a single file.
If not, the CLI lists a selection of filenames that match the characters that you typed.
You can then retype enough characters to make the filename unique; and CLI completes the filename for you.
Examples
This example shows how to display a full filename by entering a partial filename and pressing the Tab key:
n1000v# show file bootflash:nexus-1000v <Tab> bootflash:nexus-1000v-dplug-mzg.4.0.4.SV1.0.42.bin bootflash:nexus-1000v-mzg.4.0.4.SV1.0.42.bin bootflash:nexus-1000v-kickstart-mzg.4.0.4.SV1.0.42.bin
Related Commands
|
|
dir
|
Displays the contents of a directory or file.
|
copy
|
Copies a file from the specified source location to the specified destination location.
|
mkdir
|
Creates a directory at the current directory level.
|
rmdir
|
Removes a directory.
|
show flow exporter
To display information about the flow exporter, use the
show flow exporter
command.
show
flow
exporter
[
name
]
Syntax Description
name
|
(Optional) Name of an existing flow exporter.
|
Command Modes
CLI flow exporter configuration (config-flow-exporter)
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the flow exporter:
n1000v(config-flow-exporter)# show flow exporter
Related Commands
|
|
flow exporter
|
Creates a flow exporter, saves it in the running configuration, and then places you in CLI flow exporter configuration mode.
|
show flow interface
|
Displays flow interface information.
|
show flow monitor
|
Displays the monitor configuration.
|
show flow record
|
Displays the record configuration.
|
show flow interface
To display the NetFlow configuration for the specified interface, use the
show flow interface
command.
show
flow
interface
{
ethernet
interface_number
|
vethernet
slot_number
}
Syntax Description
ethernet
|
Indicates Ethernet IEEE 802.3z.
|
interface_number
|
Number that identifies this interface. The range is 1–1048575.
|
vethernet
|
Indicates virtual Ethernet interface.
|
slot_number
|
Number identifying the slot. The range is 1–66.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display NetFlow configuration information for vEthernet slot 2:
n1000v(config-if)# show flow interface veth 2
Related Commands
|
|
flow monitor
|
Creates a flow monitor, by name, saves it in the running configuration, and then places you in the CLI flow monitor configuration mode.
|
flow exporter
|
Creates a flow exporter, saves it in the running configuration, and puts you in CLI flow exporter configuration mode.
|
show flow exporter
|
Displays information about the flow exporter.
|
show flow monitor
|
Displays the monitor configuration.
|
show flow record
|
Displays the record configuration.
|
show flow monitor
To display information about existing flow monitors, use the
show flow monitor
command.
show
flow
monitor
[
name
]
Syntax Description
name
|
(Optional) Name of an existing flow monitor.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the flow monitor called MonitorTest:
n1000v(config-flow-monitor)# show flow monitor MonitorTest Flow Monitor monitortest: n1000v(config-flow-monitor)#
Related Commands
|
|
flow monitor
|
Creates a flow monitor, by name, saves it in the running configuration, and then places you in the CLI flow monitor configuration mode.
|
flow exporter
|
Creates a flow exporter, saves it in the running configuration, and then places you in CLI flow exporter configuration mode.
|
show flow exporter
|
Displays information about the flow exporter.
|
show flow record
|
Displays the record configuration.
|
show flow record
To display information about NetFlow flow records, use the
show flow record
command.
show
flow
record
[
recordname
|
netflow-original
|
netflow
{
ipv4
{
original-input
|
original-output
| netflow
protocol-port
}}]
Syntax Description
recordname
|
(Optional) Name of an existing NetFlow flow record.
|
netflow-original
|
(Optional) Specifies traditional IPv4 input NetFlow with an AS origin.
|
netflow
|
(Optional) Specifies traditional NetFlow collection schemes.
|
ipv4
|
Specifies IPv4 collection schemes.
|
original-input
|
Indicates the input NetFlow.
|
original-output
|
Indicates the output NetFlow.
|
netflow protocol-port
|
Specifies the protocol and ports aggregation scheme.
|
Command Modes
CLI flow exporter configuration (config-flow-exporter)
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was modified to change the protocol-port attribute to netflow protocol-port.
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the NetFlow flow record called RecordTest:
n1000v(config)# flow record RecordTest n1000v(config-flow-record)# show flow record RecordTest match ipv4 destination address n1000v(config-flow-record)#
Related Commands
|
|
flow monitor
|
Creates a flow monitor, by name, saves it in the running configuration, and then puts you in the CLI flow monitor configuration mode.
|
flow exporter
|
Creates a flow exporter, saves it in the running configuration, and then puts you in CLI flow exporter configuration mode.
|
show flow exporter
|
Displays information about the flow exporter.
|
show interface brief
To display a short version of the interface configuration, use the
show interface brief
command.
show
interface brief
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display a short version of the interface configuration:
-------------------------------------------------------------------------------- Port VRF Status IP Address Speed MTU -------------------------------------------------------------------------------- mgmt0 -- up 172.23.232.141 1000 1500 -------------------------------------------------------------------------------- Ethernet VLAN Type Mode Status Reason Speed Port -------------------------------------------------------------------------------- Eth3/2 1 eth trunk up none 1000(D) -- Eth3/3 1 eth access up none 1000(D) --
Related Commands
|
|
interface
|
Adds, removes or configures interfaces.
|
show interface ethernet
|
Displays information about Ethernet interfaces.
|
show interface port-channel
|
Displays descriptive information about port channels.
|
show interface switchport
|
Displays information about switchport interfaces.
|
show interface trunk
|
Displays information about all the trunk interfaces.
|
show interface vethernet
|
Displays statistical information about vEthernet interfaces.
|
show interface capabilities
To display information about the capabilities of the interfaces, use the
show interface capabilities
command.
show interface capabilities
Syntax Description
This command has no arguments or keywords.
Command Modes
Any configuration mode
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the capabilities of the interfaces:
n1000v# show interface capabilities Trunk encap. type: 802.1Q Broadcast suppression: none Flowcontrol: rx-(none),tx-(none) QOS scheduling: rx-(none),tx-(none) Speed: 10,100,1000,10000,auto Trunk encap. type: 802.1Q Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) QOS scheduling: rx-(none),tx-(none) Speed: 10,100,1000,10000,auto Trunk encap. type: 802.1Q Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) QOS scheduling: rx-(none),tx-(none) Speed: 10,100,1000,10000,auto Trunk encap. type: 802.1Q Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off/on/desired),tx-(off/on/desired) QOS scheduling: rx-(none),tx-(none) Trunk encap. type: 802.1Q Broadcast suppression: none Flowcontrol: rx-(none),tx-(none) QOS scheduling: rx-(none),tx-(none)
Related Commands
|
|
show
interface
ethernet status
|
Displays the status for a specified Ethernet interface.
|
show
interface switchport
|
Displays interface configuration information, including the mode.
|
show
interface trunk
|
Displays information, including access and trunk interface, for all Layer 2 interfaces.
|
show
interface counters
|
Displays the counters for a specified Ethernet interface.
|
show interface brief
|
Displays a short version of the interface configuration.
|
show interface counters trunk
To display the counters for Layer 2 switch port trunk interfaces, use the
show interface counters trunk
command.
show interface
{
ethernet
slot/port
}
counters
trunk
Syntax Description
ethernet
slot/port
|
Specifies the module number and port number for the trunk interface that you want to display.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The device supports only IEEE 802.1Q encapsulation. This command also displays the counters for trunk port channels.
Examples
This example shows how to display the counters for a trunk interface. This display shows the frames transmitted and received through the trunk interface, as well as the number of frames with the wrong trunk encapsulation:
n1000v# show interface ethernet 2/9 counters trunk --------------------------------------------------------------------- Port TrunkFramesTx TrunkFramesRx WrongEncap ---------------------------------------------------------------------
Related Commands
|
|
clear counters interface
|
Clears the counters for the specified interfaces.
|
show interface ethernet
To display information about Ethernet interfaces, use the
show interface ethernet
command.
show interface ethernet
slot/port
[
brief
|
capabilities
|
debounce
|
description
|
flowcontrol
|
mac-address
|
switchport
|
trunk
]
Syntax Description
slot/port
|
Slot number of the interface that you want to display. The slot number range is from 1 to 66, and the port number range is from 1 to 256.
|
brief
|
(Optional) Specifies to display only a brief summary of the information for the specified interface.
|
capabilities
|
(Optional) Specifies to display capability information for the specified interface.
|
debounce
|
(Optional) Specifies to display interface debounce time information.
|
description
|
(Optional) Specifies to display the description of the specified interface.
|
flowcontrol
|
(Optional) Specifies to display information about the flow-control status and statistics on received and transmitted flow-control pause packets for the specified interface.
|
mac-address
|
(Optional) Specifies to display MAC address information for the specified interface.
|
switchport
|
(Optional) Specifies to display information for the specified interface including access and trunk modes.
|
trunk
|
(Optional) Specifies to display trunk mode information for the specified interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
4.0(4)SV1(2)
|
Displays 5-minute input and output packet/bit rate statistics for the specified Ethernet interface.
|
Examples
This example shows how to display statistical information for Ethernet interface 3/2:
n1000v# show interface ethernet 3/2 Hardware: Ethernet, address: 0050.5652.a9ba (bia 0050.5652.a9ba) MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 0/255, txload 0/255, rxload 0/255 Auto-Negotiation is turned off Input flow-control is off, output flow-control is off Switchport monitor is off 5 minute input rate 570 bytes/second, 6 packets/second 5 minute output rate 220 bytes/second, 0 packets/second 7570522 Input Packets 1120178 Unicast Packets 5340163 Multicast Packets 1110181 Broadcast Packets 1177170 Output Packets 1168661 Unicast Packets 7269 Multicast Packets 1240 Broadcast Packets 0 Flood Packets 4276048 Input Packet Drops 0 Output Packet Drops
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface ethernet counters
To display the counters for an Ethernet interface, use the
show interface ethernet counters
command.
show interface ethernet
slot/port
counters
[
brief
|
detailed
|
errors
|
snmp
|
storm-control
|
trunk
]
Syntax Description
slot/port
|
Slot number of the interface that you want to display. The slot number range is from 1 to 66, and the port number range is from 1 to 256.
|
brief
|
(Optional) Specifies to display only a brief summary of the counter information for the specified
interface
.
|
detailed
|
(Optional) Specifies to display the n
onzero counters
for the specified
interface
.
|
errors
|
(Optional) Specifies to display the interface error counters for the specified
interface
.
|
snmp
|
(Optional) Specifies to display the SNMP MIB values for the specified
interface
.
|
storm-control
|
(Optional)
Specifies to display
the storm-control counters for the specified interface.
|
trunk
|
(Optional)
Specifies to display
the trunk counters for the specified interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display counters for Ethernet interface 3/2:
n1000v# show interface ethernet 3/2 counters -------------------------------------------------------------------------------- Port InOctets InUcastPkts InMcastPkts InBcastPkts -------------------------------------------------------------------------------- Eth3/2 684023652 1182824 5637863 1171780 -------------------------------------------------------------------------------- Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts -------------------------------------------------------------------------------- n1000v# 265927107 1233866 7269 1240
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface ethernet status
To display the status for an Ethernet interface, use the
show interface ethernet status
command.
show interface ethernet
slot/port
status
[
err-disable
]
Syntax Description
slot/port
|
Slot number of the interface that you want to display. The slot number range is from 1 to 66, and the port number range is from 1 to 256.
|
err-disabled
|
(Optional) Specifies to display the err-disabled state for the specified
interface
.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the err-disabled status for Ethernet interface 3/2:
n1000v# show interface ethernet 3/2 status err-disabled -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface ethernet transceiver
To display the transceiver information for an Ethernet interface, use the
show interface ethernet transceiver
command.
show interface ethernet
slot/port
transceiver
[
calibrations
|
details
]
Syntax Description
slot/port
|
Slot number of the interface that you want to display. The slot number range is from 1 to 66, and the port number range is from 1 to 256.
|
calibrations
|
(Optional) Specifies to display the calibration information for the specified
interface
.
|
details
|
(Optional) Specifies to display detailed information for the specified
interface
.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display transceiver information for Ethernet interface 3/2:
n1000v# show interface ethernet 3/2 transceiver calibrations
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface port-channel
To display descriptive information about port channels, use the
show interface port-channel
command.
show interface port-channel
channel-number
[
brief
|
description
|
flowcontrol
|
status
|
switchport
|
trunk
]
Syntax Description
channel-number
|
Number of the port-channel group. Valid values are from
1 to 4096.
|
brief
|
(Optional) Specifies the summary information for specified port channels.
|
description
|
(Optional) Specifies the description of specified port channels.
|
flowcontrol
|
(Optional) Specifies information about the flow-control status control for specified port channels and the statistics on received and transmitted flow-control pause packets.
|
status
|
(Optional) Specifies information about the status for specified port channels.
|
switchport
|
(Optional) Specifies information for specified Layer 2 port channels including access and trunk modes.
|
trunk
|
(Optional) Specifies information for specified Layer 2 port channels on the trunk mode.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
To display more statistics for the specified port channels, use the
show interface port-channel counters
command.
Examples
This example shows how to display information for a specific port channel. This command displays statistical information gathered on the port channel at 1-minute intervals:
n1000v(config)# show interface port-channel 50 port-channel50 is down (No operational members) Hardware is Port-Channel, address is 0000.0000.0000 (bia 0000.0000.0000) MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Input flow-control is off, output flow-control is off Switchport monitor is off Members in this channel: Eth2/10 Last clearing of "show interface" counters 2d71.2uh 5 minute input rate 0 bytes/sec, 0 packets/sec 5 minute output rate 0 bytes/sec, 0 packets/sec 0 input packets 0 unicast packets 0 multicast packets 0 broadcast packets 0 jumbo packets 0 storm suppression packets 0 output packets 0 multicast packets 0 broadcast packets 0 jumbo packets 0 input error 0 short frame 0 watchdog 0 no buffer 0 runt 0 CRC 0 ecc 0 overrun 0 underrun 0 ignored 0 bad etype drop 0 bad proto drop 0 if down drop 0 input with dribble 0 output error 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 Rx pause 0 Tx pause 0 reset
This example shows how to display a brief description for a specific port channel, including the mode for the port channel, the status, speed, and protocol:
n1000v# show interface port-channel 5 brief -------------------------------------------------------------------------------- Port-channel VLAN Type Mode Status Reason Speed Protocol -------------------------------------------------------------------------------- eth access down No operational members auto(D) lacp
This example shows how to display the description for a specific port channel:
n1000v# show interface port-channel 5 description ------------------------------------------------------------------------------- -------------------------------------------------------------------------------
This example shows how to display the flow-control information for a specific port channel:
n1000v# show interface port-channel 50 flowcontrol ------------------------------------------------------------------------------ Port Send FlowControl Receive FlowControl RxPause TxPause ------------------------------------------------------------------------------
This example shows how to display the status of a specific port channel:
n1000v# show interface port-channel 5 status -------------------------------------------------------------------------------- Port Name Status Vlan Duplex Speed Type --------------------------------------------------------------------------------
This example shows how to display information for a specific Layer 2 port channel:
n1000v#
show interface port-channel 50 switchport Switchport Monitor: Not enabled Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1-3967,4048-4093 Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none
This command displays information for Layer 2 port channels in both the access and trunk modes.
When you use this command for a routed port channel, the device returns the following message:
This example shows how to display information for a specific Layer 2 port channel that is in trunk mode:
n1000v# show interface port-channel 5 trunk n1000v# show interface port-channel 50 trunk port-channel50 is down (No operational members) Hardware is Ethernet, address is 0000.0000.0000 MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec Receive flow-control is off, Send flow-control is off Members in this channel: Eth2/10 Allowed Vlans: 1-3967,4048-4093
This command displays information for only Layer 2 port channels in the trunk modes; you cannot display information about Layer 2 port channels in the access mode with this command.
Related Commands
|
|
show interface port-channel counters
|
Displays the statistics for channel groups.
|
show port-channel summary
|
Displays summary information for all channel groups.
|
show interface port-channel counters
To display information about port-channel statistics, use the
show interface port-channel counters
command.
show interface port-channel
channel-number
counters
[
brief
|
detailed
[
all
|
snmp
] |
errors
[
snmp
] |
trunk
]
Syntax Description
channel-number
|
Number of the port-channel group. Valid values are from
1 to 4096.
|
brief
|
(Optional) Specifies the rate MB/s and total frames for specified port channels.
|
detailed
|
(Optional) Specifies the n
onzero counters
for specified port channels.
|
all
|
(Optional) Specifies the c
ounters
for specified port channels.
|
snmp
|
(Optional) Specifies the SNMP MIB values for specified port channels.
|
errors
|
(Optional) Specifies the interface error counters for specified port channels.
|
trunk
|
(Optional) Specifies the i
nterface trunk counters
for specified port channels.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
This command displays statistics for all port channels including LACP-enabled port channels and those port channels that are not associated with an aggregation protocol.
Examples
This example shows how to display the counters for a specific port channel. This display shows the transmitted and received unicast and multicast packets:
n1000v# show interface port-channel 2 counters Port InOctets InUcastPkts InMcastPkts InBcastPkts Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
This example shows how to display the brief counters for a specific port channel. This display shows the transmitted and received rate and total frames:
n1000v# show interface port-channel 20 counters brief ------------------------------------------------------------------------------- Interface Input (rate is 1 min avg) Output (rate is 1 min avg) ------------------------- ----------------------------- -------------------------------------------------------------------------------
This example shows how to display all the detailed counters for a specific port channel:
n1000v# show interface port-channel 20 counters detailed all 10. rxTxHCPkts64Octets = 0 11. rxTxHCpkts65to127Octets = 0 12. rxTxHCpkts128to255Octets = 0 13. rxTxHCpkts256to511Octets = 0 14. rxTxHCpkts512to1023Octets = 0 15. rxTxHCpkts1024to1518Octets = 0 16. rxTxHCpkts1519to1548Octets = 0 14. rxHCPkts65to127Octets = 0 15. rxHCPkts128to255Octets = 0 16. rxHCPkts256to511Octets = 0 17. rxHCpkts512to1023Octets = 0 18. rxHCpkts1024to1518Octets = 0 19. rxHCpkts1519to1548Octets = 0 21. txHCPkts65to127Octets = 0 22. txHCPkts128to255Octets = 0 23. txHCPkts256to511Octets = 0 24. txHCpkts512to1023Octets = 0 25. txHCpkts1024to1518Octets = 0 26. txHCpkts1519to1548Octets = 0 74. InLayer3RoutedOctets = 0 76. OutLayer3RoutedOctets = 0 78. OutLayer3UnicastOctets = 0 79. OutLayer3Multicast = 0 80. OutLayer3MulticastOctets = 0 82. InLayer3UnicastOctets = 0 83. InLayer3Multicast = 0 84. InLayer3MulticastOctets = 0 85. InLayer3AverageOctets = 0 86. InLayer3AveragePackets = 0 87. OutLayer3AverageOctets = 0 88. OutLayer3AveragePackets = 0
This example shows how to display the error counters for a specific port channel:
n1000v#
show interface port-channel 5 counters errors--------------------------------------------------------------------------------
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize OutDiscards
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Port Single-Col Multi-Col Late-Col Exces-Col Carri-Sen Runts
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Port Giants SQETest-Err Deferred-Tx IntMacTx-Er IntMacRx-Er Symbol-Err
--------------------------------------------------------------------------------
This example shows how to display information about the trunk interfaces for a specific port channel:
n1000v# show interface port-channel 5 counters trunk ------------------------------------------------------------------------------- Port TrunkFramesTx TrunkFramesRx WrongEncap -------------------------------------------------------------------------------
Related Commands
|
|
clear counters interface port-channel
|
Clears the statistics for all interfaces that belong to a specific channel group.
|
show interface status
To display the interface line status, use the
show interface status
command.
show interface status
[
down
|
err-disabled
|
inactive
|
module
module-number
|
up
]
Syntax Description
down
|
(Optional) Specifies interfaces that are in the down state.
|
err-disabled
|
(Optional) Specifies interfaces that are in the errdisabled state.
|
inactive
|
(Optional) Specifies interfaces that are in the inactive state.
|
module
|
(Optional) Limits the display to interfaces on a particular module.
|
module-number
|
Number that identifies an existing module. The range is 1–66.
|
up
|
(Optional) Specifies interfaces that are in the up state.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display line status for interfaces in the up state:
n1000v# show interface status up -------------------------------------------------------------------------------- Port Name Status Vlan Duplex Speed Type -------------------------------------------------------------------------------- mgmt0 -- up routed full 1000 -- ctrl0 -- up routed full 1000 --
Related Commands
|
|
show interface brief
|
Displays a short version of the interface configuration.
|
show interface
|
Displays interface status and information.
|
show interface capabilities
|
Displays information about interface capabilities.
|
interface
|
Adds, removes, or configures interfaces.
|
show interface switchport
To display information about switchport interfaces, use the
show interface switchport
command.
show interface
[
ethernet
slot number
|
port-channel
channel number
]
switchport
Syntax Description
ethernet
slot number
|
(Optional) Specify the slot number for the display of an ethernet switchport interface
.
|
port- channel
channel-number
|
(Optional) Specify the channel number for the display of a port channel switchport interface
.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify an interface, this command displays information about all Layer 2 interfaces, including access, trunk, and port channel interfaces and all private VLAN ports.
Examples
This example shows how to display information for all Layer 2 interfaces:
n1000v# show interface switchport Switchport Monitor: Not enabled Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1-3967,4048-4093 Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Switchport Monitor: Not enabled Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1-3967,4048-4093 Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Switchport Monitor: Not enabled Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1-3967,4048-4093 Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none
Related Commands
|
|
switchport mode
|
Sets the specified interfaces as either Layer 2 access or trunk interfaces.
|
show interface counters
|
Displays statistics for a specified Layer 2 interface.
|
show interface trunk
To display information about all the trunk interfaces, use the
show interface trunk
command.
show interface
[
ethernet
type/slot
|
port-channel
channel-number
]
trunk
[
module
number
|
vlan
vlan-id
]
Syntax Description
ethernet
type/slot |
port- channel
channel-number
|
(Optional) Type and number of the interface you want to display
.
|
module
number
|
(Optional) Specifies the module number.
|
vlan
vlan-id
|
(Optional) Specifies the VLAN number.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify an interface, a module number or a VLAN number, the system displays information for all trunk interfaces.
This command displays information about all Layer 2 trunk interfaces and trunk port-channel interfaces.
Use the
show interface counters
command to display statistics for the specified Layer 2 interface.
Examples
This example shows how to display information for all Layer 2 trunk interfaces:
n1000v(config)# show interface trunk ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- Port Vlans Allowed on Trunk ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Related Commands
|
|
switchport mode trunk
|
Sets the specified interfaces as Layer 2 trunk interfaces.
|
show interface vethernet
To display statistical information about vEthernet interfaces, use the
show interface vethernet
command.
show interface vethernet
interface-number
[
brief
|
description
|
mac-address
|
switchport
|
trunk
]
Syntax Description
interface-number
|
(Optional) Number of the interface that you want to display. The range is from 1 to 1048575.
|
brief
|
(Optional) Specifies to display only a brief summary of information for the specified interface.
|
description
|
(Optional) Specifies to display the description of the specified interface.
|
mac-address
|
(Optional) Specifies to display MAC address information for the specified interface.
|
switchport
|
(Optional) Specifies to display switchport information for the specified interface, including access and trunk modes.
|
trunk
|
(Optional) Specifies to display trunk mode information for the specified interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
4.0(4)SV1(2)
|
Displays 5-minute input and output packet/bit rate statistics for the specified vEthernet interface.
|
Examples
This example shows how to display statistical information for vEthernet interface 1:
n1000v#
show interface vethernet 1
Vethernet1 is up
Port description is gentoo, Network Adapter 1 Hardware is Virtual, address is 0050.5687.3bac Owner is VM "gentoo", adapter is Network Adapter 1 5 minute input rate 1 bytes/second, 0 packets/second 5 minute output rate 94 bytes/second, 1 packets/second 655 Input Packets 594 Unicast Packets 0 Multicast Packets 61 Broadcast Packets 98875 Output Packets 1759 Unicast Packets 80410 Multicast Packets 16706 Broadcast Packets 0 Flood Packets 0 Input Packet Drops 0 Output Packet Drops
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface vethernet counters
To display the counters for a vEthernet interface, use the
show interface vethernet counters
command.
show interface vethernet
interface-number
counters
[
brief
|
detailed
|
errors
|
trunk
]
Syntax Description
interface-number
|
Number of the interface that you want to display. The range is from 1 to 1048575.
|
brief
|
(Optional) Specifies to display only a brief summary of counter information for the specified
interface
.
|
detailed
|
(Optional) Specifies to display the n
onzero counters
for the specified
interface
.
|
errors
|
(Optional) Specifies to display the interface error counters for the specified
interface
.
|
trunk
|
(Optional)
Specifies to display
the trunk counters for the specified interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display counters for vEthernet interface 1:
n1000v# show interface vethernet 1 counters -------------------------------------------------------------------------------- Port InOctets InUcastPkts InMcastPkts InBcastPkts -------------------------------------------------------------------------------- Veth1 2434320 5024 12 32363 -------------------------------------------------------------------------------- Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts -------------------------------------------------------------------------------- Veth1 4357946 4910 127 64494
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface vethernet status
To display the status for a vEthernet interface, use the
show interface vethernet status
command.
show interface vethernet
interface-number
status
[
err-disable
]
Syntax Description
interface-number
|
Number of the interface that you want to display. The range is from 1 to 1048575.
|
err-disabled
|
(Optional) Specifies to display the err-disabled state for the specified
interface
.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the err-disabled status for vEthernet interface 1:
n1000v# show interface vethernet 1 status err-disabled -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Veth1 VM1-48, Network Ad up none
Related Commands
|
|
clear interface
|
Clears the interface statistics.
|
show interface virtual
To display information about virtual interfaces, use the
show interface virtual
command.
show interface virtual
[
vm
[
vm_name
] |
vmk
|
vswif
] [
module
module_number
]
Syntax Description
vm
|
(Optional) Specifies interfaces owned by a virtual machine.
|
vm_name
|
(Optional) Name that identifies an existing virtual machine.
|
vmk
|
(Optional) Specifies interfaces owned by the Virtual Machine Kernel.
|
vswif
|
(Optional) Specifies interfaces owned by the Virtual Service Console.
|
module
|
(Optional) Specifies interfaces on a particular module.
|
module_number
|
Number that identifies an existing module.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information for virtual interfaces:
n1000v# show interface virtual -------------------------------------------------------------------------------- Port Adapter Owner Mod Host -------------------------------------------------------------------------------- Veth1 Net Adapter 1 austen-gentoo1 33 austen-strider.austen. Veth2 Net Adapter 2 austen-gentoo1 33 austen-strider.austen.
Related Commands
|
|
show interface virtual port-mapping
|
Displays the virtual port mapping for all vEthernet interfaces.
|
show interface ethernet
|
Displays information about Ethernet interfaces.
|
show interface port-channel
|
Displays descriptive information about port channels.
|
show interface trunk
|
Displays information about all the trunk interfaces.
|
show interface vethernet
|
Displays statistical information about vEthernet interfaces.
|
show interface virtual pinning
To display the virtual pinning information for all vEthernet interfaces, use the
show interface virtual pinning
command.
show
interface
virtual
pinning
[
module
module_number
]
Syntax Description
module
module_number
|
(Optional) Specifies the existing module number.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4a)
|
This command was introduced.
|
Usage Guidelines
If you do not specify a module number, the system displays information for all the existing modules.
Examples
This example shows how to display pinning information for virtual interfaces:
n1000v#(
config)#
show interface virtual pinning module 3------------------------------------------------------ Veth Pinned Associated PO List of Sub Group id interface Eth interface(s) ------------------------------------------------------
Related Commands
|
|
show interface vethernet
|
Displays statistical information about vEthernet interfaces.
|
show interface virtual
|
Displays information about virtual interfaces.
|
show interface virtual port-mapping
|
Displays the virtual port mapping for all vEthernet interfaces.
|
show interface virtual port-mapping
To display the virtual port mapping for all vEthernet interfaces, use the
show interface virtual port-mapping
command.
show interface virtual port-mapping
[
vm
[
vm_name
] |
vmk
|
vswif
] [
module
module_number
]
Syntax Description
vm
|
(Optional) Specifies interfaces owned by a virtual machine.
|
vm_name
|
(Optional) Name that identifies an existing virtual machine.
|
vmk
|
(Optional) Specifies interfaces owned by the Virtual Machine Kernel.
|
vswif
|
(Optional) Specifies interfaces owned by the Virtual Service Console.
|
module
|
(Optional) Specifies interfaces on a particular module.
|
module_number
|
Number that identifies an existing module.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the virtual port mapping for all vEthernet interfaces:
n1000v# show interface virtual port-mapping -------------------------------------------------------------------------------- Port Hypervisor Port Status Reason --------------------------------------------------------------------------------
Related Commands
|
|
show interface virtual
|
Displays information about virtual interfaces.
|
show interface ethernet
|
Displays information about Ethernet interfaces.
|
show interface port-channel
|
Displays descriptive information about port channels.
|
show interface trunk
|
Displays information about all the trunk interfaces.
|
show interface vethernet
|
Displays statistical information about vEthernet interfaces.
|
show ip access-list
To display all IPv4 access control lists (ACLs) or a specific IPv4 AC, use the
show ip access-list
command.
show ip access-list
[
name
]
Syntax Description
name
|
(Optional) Name of an existing IPv4 access control list.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the IPv4 access control list called protoacl:
n1000v(config)# show ip access-lists protoacl 10 permit icmp 7.120.1.10/32 7.120.1.20/32 20 permit tcp 7.120.1.10/32 7.120.1.20/32 dscp af11 30 permit udp 7.120.1.10/32 7.120.1.20/32 precedence critical 50 permit ip 7.120.1.20/32 7.120.1.10/32 60 permit ip 7.120.1.20/32 7.120.1.10/32 dscp af11 70 permit ip 7.120.1.20/32 7.120.1.10/32 precedence critical
Related Commands
|
|
ip access-list
|
Creates the IP ACL and enters IP ACL configuration mode.
|
statistics per-entry
|
Specifies that the device maintains global statistics for packets that match the rules in the ACL.
|
show ip access-list summary
|
Displays the IP ACL configuration. If the ACL remains applied to an interface, the command lists the interfaces.
|
show ip access-list summary
To display the IP ACL configuration, use the
show ip access-list
command.
show ip access-list
[
name
]
summary
Syntax Description
name
|
(Optional) Name of an existing IPv4 access control list.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If the ACL remains applied to an interface, this command lists the interfaces.
Examples
This example shows how to display the IPv4 access control list called ACL1:
n1000v# show ip access-lists summary IPV4 ACL1 Configured on interfaces: Vethernet1 - ingress (Port ACL) Vethernet1 - ingress (Port ACL)
Related Commands
|
|
ip access-list
|
Creates the IP ACL and enters IP ACL configuration mode.
|
statistics per-entry
|
Specifies that the device maintains global statistics for packets that match the rules in the ACL.
|
show ip access-list
|
Displays all IPv4 access control lists (ACLs) or a specific IPv4 ACL.
|
show ip arp client
To display the ARP client table, use the
show ip arp client
command.
show
ip
arp
client
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the ARP client table:
n1000v# show ip arp client Protocol uuid: 442, Client type: L2 Flags: 8, Recv fn: dhcp_snoop_verify_mac2ip_binding
Related Commands.
|
|
ip arp inspection vlan
|
Configures the specified VLAN or list of VLANs for Dynamic ARP Inspection (DAI).
|
show ip arp inspection vlan
|
Displays the DAI status for the specified list of VLANs.
|
show ip arp inspection statistics
|
Displays the DAI statistics.
|
show ip arp inspection interface
|
Displays the trust state and the ARP packet rate for a specified interface.
|
show ip arp statistics
|
Displays ARP statistics.
|
show ip arp inspection interface
To display the trust state for the specified interface, use the
show ip arp inspection interface
command.
show ip arp inspection interface
ve
thernet
interface-number
Syntax Description
vethernet
number
|
Specifies that the output is for a vEthernet interface.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display the trust state for a trusted interface:
n1000v# show ip arp inspection interface vethernet 6 ------------- -----------
Related Commands
|
|
ip arp inspection vlan
|
Enables Dynamic ARP Inspection (DAI) for a specified list of VLANs.
|
show ip arp inspection statistics
|
Displays the DAI statistics.
|
show ip arp inspection statistics
Use the
show ip arp inspection statistics
command to display the Dynamic ARP Inspection (DAI) statistics. You can specify a VLAN or range of VLANs.
show ip arp inspection statistics
[
vlan
vlan-list
]
Syntax Description
vlan
vlan-list
|
(Optional) Specifies the list of VLANs for which to display DAI statistics. Valid VLAN IDs are from 1 to 4096.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display the DAI statistics for VLAN 1:
n1000v# show ip arp inspection statistics vlan 1
Related Commands
|
|
clear ip arp inspection statistics vlan
|
Clears the DAI statistics for a specified VLAN.
|
show ip arp inspection interface
|
Displays the trust state and the ARP packet rate for a specified interface.
|
show ip arp inspection vlan
To display the Dynamic ARP Inspection (DAI) status for the specified list of VLANs, use the
show ip arp inspection vlan
command.
show
ip
arp
inspection vlan
list
Syntax Description
list
|
Number identifying an existing VLAN, or range of VLANs, from 1–3967 and 4048–4093. You can specify groups of VLANs or individual VLANs; for example, 1–5, 10 or 2–5, 7–19.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the DAI status for VLAN 13:
n1000v# show ip arp inspection vlan 13 Source Mac Validation : Disabled Destination Mac Validation : Enabled IP Address Validation : Enabled
Related Commands
|
|
ip arp inspection vlan
|
Configures the specified VLAN or list of VLANs for DAI.
|
show ip arp client
|
Displays the ARP client table.
|
show ip arp inspection statistics
|
Displays the DAI statistics.
|
show ip arp inspection interface
|
Displays the trust state and the ARP packet rate for a specified interface.
|
show ip arp statistics
|
Displays ARP statistics.
|
show ip arp statistics
To display the ARP statistics, use the
show ip arp statistics
command.
show
ip
arp
statistics
[
interface-all
] [
vrf
{
name
|
all
|
default
|
management
}]
Syntax Description
interface-all
|
(Optional) Specifies ARP statistics for all interfaces.
|
vrf
|
(Optional) Specifies information about a specific Virtual Routing and Forwarding (VRF).
|
name
|
Name of an existing VRF.
|
all
|
Displays ARP statistics for all VRFs.
|
default
|
Specifies the default VRF currently in the system configuration.
|
management
|
Specifies the existing VRF currently used for management connections.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display ARP statistics for all VRFs:
n1000v# show ip arp statistics vrf all ARP packet statistics for all contexts Total 101994, Requests 3920, Replies 98074, Requests on L2 0, Replies on L2 0, Total 8070240, Requests 98074, Replies 4034, Requests on L2 0, Replies on L2 0 Proxy arp 0, Local-Proxy arp 0, Dropped 7968132 Received packet drops details: Appeared on a wrong interface : 0 Invalid protocol packet : 228 Context not yet created : 0 Invalid layer 2 address length : 0 Invalid layer 3 address length : 0 Invalid source IP address : 221153 Source IP address is our own : 0 No mem to create per intf structure : 0 Source address mismatch with subnet : 0 Directed broadcast source : 0 Invalid destination IP address : 0 Non-local destination IP address : 7746751 Invalid source MAC address : 0 Source MAC address is our own : 0 Received before arp initialization : 0 Received packet on unknown iod : 0 L2 packet on proxy-arp-enabled interface L2 packet on untrusted L2 port : 0 Adds 13, Deletes 11, Timeouts 11
Related Commands
|
|
ip arp inspection vlan
|
Configures the specified VLAN or list of VLANs for Dynamic ARP Inspection (DAI).
|
show ip arp client
|
Displays the ARP client table.
|
show ip arp inspection statistics
|
Displays the DAI statistics.
|
show ip arp inspection interface
|
Displays the trust state and the ARP packet rate for a specified interface.
|
show ip arp inspection vlan
|
Displays the DAI status for the specified list of VLANs.
|
show ip dhcp snooping
To display general status information for DHCP snooping, use the
show ip dhcp snooping
command.
show ip dhcp snooping
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display general status information about DHCP snooping:
n1000v# show ip dhcp snooping DHCP snooping service is enabled Switch DHCP snooping is enabled DHCP snooping is configured on the following VLANs: DHCP snooping is operational on the following VLANs: Insertion of Option 82 is disabled Verification of MAC address is enabled DHCP snooping trust is configured on the following interfaces:
Related Commands
|
|
ip dhcp snooping
|
Globally enables DHCP snooping on the device.
|
show ip dhcp snooping binding
|
Displays IP-MAC address bindings, including the static IP source entries.
|
show ip dhcp snooping statistics
|
Displays DHCP snooping statistics.
|
show running-config dhcp
|
Displays DHCP snooping configuration.
|
show ip dhcp snooping binding
To display IP-to-MAC address bindings for all interfaces or a specific interface, use the
show ip dhcp snooping binding
command.
show ip dhcp snooping binding
[
IP-address
] [
MAC-address
] [
interface vethernet
interface-number
] [
vlan
vlan-id
]
show ip dhcp snooping binding
[
dynamic
]
show ip dhcp snooping binding
[
static
]
Syntax Description
IP-address
|
(Optional) IPv4 address that the bindings shown must include. Valid entries are in dotted-decimal format.
|
MAC-address
|
(Optional) MAC address that the bindings shown must include. Valid entries are in dotted-hexadecimal format.
|
interface vethernet
interface-number
|
(Optional) Specifies the vEthernet interface that the bindings shown must be associated with.
|
vlan
vlan-id
|
(Optional) Specifies a VLAN ID that the bindings shown must be associated with. Valid VLAN IDs are from 1 to 4096.
|
dynamic
|
(Optional) Limits the output to all dynamic IP-MAC address bindings.
|
static
|
(Optional) Limits the output to all static IP-MAC address bindings.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Usage Guidelines
The command output includes static IP source entries. Static entries appear with the term “static” in the Type column.
Examples
This example shows how to show all bindings:
n1000v# show ip dhcp snooping binding MacAddress IpAddress LeaseSec Type VLAN Interface ----------------- --------------- -------- ---------- ---- ------------- 0f:00:60:b3:23:33 10.3.2.2 infinite static 13 vEthernet 6 0f:00:60:b3:23:35 10.2.2.2 infinite static 100 vEthernet 10
Related Commands
|
|
ip dhcp snooping
|
Globally enables DHCP snooping on the device.
|
show ip dhcp snooping
|
Displays general information about DHCP snooping.
|
show ip dhcp snooping statistics
To display statistics related to the Dynamic Host Configuration Protocol (DHCP), use the show ip dhcp snooping statistics command.
show
ip
dhcp
snooping
statistics
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
Before you can configure DHCP, you must enable the feature using the feature dhcp command.
Examples
This example shows how to display statistics related to DHCP:
n1000v# show ip dhcp snooping statistics Packets received through cfsoe 0 Packets dropped from untrusted ports 0 Packets dropped due to MAC address check failure 0 Packets dropped due to Option 82 insertion failure 0 Packets dropped due to o/p intf unknown 0 Packets dropped which were unknown 0 Packets dropped due to dhcp relay not enabled 0 Packets dropped due to no binding entry 0 Packets dropped due to interface error/no interface 0 Packets dropped due to max hops exceeded 0
Related Commands
|
|
ip dhcp snooping
|
Globally enables DHCP snooping on the device.
|
show ip dhcp snooping
|
Displays general information about DHCP snooping.
|
show ip dhcp snooping binding
|
Displays IP-MAC address bindings, including the static IP source entries.
|
feature dhcp
|
Enables the DHCP snooping feature on the device.
|
show ip igmp snooping
To ensure that IGMP snooping is enabled on the VLAN, use the
show ip igmp snooping
command.
show ip igmp snooping
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to ensure that IGMP snooping is enabled on the VLAN:
n1000v# show ip igmp snooping Global IGMP Snooping Information: IGMPv1/v2 Report Suppression enabled IGMPv3 Report Suppression disabled IGMP Snooping information for vlan 1 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 2 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 100 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 101 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 102 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 103 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 104 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 105 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 106 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 107 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 108 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 109 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 115 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 260 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0 IGMP Snooping information for vlan 261 IGMPv3 Explicit tracking enabled IGMPv2 Fast leave disabled IGMPv1/v2 Report suppression enabled IGMPv3 Report suppression disabled Router port detection using PIM Hellos, IGMP Queries Number of router-ports: 0
Related Commands
|
|
show cores
|
Displays a list of cores.
|
show cdp neighbor
|
Displays the configuration and capabilities of upstream devices.
|
module vem execute
|
Remotely executes commands on the Virtual Ethernet Module (VEM) from the Cisco Nexus 1000V.
|
show ip igmp snooping groups
|
Verifies if the Cisco Nexus 1000V is configured correctly and is ready to forward multicast traffic.
|
show ip igmp snooping explicit-tracking vlan
To display IGMPv3 snooping explicit tracking information for a VLAN, use the
show ip igmp snooping explicit-tracking vlan
command.
show
ip
igmp
snooping
explicit-tracking
vlan
vlan-id
Syntax Description
vlan-id
|
Specifies a VLAN ID.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Related Commands
|
|
show ip igmp snooping
|
Ensures that IGMP snooping is enabled on the VLAN.
|
show ip igmp snooping groups
|
Verifies if the Cisco Nexus 1000V is configured correctly and is ready to forward multicast traffic.
|
show ip igmp snooping mrouter
|
Displays multicast router ports on the VLAN.
|
show ip igmp snooping querier
|
Displays IGMP snooping queriers enabled on the VLAN
|
show ip igmp snooping groups
To verify if the Cisco Nexus 1000V is configured correctly and is ready to forward multicast traffic, use the
show ip igmp snooping groups
command.
show ip igmp snooping groups
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
When troubleshooting multicast IGMP issues, execute this command and look for the letter R under the port heading. The R indicates that the Virtual Supervisor Module (VSM) has learned the uplink router port from the IGMP query that was sent by the upstream switch, which means that the Cisco Nexus 1000V is ready to forward multicast traffic.
Examples
This example shows how to ensure that IGMP snooping is enabled on the VLAN:
n1000v# show ip igmp snooping groups Type: S - Static, D - Dynamic, R - Router port Vlan Group Address Ver Type Port list
Related Commands
|
|
show cdp neighbor
|
Displays the configuration and capabilities of upstream devices.
|
module vem execute
|
Remotely executes commands on the Virtual Ethernet Module (VEM) from the Cisco Nexus 1000V.
|
show ip igmp snooping
|
Ensures that IGMP snooping is enabled on the VLAN.
|
show ip igmp snooping mrouter
To display VLAN multicast router ports , use the
show ip igmp snooping mrouter
command.
show
ip
igmp
snooping
mrouter
[
vlan
vlan-id
]
Syntax Description
vlan
vlan-id
|
Specifies a VLAN and its ID.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Related Commands
|
|
show ip igmp snooping
|
Ensures that IGMP snooping is enabled on the VLAN.
|
show ip igmp snooping groups
|
Verifies if the Cisco Nexus 1000V is configured correctly and is ready to forward multicast traffic.
|
show ip igmp snooping explicit-tracking vlan
|
Display IGMP snooping information for a VLAN.
|
show ip igmp snooping querier
|
Displays IGMP snooping queriers enabled on the VLAN
|
show ip igmp snooping querier
To display IGMP snooping querier information, use the
show ip igmp snooping querier
command.
show
ip
igmp
snooping
querier
[
vlan
vlan-id
]
Syntax Description
vlan
vlan-id
|
Specifies a VLAN and its ID.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Related Commands
|
|
show ip igmp snooping
|
Ensures that IGMP snooping is enabled on the VLAN.
|
show ip igmp snooping groups
|
Verifies if the Cisco Nexus 1000V is configured correctly and is ready to forward multicast traffic.
|
show ip igmp snooping explicit-tracking vlan
|
Display IGMP snooping information for a VLAN.
|
show ip igmp snooping mrouter
|
Displays multicast router ports on the VLAN.
|
show ip verify source
To display the IP-to-MAC address bindings, use the
show ip verify source
command.
show ip verify source
[
interface
{
vethernet
interface-number
}]
Syntax Description
interface
|
(Optional) Specifies that the output is limited to IP-to-MAC address bindings for an interface.
|
vethernet
interface-number
|
Specifies the vEthernet interface. Range is from 1 to 1048575.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display the IP-to-MAC address bindings:
n1000v# show ip verify source
Related Commands
|
|
ip source binding
|
Creates a static IP source entry for the specified Ethernet interface.
|
ip verify source dhcp-snooping-vlan
|
Enables IP Source Guard on an interface.
|
show lacp counters
To display information about Link Aggregation Control Protocol (LACP) statistics, use the
show lacp counters
command.
show lacp counters
[
interface port-channel
channel-number
]
Syntax Description
channel-number
|
(Optional) Number of the LACP channel group. Valid values are from
1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify the
channel-number
,
all channel groups are displayed.
Examples
This example shows how to display the LACP statistics for a specific channel group:
n1000v# show lacp counters interface port-channel 1 LACPDUs Marker Marker Response LACPDUs Port Sent Recv Sent Recv Sent Recv Pkts Err ----------------------------------------------------------------------------- Ethernet1/1 554 536 0 0 0 0 0 Ethernet1/2 527 514 0 0 0 0 0 Ethernet1/3 535 520 0 0 0 0 0 Ethernet1/4 515 502 0 0 0 0 0 Ethernet1/5 518 505 0 0 0 0 0 Ethernet1/6 540 529 0 0 0 0 0 Ethernet1/7 541 530 0 0 0 0 0 Ethernet1/8 547 532 0 0 0 0 0 Ethernet1/9 544 532 0 0 0 0 0 Ethernet1/10 513 501 0 0 0 0 0 Ethernet1/11 497 485 0 0 0 0 0 Ethernet1/12 493 486 0 0 0 0 0 Ethernet1/13 492 485 0 0 0 0 0 Ethernet1/14 482 481 0 0 0 0 0 Ethernet1/15 481 476 0 0 0 0 0 Ethernet1/16 482 477 0 0 0 0 0
Related Commands
|
|
clear lacp counters
|
Clears the statistics for all LACP interfaces or those interfaces that belong to a specific LACP channel group.
|
show lacp interface
To display information about specific Link Aggregation Control Protocol (LACP) interfaces, use the
show lacp interface
command.
show lacp interface ethernet
slot/port
Syntax Description
slot/port
|
Slot number and port number for the interface you want to display.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The LACP_Activity field displays whether the link is configured in the active or passive port-channel mode.
The Port Identifier field displays the port priority as part of the information. The part of the information in this field is the port number. The following example shows how to identify the port priority and the port number:
Port Identifier=0x8000,0x101
The port priority value is 0x8000, and the port number value is 0x101 in this example.
Examples
This example shows how to display the LACP statistics for a specific channel group:
n1000v# show lacp interface ethernet 1/1 n1000v(config-if-range)# show lacp interface eth1/1 Interface Ethernet1/1 is up Channel group is 1 port channel is Po1 Lag Id: [ [(8000, 0-11-11-22-22-74, 0, 8000, 101), (8000, 0-11-11-22-22-75, 0, 8 Operational as aggregated link since Wed Jun 11 20:37:59 2008 Local Port: Eth1/1 MAC Address= 0-11-11-22-22-74 System Identifier=0x8000,0-11-11-22-22-74 Port Identifier=0x8000,0x101 LACP_Timeout=Long Timeout (30s) Partner information refresh timeout=Long Timeout (90s) MAC Address= 0-11-11-22-22-75 System Identifier=0x8000,0-11-11-22-22-75 Port Identifier=0x8000,0x401 LACP_Timeout=Long Timeout (30s)
Related Commands
|
|
show port-channel summary
|
Displays information about all port-channel groups.
|
show lacp neighbor
To display information about Link Aggregation Control Protocol (LACP) neighbors, use the
show lacp neighbor
command.
show lacp neighbor
[
interface port-channel
channel-number
]
Syntax Description
channel-number
|
Port-channel number for the LACP neighbor that you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify the
channel-number
,
all channel groups are displayed.
Examples
This example shows how to display the information about the LACP neighbors for a specific port channel:
n1000v# show lacp neighbor interface port-channel 1 Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Port System ID Port Number Age Flags Eth1/1 32768,0-11-11-22-22-750x401 44817 SA LACP Partner Partner Partner Port Priority Oper Key Port State Port System ID Port Number Age Flags Eth1/2 32768,0-11-11-22-22-750x402 44817 SA LACP Partner Partner Partner Port Priority Oper Key Port State
Related Commands
|
|
show port-channel summary
|
Displays information about all port-channel groups.
|
show lacp offload status
To display the LACP offload status for verification, use the
show lacp offload status
command.
show
lacp
offload
status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the LACP offload status for verification:
n1000v(config)# show lacp offload status
Current Status : Enabled
Running Config Status : Enabled
Saved Config Status : Enabled
Related Commands
|
|
lacp offload
|
Offloads management of LACP from the VSM to the VEMs.
|
show lacp port-channel
To display information about Link Aggregation Control Protocol (LACP) port channels, use the
show lacp port-channel
command.
show lacp port-channel
[
interface port-channel
channel-number
]
Syntax Description
interface port-channel
|
(Optional) Specifies an existing LACP port channel.
|
channel-number
|
Port-channel number for the LACP channel group that you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify the
channel-number
,
all channel groups are displayed.
Examples
This example shows how to display the information about LACP port channels:
n1000v# show lacp port-channel Local System Identifier=0x8000,0-11-11-22-22-74 Partner System Identifier=0x8000,0-11-11-22-22-75 Aggregate or individual=1 Local System Identifier=0x8000,0-11-11-22-22-74 Partner System Identifier=0x8000,0-11-11-22-22-75 Aggregate or individual=1
Related Commands
|
|
show port-channel summary
|
Displays information about all port-channel groups.
|
show lacp system-identifier
To display the Link Aggregation Control Protocol (LACP) system identifier for the device, use the
show lacp system-identifier
command.
show lacp system-identifier
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The LACP system ID is the combination of the configurable LACP system priority value and the MAC address.
Each system that runs LACP has an LACP system priority value. You can accept the default value of 32768 for this parameter, or you can configure a value between 1 and 65535. LACP uses the system priority with the MAC address to form the system ID and also uses the system priority during negotiation with other devices. A higher system priority value means a lower priority.
Examples
This example shows how to display the LACP identifier information on the switch:
n1000v> show lacp system-identifier
Related Commands
|
|
lacp system-priority
|
Sets the system priority for LACP.
|
show license
To display the content of all the license files that are installed on the virtual supervisor module (VSM), use the
show license
command.
show
license
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the content of all the license files that are installed on the VSM:
INCREMENT NEXUS1000V_LAN_SERVICES_PKG cisco 1.0 permanent 16 \ HOSTID=VDH=8449368321243879080 \ NOTICE="<LicFileID>kathleen.lic</LicFileID><LicLineID>0</LicLineID> \ <PAK>dummyPak</PAK>" SIGN=34FCB2B24AE8
Related Commands
|
|
show license brief
|
Displays a list of license files that are installed on the VSM.
|
show license usage
[
package-name
]
|
Displays the license packages that are supported on the VSM. Optionally, you can display a specific license package.
|
show license brief
To display a list of license files that are installed on the virtual supervisor module (VSM), use the
show license brief
command.
show
license brief
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the content of all the license files that are installed on the VSM:
n1000v# show license brief
Related Commands
|
|
show license
|
Displays the content of all the license files that are installed on the VSM.
|
show license usage
[
package-name
]
|
Displays the license packages that are supported on the VSM. Optionally, you can display a specific license package.
|
show license file
To verify the license installation by displaying the license configured for the Virtual Supervisor Module (VSM), use the
show license file
command.
show license file
filename
Syntax Description
filename
|
Name of the existing license file (.lic).
|
Command Modes
Any
network-admin
network-operator
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
To find the name of the existing file, enter the following command at the prompt:
n1000v# show license file ?
Examples
This example shows how to display the license file,
sample.lic
, configured for the VSM:
n1000v# show license file sample.lic INCREMENT NEXUS1000V_LAN_SERVICES_PKG cisco 1.0 permanent 16 \ HOSTID=VDH=8449368321243879080 \ NOTICE="<LicFileID>sample.lic</LicFileID><LicLineID>0</LicLineID> \ <PAK>dummyPak</PAK>" SIGN=34FCB2B24AE8
Related Commands
|
|
show license
|
Displays the content of all the license files that are installed on the VSM.
|
show license brief
|
Displays a list of license files that are installed on the VSM.
|
show license host-id
|
Displays the serial number (host ID) for your VSM
|
show license usage
|
Displays the license packages that are supported on the VSM.
|
show license host-id
To obtain the serial number, also called the
host ID
, for your Virtual Supervisor Module (VSM), use the
show license host-id
command.
show license host-id
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The host ID includes everything that appears after the equal sign (=).
The host ID is required to obtain a license key file and register your VSM license.
Examples
This example shows how to obtain the host ID for your VSM:
n1000v# show license host-id License hostid: VDH=8449368321243879080
Related Commands
|
|
show license
|
Displays the content of all the license files that are installed on the VSM.
|
show license brief
|
Displays a list of license files that are installed on the VSM.
|
show license file
|
Displays the license configured for the VSM
|
show license usage
|
Displays the license packages that are supported on the VSM.
|
show license usage
To display the various license packages that are supported on the virtual supervisor module (VSM), use the
show license usage
command.
show
license
usage
[
package-name
]
Syntax Description
package-name
|
(Optional) Name of a license file. In the Cisco Nexus 1000V, the VSM supports only one package (NEXUS1000V_LAN_SERVICES_PKG).
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display a brief summary of the various license packages that are supported on the VSM:
n1000v# show license usage Feature Ins Lic Status Expiry Date Comments -------------------------------------------------------------------------------- NEXUS1000V_LAN_SERVICES_PKG No 16 In use Never - n1000v# ------------------------------------------------------------------------
This example shows how to display the license usage information for a specific license package:
n1000v# show license usage NEXUS1000V_LAN_SERVICES_PKG -------------------------------------- -------------------------------------- Max Overdraft Licenses : 16 Installed Licenses in Use : 4 Overdraft Licenses in Use : 0 -------------------------------------- -------------------------------------- --------------------------------------
Related Commands
|
|
show license
|
Displays the content of all the license files that are installed on the VSM.
|
show license brief
|
Displays a list of license files that are installed on the VSM.
|
show license
package-name
|
Displays the content of a specific license file that is installed on the VSM. In the Cisco Nexus 1000V, the VSM supports only one package (NEXUS1000V_LAN_SERVICES_PKG).
|
show logging logfile
To display the contents of the log file, use the
show logging logfile
command.
show
logging
logfile [start-time
time
|
end-time
time
]
Syntax Description
start-time
|
(Optional) Specify the starting time for which you want the logfile displayed.
|
end-time
|
(Optional) Specify the ending time for which you want the logfile displayed.
|
time
|
Specify the time as follows:
|
|
|
yyyy
|
Specify the year.
|
mmm
|
Specify the month, for example,
jan, feb, mar
.
|
dd
|
Specify the day of month, for example
01
.
|
hh:mm:ss
|
Specify the hour, minutes, seconds, for example,
04:00:00
.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the contents of the logfile:
n1000v#
show logging logfile
start-time 2009 Aug 23 22:00:00 end-time 2009 Aug 24 24:00:002009 Aug 23 22:58:00 doc-n1000v %PORTPROFILE-5-SYNC_COMPLETE: Sync completed.
2009 Aug 24 23:53:15 doc-n1000v %MODULE-5-MOD_OK: Module 3 is online (serial: )
2009 Aug 24 23:53:15 doc-n1000v %PLATFORM-5-MOD_STATUS: Module 3 current-status is MOD_S
Related Commands
|
|
logging logfile
|
Configures the log file used to store system messages.
|
show logging module
To display the current configuration for logging module messages to the log file, use the
show logging module
command.
show
logging
module
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the configuration for logging of messages to the log file:
n1000v#
show logging moduleLogging linecard: disabled
Related Commands
|
|
logging module
|
Starts logging of module messages to the log file.
|
show logging server
To display the current server configuration for logging system messages, use the
show logging server
command.
show
logging
server
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the :
n1000v## show logging server server severity: notifications
Related Commands
|
|
logging server
|
Designates a remote server for system message logging, and configures it.
|
show logging timestamp
To display the unit of measure used in the system messages timestamp, use the
show logging timestamp
command.
show
logging
timestamp
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the unit of measure used in the system messages timestamp:
n1000v##
show logging timestamp Logging timestamp: Seconds
Related Commands
|
|
logging timestamp
|
Sets the unit of measure for the system messages timestamp.
|
show mac access-lists
To display the MAC access control list (ACL) configuration, use the
show mac access lists
command.
show mac access-lists
name
Syntax Description
name
|
Enter the name of the MAC access list.
|
Command Modes
ACL configuration (config-mac-acl)
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the MAC ACL configuration for the MAC access list called acl-mac-01:
n1000v(config)# mac access-list acl-mac-01 n1000v(config-mac-acl)# show mac access-lists acl-mac-01
Related Commands
|
|
mac access-list
|
Creates the MAC ACL and enters ACL configuration mode.
|
show mac address-list
|
Displays the MAC address table.
|
show mac address-table
To display the MAC address table, use the
show mac address-table
command.
show mac address-table [module
number
] [count] [static | dynamic] [address
mac-addr
] [interface name] [vlan
id
]
Syntax Description
module
number
|
(Optional) Specifies a module number for display.
|
count
|
(Optional) Specifies the count of MAC address entries for display.
|
static
|
(Optional) Specifies static entries in the MAC address table for display.
|
dynamic
|
(Optional) Specifies dynamic entries in the MAC address table for display.
|
address
mac-addr
|
(Optional) Specifies a MAC address to display in one of the following formats:
-
A.B.C
-
AA-BB-CC-DD-EE-FF
-
AA:BB:CC:DD:EE:FF
-
AAAA.BBBB.CCCC
|
interface
name
|
(Optional) Specifies an interface name (ethernet slot/port, port channel (number), or vEth number), associated with this MAC address table for display.
|
ethernet
slot/port
|
Specifies an Ethernet interface slot number (1–66) and port number (1–256), separated by a slash (/) for display.
|
port-channel
number
|
Specifies a port channel interface number (1 - 4096) for display.
|
vethernet
number
|
Specifies a Virtual Ethernet interface number (1–1048575) for display.
|
vlan
id
|
(Optional) Specifies a VLAN ID (1 - 4094) for display.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
Added the count option, removed the secure option.
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
While executing the
show mac address- table
command, if the output is expected to exceed more than 500 entries, then configure the terminal length to 0 to aviod the following error message:
service not responding
Examples
This example shows how to display the MAC address table:
n1000v# show mac address-table VLAN MAC Address Type Age Port Module ---------+-----------------+-------+---------+------------------------------+--------- 1 0002.3d11.5502 static 0 N1KV Internal Port 3 1 0002.3d21.5500 static 0 N1KV Internal Port 3 1 0002.3d21.5502 static 0 N1KV Internal Port 3 1 0002.3d31.5502 static 0 N1KV Internal Port 3 1 0002.3d41.5502 static 0 N1KV Internal Port 3 1 0002.3d61.5500 static 0 N1KV Internal Port 3 1 0002.3d61.5502 static 0 N1KV Internal Port 3 1 0002.3d81.5502 static 0 N1KV Internal Port 3 3 12ab.47dd.ff89 static 0 Eth3/3 3 342 0002.3d41.5502 static 0 N1KV Internal Port 3 342 0050.568d.5a3f dynamic 0 Eth3/3 3 343 0002.3d21.5502 static 0 N1KV Internal Port 3 343 0050.568d.2aa0 dynamic 9 Eth3/3 3
This example shows how to display a specific MAC address:
n1000v# sho mac address-table address 0050.568d.5a3f VLAN MAC Address Type Age Port Module ---------+-----------------+-------+---------+------------------------------+--------- 342 0050.568d.5a3f dynamic 0 Eth3/3 3
This example shows how to display a count of MAC addresses in the Layer 2 MAC address table:
n1000v# show mac address-table count
Related Commands
|
|
mac address-table static
|
Adds a static MAC address in the Layer 2 MAC address table and saves it in the running configuration.
|
show mac address-table aging-time
|
Displays the aging time in the MAC address table.
|
show mac access-lists
|
Displays the MAC ACL configuration.
|
show mac address-table aging-time
To display the aging time in the MAC address table for a single VLAN or for all VLANs, use the
show mac address-table aging-time
command.
show
mac
address-table
aging-time
[
vlan
id
]
Syntax Description
vlan
|
(Optional) Specifies that the output is required for a single VLAN associated with this MAC address table.
|
id
|
Identifies the VLAN ID, between 1 and 4094.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4) SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the aging time for a specific VLAN ID in the MAC address table:
n1000v# show mac address-table aging-time vlan 1
This example shows how to display the aging time for every VLAN in the MAC address table:
n1000v# show mac address-table aging-time
Related Commands
|
|
mac address-table aging-time
|
Specifies and saves in the running configuration the amount of time that will elapse before an entry in the Layer 2 MAC address table is discarded.
|
show mac address-table
|
Displays the MAC address table.
|
show mac access-lists
|
Displays the MAC ACL configuration.
|
show mac address static
To display the static MAC address entries in the MAC address table, use the
show mac address static
command.
show
mac
address
static [
interface_type
if_id
]
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display all static MAC addresses in the MAC address table:
n1000v# show mac address static VLAN MAC Address Type Age Port Module ---------+-----------------+-------+---------+------------------------------+--------- 1 0002.3d11.5502 static 0 N1KV Internal Port 3 1 0002.3d21.5500 static 0 N1KV Internal Port 3 1 0002.3d21.5502 static 0 N1KV Internal Port 3 1 0002.3d31.5502 static 0 N1KV Internal Port 3 1 0002.3d41.5502 static 0 N1KV Internal Port 3 1 0002.3d61.5500 static 0 N1KV Internal Port 3 1 0002.3d61.5502 static 0 N1KV Internal Port 3 1 0002.3d81.5502 static 0 N1KV Internal Port 3 3 12ab.47dd.ff89 static 0 Eth3/3 3 342 0002.3d41.5502 static 0 N1KV Internal Port 3 343 0002.3d21.5502 static 0 N1KV Internal Port 3
This example shows how to display a static MAC address entries for a specific interface in the MAC address table:
n1000v# show mac address static interface Ethernet 3/3 VLAN MAC Address Type Age Port Module ---------+-----------------+-------+---------+------------------------------+--------- 3 12ab.47dd.ff89 static 0 Eth3/3 3
Related Commands
|
|
mac address-table static
|
Adds a static MAC address in the Layer 2 MAC address table and saves it in the running configuration.
|
mac address-table aging-time
|
Specifies and saves in the running configuration the amount of time that will elapse before an entry in the Layer 2 MAC address table is discarded.
|
show mac address-table
|
Displays the MAC address table.
|
show mac access-lists
|
Displays the MAC ACL configuration.
|
show module
To display module status, software version, MAC address, server information, and so forth, use the
show module
command.
show
module
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The Hw field in the output equates to the VIB version, which can be cross-referenced to the ESX/ESXi release in the
Cisco Nexus 1000V Compatibility Information, Release 4.2(1)SV1(4)
document.
Examples
This example shows how to display module information:
Mod Ports Module-Type Model Status --- ----- -------------------------------- ------------------ ------------ 1 0 Virtual Supervisor Module Nexus1000V active * --- --------------- ------ Mod MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA Mod Server-IP Server-UUID Server-Name --- --------------- ------------------------------------ --------------------
Related Commands
|
|
show module uptime
|
Displays the length of time a module has been up and running.
|
show module vem license-info
|
Displays license information about the VEM connected to your VSM.
|
show module vem mapping
|
Displays information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module uptime
To display the length of time a module has been up and running, use the
show module uptime
command.
show
module
uptime
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the length of time a module has been up and running:
n1000v#
show module uptimeModule Start Tme: Mon Feb 7 13:34:33 2011 Up Time: 36 day(s), 0 hour(s), 13 minute(s), 19 second(s)
Related Commands
|
|
show module
|
Displays module status, software version, MAC address, server information, and so forth.
|
show module vem mapping
|
Displays information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
show module vem license-info
|
Displays license information about the VEM connected to your VSM.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module vem license-info
To display license information about VEM modules connected to your VSM, use the
show module vem
license-info
command.
show
module
vem
[
module-number
]
license-info
Syntax Description
module-number
|
(Optional) Number identifying an existing module. The range is 1–66.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the license info for VEM modules:
n1000v# show module vem license-info Mod Socket Count License Usage Count License Version License Status --- ------------ ------------------- --------------- --------------
Related Commands
|
|
show module
|
Displays module status, software version, MAC address, server information, and so forth.
|
show module vem mapping
|
Displays information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module vem counters
To display VEM counters to verify whether the VSM is receiving any packets from VEM, use the
show module vem counters
command.
show
module
vem
[
module-number
]
counters
Syntax Description
module
|
(Optional) Number identifying an existing module. The range is 1–66.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Usage Guidelines
The following is a description of the fields in the
show module vem counters
command output:
Mod: Module number.
InNR: Number of node ID requests sent by this module and received by the VSM.
OutMI: Number of module insert messages sent by the VSM to this module.
OutHBeats: Number of heartbeats sent to this module.
InHBeats: Number of heartbeats received from this module.
InsCnt: Number of times this module inserted successfully.
RemCnt: Number of times this module has been removed.
Examples
This example shows how display the VEM counters to verify whether the VSM is receiving any packets from VEM:
n1000v# show module vem counters -------------------------------------------------------------------------------- Mod InNR OutMI InMI OutHBeats InHBeats InsCnt RemCnt -------------------------------------------------------------------------------- 3 1 1 1 3113363 3113360 1 0 4 1 1 1 3113363 3113363 1 0
Related Commands
|
|
show module
|
Displays module status, software version, MAC address, server information, and so forth.
|
show module vem license-info
|
Displays license information about the VEM connected to your VSM.
|
show module vem mapping
|
Displays information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module vem mapping
To display information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status, use the
show module vem
mapping
command.
show
module
vem
[
module-number
]
mapping
Syntax Description
module-number
|
(Optional) Number identifying an existing module. The range is 1–66.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status:
n1000v# show module vem mapping Mod Status UUID License Status --- ----------- ------------------------------------ -------------- 3 absent c43cfa32-08b4-4a12-b899-90f54fb05db0 licensed
Related Commands
|
|
show module
|
Displays module information.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
show module vem license-info
|
Displays license information about the VEM connected to your VSM.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
show module vem missing
To display VEM modules that are added to VC but missing from VSM, use the
show module vem missing
command.
show
module
vem
missing
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display VEM modules that are added to VC but are missing from the VSM:
n1000v# show module vem missing
Related Commands
|
|
show module
|
Displays module status, software version, MAC address, server information, and so forth.
|
module vem
|
Allows remote entry of commands on the VEM from the Cisco Nexus 1000V.
|
show module vem license-info
|
Displays license information about the VEM connected to your VSM.
|
show module vem mapping
|
Displays information about the VEM a VSM maps to, including VEM module number, status, UUID, and license status.
|
show module vem counters
|
Displays VEM counters to verify whether the VSM is receiving any packets from VEM.
|
show module vem missing
|
Displays VEM modules that are added to VC but are missing from the VSM.
|
show monitor
To display the status of the Switched Port Analyzer (SPAN) sessions, use the
show monitor
command.
show
monitor
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the status of the SPAN sessions:
Session State Reason Description ------- ----------- ---------------------- -------------------------------- 17 down Session admin shut folio
Related Commands
|
|
monitor session
|
Starts the specified SPAN monitor session from either global configuration mode or monitor-configuration mode.
|
show monitor session
|
Displays the ERSPAN session configuration as it exists in the running configuration.
|
show monitor session
To display the Switched Port Analyzer (SPAN) session configuration, use the
show monitor session
command.
show
monitor
session
{
session_number
|
all
|
range
{
session_range
}} [
brief
]
Syntax Description
session_number
|
Number identifying the SPAN session number. The range is 1–64.
|
all
|
Specifies all sessions.
|
range
|
Indicates a session range.
|
session_range
|
Range of SPAN sessions from 1–64.
|
brief
|
(Optional) Specifies a shortened version.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the SPAN session configuration for session 1:
n1000v(config)# show monitor session 1 filter VLANs : filter not specified destination IP : 10.54.54.1
Related Commands
|
|
show monitor
|
Displays the status of the SPAN sessions.
|
monitor session
|
Starts the specified SPAN monitor session from either global configuration mode or monitor-configuration mode.
|
show network-state tracking
To display the Network State Tracking status for a module or interface, use the
show network-state tracking
command.
show
network
-
state tracking
{
module
modID
|
interface
channelID
}
Syntax Description
module
modID
|
Show state related to module number.
|
interface
channelID
|
Show state related to interface port channel.
|
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display Network State Tracking status for a module:
n1000v#
show network-state tracking module 3Port- Network Tracking SG SG Tracking SG Channel Mode Vlan ID State Interface Members ------- ------- -------- -- -------- --------- ----------------- Po2 split 263 10 Active Eth66/3 Eth66/3, Eth66/4 Eth66/5, Eth66/6, Eth66/7 Po2 split 263 11 Active Eth66/8 Eth66/8, Eth66/9, Eth66/11
This example shows how to display Network State Tracking status for an interface and port channel:
n1000v# show network-state tracking interface port-channel 2 Port- Network Tracking SG SG Tracking SG Channel Mode Vlan ID State Interface Members ------- ------- -------- -- -------- --------- ----------------- Po2 split 263 10 Active Eth66/3 Eth66/3, Eth66/4, Eth66/5, Eth66/6 Po2 split 263 11 Active Eth66/8 Eth66/8, Eth66/9, Eth66/11
Related Commands
|
|
track network-state enable
|
Enables Network State Tracking for all VEMs configured with a vPC-HM port-profile.
|
show network-state tracking config
|
Displays the Network State Tracking configuration for verification.
|
show network-state tracking config
To display the Network State Tracking configuration, use the
show network-state tracking config
command.
show
network-state tracking
config
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the Network State Tracking configuration:
n1000v# show network-state tracking config
Tracking mode : disabled
Tracking Interval : 5 sec
Miss count threshold : 5 pkts
Split-network action : unknown
n1000v#
Related Commands
|
|
tracking enable
|
Enables Network State Tracking for all VEMs configured with a vPC-HM port-profile.
|
show
network
-
state tracking
|
Displays the Network State Tracking status for a module or interface.
|
show ntp peer-status
To display the status for all Network Time Protocol (NTP) servers and peers, use the
show ntp peer-status
command.
show
ntp peer-status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
A domain name is resolved only when you have a DNS server configured.
Examples
This example shows how to display the configured server and peers:
n1000v# show ntp peer-status * - selected for sync, + - peer mode(active), - - peer mode(passive), = - polled in client mode remote local st poll reach delay vrf ------------------------------------------------------------------------ =192.0.2.10 0.0.0.0 16 16 0 0.00000 default +72.229.253.127 0.0.0.0 16 16 0 0.00000 default
Related Commands
|
|
show ntp peers
|
Displays all NTP peers.
|
show ntp statistics
|
Displays NTP statistics.
|
ntp server
|
Forms an association with a server.
|
ntp peer
|
Forms an association with a peer.
|
show ntp peers
To display all Network Time Protocol (NTP) peers, use the
show ntp peers
command.
show
ntp peers
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
A domain name is resolved only when you have a DNS server configured.
Examples
This example shows how to display the configured server and peers:
-------------------------------------------------- Peer IP Address Serv/Peer -------------------------------------------------- 192.0.2.10 Server (configured) 72.229.253.127 Peer (configured)
Related Commands
|
|
show ntp peer-status
|
Displays the status for all NTP servers and peers.
|
show ntp statistics
|
Displays NTP statistics.
|
ntp server
|
Forms an association with a server.
|
ntp peer
|
Forms an association with a peer.
|
show ntp statistics
To display Network Time Protocol (NTP) statistics, use the
show ntp statistics
command.
show
ntp statistics
{
io
|
local
|
memory
|
peer
{
ip-address
|
dns-name
}}
Syntax Description
io
|
Specifies the input-output statistics.
|
local
|
Specifies the counters maintained by the local NTP.
|
memory
|
Specifies the statistics counters related to the memory code.
|
peer
|
Specifies the per-peer statistics counter of a peer.
|
ip-address
|
IP address of this peer.
|
dns-name
|
DNS name of this peer.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
A domain name is resolved only when you have a DNS server configured.
Examples
This example shows how to display the configured server and peers:
n1000v# show ntp statistics local time since reset: 6742265 unknown version number: 0
Related Commands
|
|
ntp server
|
Forms an association with a server.
|
ntp peer
|
Forms an association with a peer.
|
show password strength-check
To display whether password strength is being checked, use the
show password strength-check
command.
show
password
strength-check
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display whether password strength is being checked:
n1000v# show password strength-check Password strength check enabled
Related Commands
|
|
password strength-check
|
Enables password-strength checking.
|
username
|
Creates a user account.
|
role name
|
Names a user role and puts you in role configuration mode for that role.
|
show policy-map
To display the policy map configuration for all policy maps or for a specified policy map, use the
show policy-map
command.
show policy-map
[{[
type qos
]
[
policy_map_name
]} | {
type queuing
[
pmap-name-que
]}]
Syntax Description
type
|
(Optional) Specifies the type of the policy map.
|
qos
|
(Optional) Specifies type QoS.
|
policy_map_
name
|
(Optional) Name of an existing policy map.
|
queuing
|
type queuing.
|
pmap-name-que
|
(Optional) policy map name (type queuing)
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
type queuing
was added.
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the policy map configuration for all policy maps:
policy-map type qos class1 policy-map type qos policy1 police cir 256000 bps bc 300 ms pir 256000 bps be 300 ms conform transmit exceed set dscp dscp table cir-markdown-map violate drop policy-map type qos policy2 policy-map type qos policy3 police cir 256000 bps bc 300 ms pir 256000 bps be 300 ms conform transmit exceed set dscp dscp table cir-markdown-map violate drop
Related Commands
|
|
show policy-map
|
Displays the policy map configuration for all policy maps or for a specified policy map.
|
class
|
Creates a reference to class-map-name and enters policy-map class QoS configuration mode for the specified class map.
|
set dscp
|
Defines the DSCP value that should be used in all IP headers for the specified class and saves it in the running configuration.
|
show policy-map interface
To display the status of the global statistics and the configured policy maps on all interfaces, use the
show policy-map interface
command.
show policy-map interface
[
brief
] [
ethernet
slot/port
|
port-channel
port_channel_number
|
vethernet
interface_number
]
[[
input
|
output
] [
type qos
]]
Syntax Description
brief
|
(Optional) Specifies the shortened output.
|
ethernet
|
(Optional) Specifies an Ethernet interface.
|
slot/port
|
Valid slot and port of the interface, separated by a slash (/). The slot range 1–66; the port range is 1–256.
|
port-channel
|
(Optional) Specifies a port channel interface.
|
port_channel_
number
|
Identifier for a valid port channel. The range is 1–4096.
|
vethernet
|
(Optional) Specifies a Virtual Ethernet interface.
|
interface_
number
|
Identifier for a valid Virtual Ethernet interface. The range is 1–1048575.
|
input
|
(Optional) Specifies the input policy
|
output
|
(Optional) Specifies the output policy.
|
type
|
(Optional) Specifies the type of the class-map.
|
qos
|
(Optional) Specifies type QoS.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display statistics for policy maps that are configured on interfaces:
n1000v(config)# show policy-map interface Global statistics status : enabled Service-policy (qos) input: new-policy policy statistics status: enabled Class-map (qos): class-default (match-any) Service-policy (qos) output: new-policer policy statistics status: enabled Class-map (qos): new-class (match-all) police cir 900 mbps bc 200 ms conformed 505953339796 bytes, 899924196 bps action: transmit violated 12285218014 bytes, 22283000 bps action: dropn1000v#
Related Commands
|
|
policy-map
|
Defines a policy map that represents a set of policies to be applied to a set of class maps.
|
qos statistics
|
Enables QoS statistics on all interfaces.
|
clear qos statistics
|
Clears the specified QoS statistics.
|
show port-channel compatibility-parameters
To display the parameters that must be the same among the member ports in order to join a port channel, use the
show port-channel compatibility parameters
command.
show port-channel
compatibility-parameters
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
When you add an interface to a channel group, the software checks certain interface attributes to ensure that the interface is compatible with the channel group. For example, you cannot add a Layer 3 interface to a Layer 2 channel group. The software also checks a number of operational attributes for an interface before allowing that interface to participate in the port-channel aggregation.
This command displays the list of compatibility checks that the system uses.
Using the
channel-group
command, you can force ports with incompatible parameters to join the port channel as long as the following parameters are the same:
-
(Link) speed capability
-
Speed configuration
-
Duplex capability
-
Duplex configuration
-
Flow-control capability
-
Flow-control configuration
Note See the channel-group command for information about forcing ports to join a port channel.
Examples
This example shows how to display the list of compatibility checks that the system makes before an interface to a channel group:
n1000v# show port-channel compatibility-parameters Members must have the same port mode configured, either E or AUTO. If they are configured in AUTO port mode, they have to negotiate E mode when they come up. If a member negotiates a different mode, it will be suspended. Members must have the same speed configured. If they are configured in AUTO speed, they have to negotiate the same speed when they come up. If a member negotiates a different speed, it will be suspended. Members have to have the same MTU configured. This only applies to ethernet Members have to have the same medium type configured. This only applies to Members must have the same span mode. Members must not have sub-interfaces. Members must have same Duplex Mode configured. Members must have same Ethernet Layer (switchport/no-switchport) configured. Members cannot be SPAN ports. Members must have same storm-control configured. Members must have same flowctrl configured. Members must have common capabilities. Members port does not exist. Members must be switching port, Layer 2. Members must have the same port access VLAN. Members must have the same port native VLAN. Members must have the same port allowed VLAN list.
Related Commands
|
|
channel-group
|
Adds or removes interfaces to port-channel groups and assigns the port-channel mode to the interface.
|
show port-channel database
To display information about the current running of the port channels, use the
show port-channel database
command.
show port-channel
database
[
interface port-channel
channel-number
]
Syntax Description
channel-number
|
Port-channel number for the information that you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If you do not specify the
channel-number
,
all channel groups are displayed. This command displays Link Aggregation Control Protocol (LACP)-enabled ports channels and port channels without an associated aggregation protocol.
Examples
This example shows how to display information on the current running of all port channels:
n1000v# show port-channel database Administrative channel mode is active Operational channel mode is active Last membership update is successful 1 ports in total, 0 ports up Age of the port-channel is 1d:16h:18m:50s Time since last bundle is 1d:16h:18m:56s Ports: Ethernet2/5 [down] Administrative channel mode is active Operational channel mode is active Last membership update is successful 1 ports in total, 0 ports up Age of the port-channel is 1d:16h:18m:50s Time since last bundle is 1d:16h:18m:56s Ports: Ethernet2/20 [down]
This example shows how to display information on the current running of a specific port channel:
n1000v# show port-channel database interface port-channel 20 Administrative channel mode is active Operational channel mode is active Last membership update is successful 1 ports in total, 0 ports up Age of the port-channel is 1d:16h:23m:14s Time since last bundle is 1d:16h:23m:20s Ports: Ethernet2/20 [down]
Related Commands
|
|
show port-channel summary
|
Displays a summary of information about all port channels.
|
show port-channel load-balance
To display information about load-balancing using port channels, use the
show port-channel load-balance
command.
show port-channel
load-balance
[
forwarding-path interface port-channel
channel-number
]
Syntax Description
forwarding-path interface port-channel
|
(Optional) Identifies the port in the port channel that forwards the packet.
|
channel-number
|
Port-channel number for the load-balancing forwarding path that you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the current port-channel load balancing for the system:
n1000v# show port-channel load-balance Port Channel Load-Balancing Configuration: System: source-dest-ip-vlan Port Channel Load-Balancing Addresses Used Per-Protocol:
Related Commands
|
|
port-channel load-balance ethernet
|
Configures load balancing using port channels.
|
show port-channel rbh-distribution
To display information about the Result Bundle Hash (RBH) for port channels, use the
show port-channel rbh-distribution
command.
show port-channel
rbh-distribution
[
interface port-channel
channel-number
]
Syntax Description
channel-number
|
Port-channel number for the information the you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The RBH value ranges from 0 to 7 and is shared among port members in a port channel.
Examples
This example shows how to display RBH distribution for a specific port channel:
n1000v# show port-channel rbh-distribution interface port-channel 4 ChanId Member port RBH values Num of buckets -------- ------------- ----------------- ----------------
Related Commands
|
|
port-channel summary
|
Displays summary information on port channels.
|
show port-channel summary
To display summary information about the port channels, use the
show port-channel summary
command.
show port-channel
summary
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
If the Link Aggregation Control Protocol (LACP) is not enabled, the output shows
NONE
in the Protocol column of the display.
A channel-group interface can be in the following operational states:
-
Down—The interface is down because it is administratively shut down or some other reason not related to port channels.
-
Individual—The interface is part of a port channel but unable to aggregate into a port channel because of protocol exchange problems.
– This interface continues to forward traffic as an individual link.
– STP is aware of this interface.
-
Suspended—The operational parameters of the interface are not compatible with the port channel. This interface is not forwarding traffic, although the physical MAC link state is still up.
-
Switched—The interface is switched.
-
Up (port channel)—The port channel is up.
-
Up in port channel (members)—The port member of the port channel is up.
-
Hot standby (LACP only)—The interface is eligible to join the port group if one of the interfaces currently participating in the LACP channel goes down.
– This interface does not forward data traffic, only protocol data units (PDUs).
– This interface does not run STP.
-
Module-removed—The module has been removed.
-
Routed—The interface is routed.
Examples
This example shows how to display summary information for the port channels:
n1000v# show port-channel summary Flags: D - Down P - Up in port-channel (members) I - Individual H - Hot-standby (LACP only) s - Suspended r - Module-removed ------------------------------------------------------------------- Group Port- Type Protocol Member Ports ------------------------------------------------------------------- 5 Po5(SD) Eth LACP Eth2/5(D) 20 Po20(RD) Eth LACP Eth2/20(D)
Related Commands
|
|
show port-channel usage
|
Displays the port-channel numbers used and available.
|
show port-channel traffic
|
Displays transmitted and received unicast, multicast, and broadcast percentages for the port channels.
|
show port-channel traffic
To display traffic statistics for port channels, use the
show port-channel traffic
command.
show port-channel
traffic
[
interface port-channel
channel-number
]
Syntax Description
channel-number
|
Port-channel number for the traffic statistics that you want to display. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
This command displays the percentage of transmitted and received unicast, multicast, and broadcast traffic on the port channel.
If you do not specify the
channel-number
,
information for all port channels is displayed.
Examples
This example shows how to display the traffic statistics for all port channels:
n1000v(config)# show port-channel traffic ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst ------ --------- ------- ------- ------- ------- ------- ------- 5 Eth2/5 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% ------ --------- ------- ------- ------- ------- ------- ------- 20 Eth2/20 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
This example shows how to display the traffic statistics for a specific port channel:
n1000v(config)# show port-channel traffic interface port-channel 5 ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst ------ --------- ------- ------- ------- ------- ------- ------- 5 Eth2/5 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
Related Commands
|
|
port-channel summary
|
Displays summary information about port channels.
|
show port-channel usage
To display the port-channel numbers used and available, use the
show port-channel usage
command.
show port-channel
usage
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the usage for all port channels:
n1000v# show port-channel usage Totally 2 port-channel numbers used ==================================== Unused: 1 - 4 , 6 - 19 , 21 - 4096
Related Commands
|
|
port-channel summary
|
Displays summary information about port channels.
|
show port-profile
To display configurations for port profiles, use the
show port-profile
command.
show
port-profile
[
name
prof_name
]
Syntax Description
name
|
(Optional) Specifies to display information about a specific port profile.
|
prof_name
|
Name of the port profile to display.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
Port profile role information is added to this command.
|
4.0(4)SV1(2)
|
Port profile type, pinning and channel-group configuration are added. The capability uplink information is removed.
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
The following example shows how to display the configuration of port profile UplinkProfile1:
n1000v# show port-profile name UplinkProfile1 switchport trunk allowed vlan 114-115 evaluated config attributes: switchport trunk allowed vlan 114-115
Related Commands
|
|
port-profile
|
Creates a port profile.
|
show port-profile expand-interface
To verify that the interface level configuration did not overwrite the port profile configuration, use the
show port-profile expand-interface
command.
show port-profile expand-interface
[
name
port-profile-name
]
Syntax Description
name
|
(Optional) Limits the display to a particular port profile name.
|
module-number
|
Name that identifies an existing port profile.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to verify that the interface level configuration did not overwrite the port profile configuration:
n1000v# show port-profile expand-interface port-profile PortProfile1 port-profile SystemProfile
Related Commands
|
|
show port-profile
|
Displays configurations for port profiles.
|
port-profile
|
Creates a port profile and enters port-profile configuration mode.
|
inherit port-profile
|
Adds the inherited configuration to the new port profile as a default configuration.
|
show port-profile-role
To display the port profile role configuration, use the
show port-profile-role
command.
show
port-profile-role
[
name
port-profile-role-name
]
Syntax Description
name
|
(Optional) Specify that you want to display a specific role.
|
port-profile-role-name
|
Specify the name of the role to display
|
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the adminUser port profile role:
n1000v# show port-profile-role name adminUser
Related Commands
|
|
show port-profile
|
Displays the port profile configuration, including roles assigned to them.
|
show port-profile-role users
|
Displays available users and groups.
|
port-profile-role
|
Creates a port profile role.
|
user
|
Assigns a user to a port profile role.
|
group
|
Assigns a group to a port profile role.
|
assign port-profile-role
|
Assigns a port profile role to a specific port profile.
|
feature port-profile-role
|
Enables support for the restriction of port profile roles.
|
port-profile
|
Creates a port profile.
|
show port-profile-role users
To display available users and groups, use the
show port-profile-role users
command.
show
port-profile-role
users
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display available users and groups:
n1000v#
show port-profile-role users
Groups:
Administrators
TestGroupB
Users:
dbaar
fgreen
suchen
mariofr
Related Commands
|
|
port-profile-role
|
Creates a port profile role.
|
user
|
Assigns a user to a port profile role.
|
group
|
Assigns a group to a port profile role.
|
assign port-profile-role
|
Assigns a port profile role to a specific port profile.
|
feature port-profile-role
|
Enables support for the restriction of port profile roles.
|
port-profile
|
Creates a port profile.
|
show port-profile sync-status
To display interfaces that are out of sync with port profiles, use the
show port-profile sync-status
command.
show
port-profile
sync-status
[
interface
if-name
]
Syntax Description
interface
|
(Optional) Specify that you want to display a specific interface.
|
if-name
|
Specify the name of the interface to display
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1) SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display interfaces that are out of sync with port profiles:
n1000v# show port-profile sync-status
interface status: quarantine
interface status: quarantine
Related Commands
|
|
port-profile
|
Creates a port profile.
|
show port-profile
|
Displays configurations for port profiles.
|
show port-profile virtual usage
To display port profile usage by interface, use the
show port-profile virtual usage
command.
show
port-profile
virtual
usage
[
name
name
]
Syntax Description
name
|
(Optional) Specify that you want to display a specific port profile.
|
name
|
Specify the name of the port profile to display
|
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display port profile usage by interface:
n1000v# show port-profile virtual usage ------------------------------------------------------------------------------- Port Profile Port Adapter Owner ------------------------------------------------------------------------------- vlan1767 Veth7 Net Adapter 1 all-tool-7 Veth8 Net Adapter 1 all-tool-8 aipc1765 Veth4 Net Adapter 1 bl-h-s inband1766 Veth6 Net Adapter 3 bl-h-s mgmt1764 Veth5 Net Adapter 2 bl-h-s Eth4/2 vmnic1 VDANIKLNCOS Eth4/3 vmnic2 VDANIKLNCOS ch-aipc1765 Veth1 Net Adapter 1 bl-h-p ch-mgmt1764 Veth2 Net Adapter 2 bl-h-p ch-inband1766 Veth3 Net Adapter 3 bl-h-p
Related Commands
|
|
port-profile
|
Creates a port profile.
|
show port-profile
|
Displays configurations for port profiles.
|
inherit port-profile
|
Adds the inherited configuration to the new port profile as a default configuration.
|
port-profile-role
|
Creates a port profile role.
|
show port-security
To display the secured MAC addresses in the system, use the
show port-security
command.
show port-security
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the secured MAC addresses in the system:
n1000V# show port-security Total Secured Mac Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 8192 ---------------------------------------------------------------------------- Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action ---------------------------------------------------------------------------- Vethernet1 1 0 0 Shutdown ==========================================================================
Related Commands
|
|
port-security stop learning
|
Sets the Drop on Source Miss (DSM) bit on the port.
|
module vem execute
|
Remotely executes commands on the Virtual Ethernet Module (VEM) from the Cisco Nexus 1000V.
|
show cdp neighbors
|
Displays the configuration and capabilities of upstream devices.
|
show port-security address
To display information about all secure MAC-addresses in the system, use the
show port-security address
command.
show
port-security
address
interface-id
Syntax Description
interface vethernet
|
(Optional) Limits the secure MAC address information to a specific
vEthernet interface.
|
interface ethernet
|
(Optional) Limits the secure MAC address information to a specific
Ethernet interface.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to use the show port-security address command to view information about all MAC addresses in the system:
n1000v# show port-security address Total Secured Mac Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 8192 ---------------------------------------------------------------------- ---------------------------------------------------------------------- Vlan Mac Address Type Ports Remaining Age ---- ----------- ------ ----- ------------- 1 0054.AAB3.770F STATIC port-channel1 0 1 00EE.378A.ABCE STATIC Ethernet1/4 0 ======================================================================
n1000v#
This example shows how to use the show port-security address command to view the MAC addresses secured by the port security feature on the Ethernet 1/4 interface:
n1000v# show port-security address interface ethernet 1/4 ---------------------------------------------------------------------- Vlan Mac Address Type Ports Remaining Age ---- ----------- ------ ----- ------------- 1 00EE.378A.ABCE STATIC Ethernet1/4 0 ----------------------------------------------------------------------
This example shows how to use the show port-security address command to view the MAC addresses secured by the port security feature on the vethernet1 interface:
n1000v# show port-security address interface vethernet 1 Total Secured Mac Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 8192 ---------------------------------------------------------------------- ---------------------------------------------------------------------- Vlan Mac Address Type Ports Remaining age ---- ----------- ------ ----- --------------- 65 0050.56B7.7DE2 DYNAMIC Vethernet1 0 =====================================================================
Related Commands
|
|
clear port-security
|
Clears dynamically learned, secure MAC addresses.
|
switchport port-security
|
Enables port security on a Layer 2 interface.
|
show port-security
|
Shows information about port security.
|
show port-security interface
|
Displays information about secure interfaces.
|
show running-config port-security
|
Displays port-security configuration.
|
show port-security interface
To display information about the secure interfaces on the system, use the
show port-security interface
command.
show
port-security
interface
interface-id
Syntax Description
interface-id
|
Interface ID.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to use the show port-security interface command to view the status of the port security feature on the Ethernet 1/4 interface:
n1000v# show port-security interface ethernet 1/4 Port Status : Secure Down Violation Mode : Shutdown Maximum MAC Addresses : 5 Configured MAC Addresses : 1 Security violation count : 0
Related Commands
|
|
clear port-security
|
Clears dynamically learned, secure MAC addresses.
|
switchport port-security
|
Enables port security on a Layer 2 interface.
|
show port-security
|
Shows information about port security.
|
show port-security address
|
Displays secure MAC addresses of the interfaces.
|
show running-config port-security
|
Displays port-security configuration.
|
show processes
To display the state and the start count of all processes, use the
show processes
command.
show
processes
[
cpu
|
log
|
memory
]
Syntax Description
cpu
|
(Optional) Specifies processes related to the CPU.
|
log
|
(Optional) Specifies information regarding process logs.
|
memory
|
(Optional) Specifies processes related to memory.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the state and the start count of all processes:
PID State PC Start_cnt TTY Type Process ----- ----- -------- ----------- ---- ---- ------------- 1952 S 77f6c18e 1 - O portmap 1979 S 77f6e468 1 - O rpc.mountd 1989 S 77f6e468 1 - O rpc.statd 2016 S 77e0e468 1 - VG sysmgr 2298 S 0 1 - O mping-thread 2299 S 0 1 - O mping-thread 2315 S 0 1 - O stun_kthread 2316 S 0 1 - O stun_arp_mts_kt 2339 S 0 1 - O redun_kthread 2340 S 0 1 - O redun_timer_kth 2866 S 0 1 - O sf_rdn_kthread 2866 S 0 1 - O sf_rdn_kthread 2867 S 77f37468 1 - VU xinetd 2868 S 77f6e468 1 - VU tftpd 2869 S 7788c1b6 1 - VL syslogd 2870 S 77ecf468 1 - VU sdwrapd 2872 S 77d94468 1 - VU platform 2877 S 0 1 - O ls-notify-mts-t 2889 S 77eb2be4 1 - VU pfm_dummy 2896 S 77f836be 1 - O klogd 2903 S 77d9ebe4 1 - VL vshd 2904 S 77e41468 1 - VU stun 2905 S 77a74f43 1 - VL smm 2906 S 77e5a468 1 - VL session-mgr 2907 S 77c4e468 1 - VL psshelper 2908 S 77f75468 1 - VU lmgrd 2909 S 77e36be4 1 - VG licmgr 2910 S 77ebe468 1 - VG fs-daemon 2911 S 77ec5468 1 - VL feature-mgr 2912 S 77e7a468 1 - VU confcheck 2913 S 77eb3468 1 - VU capability 2915 S 77c4e468 1 - VU psshelper_gsvc 2922 S 77f75468 1 - O cisco 2937 S 77895f43 1 - VL clis 2937 S 77895f43 1 - VL clis 2952 S 77cba468 1 - VL xmlma 2953 S 77e8b468 1 - VL vmm 2955 S 77e80468 1 - VU ttyd 2957 S 77ecb6be 1 - VL sysinfo 2958 S 77b57468 1 - VL sksd 2959 S 77ea7468 1 - VG res_mgr 2960 S 77e53468 1 - VG plugin 2961 S 77ccf468 1 - VL mvsh 2962 S 77e05468 1 - VU module 2963 S 77cce468 1 - VL evms 2964 S 77ccf468 1 - VL evmc 2965 S 77ecc468 1 - VU core-dmon 2966 S 7765b40d 1 - VL ascii-cfg 2967 S 77cebbe4 1 - VL securityd 2968 S 77cb5468 1 - VU cert_enroll 2969 S 77b17be4 1 - VL aaa 2973 S 77e19468 1 - VU ExceptionLog 2975 S 77dfb468 1 - VU bootvar 2976 S 77df9468 1 - VG ifmgr 2977 S 77ead468 1 - VU tcap 2978 S 77a6bf43 1 - VL l3vm 2978 S 77a6bf43 1 - VL l3vm 2979 S 77a62f43 1 - VL u6rib 2980 S 77a62f43 1 - VL urib 2981 S 77f30be4 1 - VU core-client 2983 S 77b95468 1 - VL aclmgr 3008 S 77d51468 1 - VU aclcomp 3011 S 7774440d 1 - VL tacacs 3012 S 77a72f43 1 - VL adjmgr 3016 S 77a74f43 1 - VL arp 3021 S 778a1896 1 - VL icmpv6 3022 S 7791ef43 1 - VL netstack 3050 S 7770240d 1 - VL radius 3051 S 77f59be4 1 - VL ip_dummy 3052 S 77f59be4 1 - VL ipv6_dummy 3053 S 7783c40d 1 - VU ntp 3054 S 77f59be4 1 - VL pktmgr_dummy 3055 S 778ae40d 1 - VL snmpd 3056 S 77f59be4 1 - VL tcpudp_dummy 3063 S 7782d40d 1 - VL cdp 3064 S 77b1540d 1 - VL dcos-xinetd 3154 S 77b4040d 1 - O ntpd 3195 S 77e0d468 1 - VL vsim 3196 S 778ee40d 1 - VL ufdm 3196 S 778ee40d 1 - VL ufdm 3197 S 77d42468 1 - VU sf_nf_srv 3198 S 778e240d 1 - VL sal 3199 S 77a14f43 1 - VL rpm 3200 S 778cd40d 1 - VG pltfm_config 3201 S 77efc468 1 - VU pixmc 3202 S 77e0f468 1 - VG pixm 3203 S 77c43468 1 - VU pdl_srv_tst 3204 S 7789e40d 1 - VL nfm 3205 S 77ddc468 1 - VU msp 3206 S 77dbc468 1 - VL monitor 3207 S 7789c40d 1 - VL mfdm 3208 S 7787340d 1 - VL l2fm 3209 S 77dc0468 1 - VL ipqosmgr 3210 S 77e81468 1 - VU ethanalyzer 3211 S 777b740d 1 - VL dhcp_snoop 3212 S 77b3940d 1 - VL dcos-thttpd 3213 S 77c26468 1 - VU copp 3214 S 77b2b468 1 - VL eth_port_channel 3215 S 77d15468 1 - VL vlan_mgr 3219 S 758bc40d 1 - VU vms 3220 S 77b8a468 1 - VL eth-port-sec 3221 S 77abb468 1 - VL stp 3221 S 77abb468 1 - VL stp 3226 S 77de5468 1 - VL lacp 3228 S 777ba40d 1 - VL ethpm 3232 S 77a0127b 1 - VL igmp 3235 S 77dba468 1 - VL private-vlan 3241 S 77d70468 1 - VU vim 3246 S 77d4b468 1 - VU portprofile 3285 S 77f836be 1 1 O getty 3286 S 77f806be 1 S0 O getty 3290 S 77f1deee 1 - O gettylogin1 3308 S 77f836be 1 S1 O getty 3360 S 77ae140d 1 - O dcos_sshd 3361 S 77aaa468 1 8 O vsh 4213 Z 0 1 - O vmw_maintenance 25188 Z 0 1 - O vmw_maintenance 31228 Z 0 1 - O vmw_maintenance 427 Z 0 1 - O vmw_maintenance 1035 Z 0 1 - O vmw_maintenance 2439 Z 0 1 - O vmw_maintenance 7167 Z 0 1 - O vmw_maintenance 8246 Z 0 1 - O vmw_maintenance 8856 Z 0 1 - O vmw_maintenance 10539 Z 0 1 - O vmw_maintenance 10539 Z 0 1 - O vmw_maintenance 16083 Z 0 1 - O vmw_maintenance 19353 S 77ae140d 1 - O dcos_sshd 19354 S 7752340d 1 - O xmlsa 13167 S 77ae140d 1 - O dcos_sshd 13169 S 77aaa468 1 17 O vsh 14253 S 7798140d 1 - O in.dcos-telnetd 14254 S 77aaa468 1 18 O vsh 14757 S 7798140d 1 - O in.dcos-telnetd 14758 S 77a82eee 1 19 O vsh 14933 S 77f426be 1 19 O more 14934 S 77aa9be4 1 19 O vsh 14935 R 77f716be 1 - O ps - NR - 0 - VL hsrp_engine - NR - 0 - VL interface-vlan - NR - 0 - VL hsrp_engine - NR - 0 - VL interface-vlan State: R(runnable), S(sleeping), Z(defunct) Type: U(unknown), O(non sysmgr) NR(not running), ER(terminated etc)
Related Commands
|
|
show system redundancy status
|
Displays the HA status of the system.
|
show module
|
Displays information about all available VSMs and VEMs in the system.
|
module vem
|
Allows you to enter commands on the VEM remotely from the Cisco Nexus 1000V.
|
show radius-server
To display the RADIUS server configuration, use the
show radius-server
command.
show
radius-server
[
host
]
Syntax Description
host
|
(Optional) DNS name or IP address for the RADIUS server.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the RADIUS server configuration:
n1000v# show radius-server ads available for authentication on port:1812 available for accounting on port:1813
Related Commands
|
|
radius-server host
|
Defines the IP address or hostname for the RADIUS server.
|
radius-server directed-request
|
Enables directed requests.
|
show radius-server groups
|
Displays information about the RADIUS server group configuration.
|
show radius-server sorted
|
Displays RADIUS servers sorted by name.
|
show radius-server statistics
|
Displays RADIUS statistics.
|
show radius-server directed-request
|
Displays the directed request configuration.
|
show radius-server directed-request
To display the directed request configuration, use the
show radius-server directed-request
command.
show
radius-server
directed-request
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the directed request configuration:
n1000v(config)# show radius-server directed-request
Related Commands
|
|
radius-server directed-request
|
Enables directed requests.
|
show radius-server groups
|
Displays information about the RADIUS server group configuration.
|
show radius-server sorted
|
Displays RADIUS servers sorted by name.
|
show radius-server statistics
|
Displays RADIUS statistics.
|
show radius-server groups
To display information about the RADIUS server group configuration, use the
show radius-server groups
command.
show
radius-server
groups
[
group-name
]
Syntax Description
group-name
|
(Optional) Name of the RADIUS server group.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the RADIUS server group configuration:
n1000v# show radius-server groups
Related Commands
|
|
aaa group server radius
|
Creates a RADIUS server group and enters the RADIUS server group configuration submode for that group.
|
radius-server host
|
Defines the IP address or hostname for the RADIUS server.
|
radius-server directed-request
|
Enables directed requests.
|
show radius-server sorted
|
Displays RADIUS servers sorted by name.
|
show radius-server statistics
|
Displays RADIUS statistics.
|
show radius-server directed-request
|
Displays the directed request configuration.
|
show radius-server sorted
To display the RADIUS server configuration in a sorted format, use the
show radius-server sorted
command.
show
radius-server
sorted
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the RADIUS server configuration in a sorted format:
n1000v(
config)#
show radius-server sorted
Related Commands
|
|
radius-server host
|
Defines the IP address or hostname for the RADIUS server.
|
radius-server directed-request
|
Enables directed requests.
|
show radius-server groups
|
Displays information about the RADIUS server group configuration.
|
show radius-server statistics
|
Displays RADIUS statistics.
|
show radius-server directed-request
|
Displays the directed request configuration.
|
show radius-server statistics
To displays the RADIUS statistics, use the
show radius-server statistics
command.
show
radius-server
statistics
{
hostname | ipv4-address
}
Syntax Description
hostname
|
DNS name for the RADIUS server host.
|
ipv4-address
|
IP address of the RADIUS server host.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the RADIUS statistics:
n1000v# show radius-server statistics 10.10.1.1 Authentication Statistics sucessfull transactions: 0 responses with no matching requests: 0 responses not processed: 0 responses containing errors: 0 sucessfull transactions: 0 responses with no matching requests: 0 responses not processed: 0 responses containing errors: 0
Related Commands
|
|
radius-server host
|
Defines the IP address or hostname for the RADIUS server.
|
radius-server directed-request
|
Enables directed requests.
|
show radius-server groups
|
Displays information about the RADIUS server group configuration.
|
show radius-server sorted
|
Displays RADIUS servers sorted by name.
|
show radius-server statistics
|
Displays RADIUS statistics.
|
show radius-server directed-request
|
Displays the directed request configuration.
|
show running-config diff
To verify the difference between the running and startup configurations, use the
show running-config diff
command.
show
running-config diff
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
When you switch over from one VSM to another, any unsaved running configuration that was available in an active VSM is still unsaved in the new active VSM. You can verify this unsaved running configuration with this command. Then, save that configuration in the startup. if needed.
Examples
This example shows how to verify the difference between the running and startup configurations:
n1000v# show running-config diff role feature-group name new username admin password 5 $1$S7HvKc5G$aguYqHl0dPttBJAhEPwsy1 role network-admin
Related Commands
|
|
system switchover
|
Initiates, on the active VSM, a manual switchover to the standby VSM.
|
copy running-config startup-config
|
Copies the running configuration to the startup configuration.
|
show running-config interface ethernet
To display the running configuration for a specific Ethernet interface, use the
show running-config interface ethernet
command.
show running-config interface ethernet
slot/port
Syntax Description
slot/port
|
Slot number and port number for an existing Ethernet interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the running configuration for a Ethernet interface 2/1:
n1000v# show running-config interface ethernet 2/1 inherit port-profile uplink_all
Related Commands
|
|
show running-config interface port-channel
|
Displays information about the running configuration of the port channel.
|
show running-config interface vethernet
|
Displays information about the running configuration of the vEthernet interface.
|
show running-config interface port-channel
To display the running configuration for a specific port channel, use the
show running-config interface port-channel
command.
show running-config interface port-channel
{
channel-number
}
Syntax Description
channel-number
|
Number of the port-channel group. The range of values is from 1 to 4096.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
The following example shows how to display the running configuration for port channel 10:
n1000v(config)#
show running-config interface port-channel 10
Related Commands
|
|
show port-channel summary
|
Displays a summary of port-channel information.
|
show running-config interface vethernet
To display the running configuration for a specific vEthernet interface, use the
show running-config interface vethernet
command.
show running-config interface vethernet
interface-number
Syntax Description
interface-number
|
Number that identifies an existing vEthernet interface.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the running configuration for a vEthernet interface 2/1:
n1000v# show running-config interface vethernet 1 switchport mode private-vlan host
Related Commands
|
|
show running-config interface port-channel
|
Displays information about the running configuration of the port channel.
|
show running-config interface ethernet
|
Displays information about the running configuration of the Ethernet interface.
|
show running-config port-profile
To display the port profile configuration, use the
show running-config port-profile
command.
show
running-config
port-profile
[
prof_name
]
Syntax Description
prof_name
|
(Optional) Port Profile Name.
|
Command Modes
Any
network-admin
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the port profile configuration:
n1000v(config)# show running-config port-profile !Command: show running-config port-profile !Time: Fri Oct 15 13:28:40 2010 port-profile default max-ports 32 port-profile type ethernet allaccess2 assign port-profile-role adminUser port-profile type vethernet feature-veth-240 switchport access vlan 240 description Port-group created for Nexus1000V internal usage. Do not use/modify manually.
Related Commands
|
|
port-profile
|
Creates a port profile.
|
show running-config vlan
To display the running configuration for a specified VLAN, use the
show running-config vlan
command.
show
running-config
vlan
vlan-id
Syntax Description
vlan-id
|
VLAN ID number or range of VLANs. Valid VLAN IDs are1-4094 or ranges are 1-5, 10 or 2-5, 7-19.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how display the running configuration for VLAN100:
n1000v(
config)#
show running-config vlan 100
Related Commands
|
|
show vlan
|
Displays VLAN information.
|
vlan
|
Creates a VLAN.
|
show snmp
To display information about one or more destination profiles, use the
show snmp
command.
show
snmp
[
community
|
context
|
engineID
|
group
|
host
|
sessions
|
trap
|
user
]
Syntax Description
community
|
(Optional) Specifies SNMP community strings.
|
context
|
(Optional) Specifies SNMP context mapping entries.
|
engineID
|
(Optional) Specifies the SNMP engineID.
|
group
|
(Optional) Specifies the SNMP group.
|
host
|
(Optional) Specifies SNMP hosts.
|
sessions
|
(Optional) Specifies SNMP sessions.
|
trap
|
(Optional) Specifies SNMP traps.
|
user
|
(Optional) Specifies SNMPv3 users.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the SNMP engineID:
n1000v# show snmp engineID Local SNMP engineID: [Hex] 800000090302000C000000 [Dec] 128:000:000:009:003:002:000:012:000:000:000
Related Commands
|
|
snmp-server contact
|
Configures sysContact, which is the SNMP contact name.
|
snmp-server location
|
Configures sysLocation, which is the SNMP location.
|
show ssh key
To display the Secure Shell (SSH) server keys, use the
show ssh key
command.
show
ssh
key
[
dsa
|
rsa
]
Syntax Description
dsa
|
(Optional) Specifies the display of DSA SSH keys.
|
rsa
|
(Optional) Specifies the display of RSA SSH keys.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display SSH server keys:
Related Commands
|
|
ssh key
|
Generates the SSH server key.
|
show ssh server
|
Displays whether the SSH server is enabled.
|
show ssh server
To display the Secure Shell (SSH) server configuration, use the
show ssh server
command.
show
ssh
server
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the SSH server configuration:
Related Commands
|
|
ssh
|
Creates an SSH IP session to a remote device using IP.
|
ssh key
|
Generates the SSH server key.
|
show ssh server
|
Displays whether the SSH server is enabled.
|
show ssh key
|
Displays the SSH server keys.
|
show startup-config aaa
To display the Authentication, Authorization and Accounting protocol (AAA) configuration in the startup configuration, use the
show startup-config aaa
command.
show
startup-config
aaa
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the AAA configuration in the startup configuration:
n1000v# show startup-config aaa
Related Commands
|
|
show startup-config aclmanager
|
Displays startup configuration for the access control list (ACL) manager.
|
show startup-config am
|
Displays information about the Arthur–Merlin protocol (AM).
|
show startup-config arp
|
Displays information about ARP.
|
show startup-config dhcp
|
Displays information about DHCP.
|
show startup-config icmpv6
|
Displays information about ICMPv6.
|
show startup-config igmp
|
Displays information about IGMP.
|
show startup-config interface
|
Displays the interface configuration.
|
show startup-config ip
|
Displays information about IP.
|
show startup-config ipqos
|
Displays the startup configuration for IP QoS Manager.
|
show startup-config ipv6
|
Displays information about IPv6.
|
show startup-config l3vm
|
Displays information about l3vm.
|
show startup-config license
|
Displays information about licensing.
|
show startup-config
log
|
Displays the execution log of the last-used ASCII startup configuration.
|
show startup-config monitor
|
Displays configured Ethernet SPAN sessions.
|
show startup-config netflow
|
Displays the NetFlow configuration.
|
show startup-config port-profile
|
Displays the port-profile configuration.
|
show startup-config port-security
|
Displays the port-security configuration.
|
show startup-config radius
|
Displays the RADIUS configuration.
|
show startup-config tacacs+
|
Displays the TACACS configuration.
|
show startup-config radius
To display the RADIUS configuration in the startup configuration, use the
show startup-config radius
command.
show
startup-config
radius
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the RADIUS configuration in the startup configuration:
n1000v# show startup-config radius
Related Commands
|
|
show startup-config aaa
|
Displays the Authentication, Authorization and Accounting protocol (AAA) configuration in the startup configuration.
|
show startup-config aclmanager
|
Displays startup configuration for the access control list (ACL) manager.
|
show startup-config am
|
Displays information about Arthur-Merlin protocol (AM).
|
show startup-config arp
|
Displays information about ARP.
|
show startup-config dhcp
|
Displays information about DHCP.
|
show startup-config icmpv6
|
Displays information about ICMPv6.
|
show startup-config igmp
|
Displays information about IGMP.
|
show startup-config interface
|
Displays the interface configuration.
|
show startup-config ip
|
Displays information about IP.
|
show startup-config ipqos
|
Displays the startup configuration for the IP QoS Manager.
|
show startup-config ipv6
|
Displays information about IPv6.
|
show startup-config l3vm
|
Displays information about l3vm.
|
show startup-config license
|
Displays information about licensing.
|
show startup-config
log
|
Displays the execution log of the last-used ASCII startup configuration.
|
show startup-config monitor
|
Displays configured Ethernet SPAN sessions.
|
show startup-config netflow
|
Displays the NetFlow configuration.
|
show startup-config port-profile
|
Displays the port-profile configuration.
|
show startup-config port-security
|
Displays the port-security configuration.
|
show startup-config radius
|
Displays the RADIUS configuration.
|
show startup-config tacacs+
|
Displays the TACACS configuration.
|
show startup-config security
To display the user account configuration in the startup configuration, use the
show startup-config security
command.
show
startup-config
security
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the user account configuration in the startup configuration:
n1000v# show startup-config security username admin password 5 $1$3/cH7rWm$W3QUjfQOyfySds5p3/PtX. role network-admin username kathleen password 5 $1$7vewiaFA$iLCfmalyKeSBySqrAgvNZ/ role network-op username kathleen role network-admin
Related Commands
|
|
show startup-config aaa
|
Displays the Authentication, Authorization and Accounting protocol (AAA) configuration.
|
show startup-config aclmanager
|
Displays the startup configuration for Access Control List (ACL) manager.
|
show startup-config am
|
Displays information about the Arthur–Merlin protocol (AM).
|
show startup-config arp
|
Displays information about ARP.
|
show startup-config dhcp
|
Displays information about DHCP.
|
show startup-config icmpv6
|
Displays information about ICMPv6.
|
show startup-config igmp
|
Displays information about IGMP.
|
show startup-config interface
|
Displays the interface configuration.
|
show startup-config ip
|
Displays information about IP.
|
show startup-config ipqos
|
Displays the startup configuration for the IP QoS Manager.
|
show startup-config ipv6
|
Displays information about IPv6.
|
show startup-config l3vm
|
Displays information about l3vm.
|
show startup-config license
|
Displays information about licensing.
|
show startup-config
log
|
Displays the execution log of last used ASCII startup configuration.
|
show startup-config monitor
|
Displays configured Ethernet SPAN sessions.
|
show startup-config netflow
|
Displays the NetFlow configuration.
|
show startup-config port-profile
|
Displays the port profile configuration.
|
show startup-config port-security
|
Displays the port-security configuration.
|
show startup-config radius
|
Displays the RADIUS configuration.
|
show startup-config tacacs+
|
Displays the TACACS configuration.
|
show svs connections
To display the current connections to the Cisco Nexus 1000V for verification, use the
show svs connections
command.
show
svs
connections
[
conn_name
]
Syntax Description
conn_name
|
(Optional) Name of an existing connection.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the SVS connection:
n1000v# show svs connections protocol: vmware-vim https datacenter name: Documentation-DC DVS uuid: 9b dd 36 50 2e 27 27 8b-07 ed 81 89 ef 43 31 17 operational status: Disconnected
Related Commands
|
|
svs connection
|
Places you into connection configuration mode for adding this connection between Cisco Nexus 1000V and the vCenter Server.
|
show svs domain
|
Displays the domain configuration.
|
show svs neighbors
|
Displays information about SVS neighbors.
|
show svs domain
To display the VSM domain configuration, use the
show svs domain
command.
show
svs
domain
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
4.0(4)SV1(2)
|
The output of this command was modified to include the Layer 2 and Layer 3 transport mode configuration.
|
Examples
This example shows how to display the VSM domain configuration:
n1000v#
config t
n1000v(config)#
svs-domain
n1000v(config-svs-domain)#
show svs domain
SVS domain config:
Domain id: 100
Control vlan: 100
Packet vlan: 101
Management vlan: 0
L2/L3 Control mode: L3
L2/L3 Control interface: mgmt0
Status: Config push to VC successful.
n1000v(config-svs-domain)#
Related Commands
|
|
svs-domain
|
Creates and configures a domain for the Cisco Nexus 1000V that identifies the VSM and VEMs and the control and packet VLANs for communication and management.
|
show svs neighbors
To display all SVS neighbors, use the
show svs neighbors
command.
show svs neighbors
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display all SVS neighbors:
n1000v# show svs neighbors AIPC Interface MAC: 0050-56b6-2bd3 Inband Interface MAC: 0050-56b6-4f2d Src MAC Type Domain-id Node-id Last learnt (Sec. ago) ------------------------------------------------------------------------ 0002-3d40-7102 VEM 113 0302 71441.12 0002-3d40-7103 VEM 113 0402 390.77
Related Commands
|
|
show svs domain
|
Displays the Virtual Supervisor Module (VSM) domain configuration.
|
svs-domain
|
Creates and configures a domain for the Cisco Nexus 1000V that identifies the VSM and Virtual Ethernet Modules (VEMs) and the control and packet VLANs for communication and management.
|
show svs upgrade status
To monitor the upgrade of the Virtual Supervisor Module (VSM), use the
show svs upgrade status
command.
show
svs upgrade status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.2(1)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to monitor the upgrade of the VSM to a new software version:
n1000v# show svs upgrade status Upgrade mgmt0 ipv4 addr: 1.1.1.1 Upgrade control0 ipv4 addr:
Related Commands
|
|
svs upgrade start
|
Begins the upgrade of the VSM.
|
svs upgrade complete
|
Completes a VSM software upgrade, and notifies hosts to switch to the upgraded datapath.
|
show system error-id
To display detailed information on system error codes, use the
show system error-id
command.
show
system
error-id
{
list
|
error-code
}
Syntax Description
list
|
Displays brief information for all the system error messages.
|
error-code
|
Displays description about a specific error code.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display detailed information about error code 0x401e0008:
n1000v# show system error-id 0x401e0008 Error Description: request was aborted, standby disk may be full
Related Commands
|
|
show system vem feature level
|
Displays the current software release supported.
|
show system redundancy status
|
Displays the system redundancy status.
|
system vlan
|
Adds the system VLAN to this port profile.
|
show system resources
|
Displays the system resources.
|
show system redundancy status
To display the current redundancy status for the Virtual Supervisor Module (VSM), use the
show system redundancy status
command.
show
system
redundancy
status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the current redundancy status for the VSM:
n1000v# show system redundancy status administrative: standalone Internal state: Active with no standby Redundancy state: Not present
Related Commands
|
|
system redundancy role
|
Designates the HA role of the VSM.
|
show system resources
|
Displays the system resources.
|
show system resources
To display system-related CPU and memory statistics, use the
show system resources
command.
show system resources
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display system-related CPU and memory statistics:
n1000v# show system resources Load average: 1 minute: 0.00 5 minutes: 0.00 15 minutes: 0.00 Processes : 261 total, 1 running CPU states : 0.0% user, 0.0% kernel, 100.0% idle Memory usage: 2075012K total, 946780K used, 1128232K free 66764K buffers, 475404K cache
Related Commands
|
|
show system vem feature level
|
Displays the current software release supported.
|
show system redundancy
|
Displays the system redundancy status.
|
system vlan
|
Adds the system VLAN to this port profile.
|
show system vem feature level
To display the current software release supported, use the
show system vem feature level
command.
show
system
vem
feature
level
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display the current VEM feature level:
n1000v# show system vem feature level current feature level: 4.0(4)SV1(2)
Related Commands
|
|
system update vem feature level
|
Changes the software version supported on VEMs.
|
show table-map
To display QoS table maps, use the
show table-map
command.
show
table-map
[
table-map-name
|
default-table-map-name
]
Syntax Description
table-map-name
|
(Optional) Specify a particular table map to display.
|
default-table-map-name
|
(Optional) Specify the system-defined table map name.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(4)
|
This command was introduced.
|
Examples
This example shows how to display the pir-markdown-map:
n1000v#
show table-map pir-markdown-map Table-map pir-markdown-map
Related Commands
|
|
table-map
|
Creates or modifies a QoS table map.
|
show tacacs-server
To display the TACACS+ server configuration, use the
show tacacs-server
command.
show
tacacs-server
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The global shared key is saved in encrypted form in the running configuration. To display the key, use the
show running-config
command.
Examples
This example shows how to displays the TACACS+ server configuration:
n1000v# show tacacs-server Global TACACS+ shared secret:******** total number of servers:1 following TACACS+ servers are configured:
Related Commands
|
|
tacacs+ enable
|
Enables TACACS+.
|
tacacs-server key
|
Designates the global key shared between the Cisco Nexus 1000V and the TACACS+ server hosts.
|
show tacacs-server directed-request
|
Displays the directed server enable configuration.
|
show tacacs-server groups
|
Displays information about the TACACS+ server group configuration.
|
show tacacs-server sorted
|
Displays TACACS+ servers, sorted by server name.
|
show tacacs-server statistics
|
Displays TACACS statistics.
|
show tcp client
To display information about the TCP client, use the
show tcp client
command.
show
tcp
client
[
pid
pid
] [
detail
]
Syntax Description
pid
|
(Optional) Specifies information about the client process.
|
pid
|
ID for the specified client process.
|
detail
|
(Optional) Specifies socket details.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the TCP client:
Total number of clients: 12 Total number of cancels: 255372 client: syslogd, pid: 2962, sockets: 2 client: ntp, pid: 3148, sockets: 2 client: dcos-xinetd, pid: 3156, sockets: 2 client: snmpd, pid: 3150, sockets: 4 client: ntpd, pid: 3243, sockets: 3 client: dcos-thttpd, pid: 3305, sockets: 2 client: radiusd, pid: 3143, sockets: 2 client: vms, pid: 3318, sockets: 0 client: dcos_sshd, pid: 3491, sockets: 3 client: vsh, pid: 3494, sockets: 0 client: in.dcos-telnetd, pid: 25028, sockets: 3 client: vsh, pid: 25029, sockets: 0
Related Commands
|
|
show tcp connection
|
Displays information about the TCP connection.
|
show tcp statistics
|
Displays TCP protocol statistics.
|
show tcp connection
To display information about the connection, use the
show tcp connection
command.
show
tcp
connection
[
pid
pid
|
tcp
|
udp
|
raw
] [
local
{
srcIP
|
srcIP6
}] [
foreign
{
dstIP
|
dstIP6
}] [
detail
]
Syntax Description
pid
|
(Optional) Specifies the client process connection status.
|
pid
|
ID for the client process connection status.
|
tcp
|
(Optional) Specifies all TCP connections.
|
udp
|
(Optional) Specifies all UDP connections.
|
raw
|
(Optional) Specifies all RAW connections.
|
local
|
(Optional) Specifies all TCP connections with a specified local address.
|
srcIP
|
Local IP address in the format
A.B.C.D
.
|
srcIP6
|
Local IP address in the format
A:B:C:.D
.
|
foreign
|
(Optional) Specifies all TCP connections with a specified foreign address.
|
dstIP
|
Destination IP address in the format
A.B.C.D
.
|
dstIP6
|
Destination IP address in the format
A:B:C:.D
.
|
detail
|
(Optional) Specifies detailed connection information.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display detailed information about the connection:
n1000v#
show tcp connection detail Total number of tcp sockets: 8 Active connections (including servers) Local host: * (22), Foreign host: * (0) Protocol: tcp6, type: stream, ttl: 64, tos: 0, Id: 6 cc: 0, hiwat: 25300, lowat: 1, flags: none cc: 0, hiwat: 25300, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 1012 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 1012, duration: 1390144100 ms Local host: * (23), Foreign host: * (0) Protocol: tcp6, type: stream, ttl: 64, tos: 0, Id: 17 cc: 0, hiwat: 17204, lowat: 1, flags: none cc: 0, hiwat: 17204, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 1012 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 1012, duration: 1390144100 ms Local host: * (80), Foreign host: * (0) Protocol: tcp6, type: stream, ttl: 64, tos: 0, Id: 13 Options: none, state: none cc: 0, hiwat: 16384, lowat: 1, flags: none cc: 0, hiwat: 16384, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 1073725440 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 1024, duration: 1390144100 ms Local host: * (80), Foreign host: * (0) Protocol: tcp, type: stream, ttl: 64, tos: 0, Id: 14 Options: none, state: none cc: 0, hiwat: 16500, lowat: 1, flags: none cc: 0, hiwat: 16500, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 500 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 500, duration: 1390144100 ms Local host: * (161), Foreign host: * (0) Protocol: tcp, type: stream, ttl: 64, tos: 0, Id: 3 Options: none, state: none cc: 0, hiwat: 16384, lowat: 1, flags: none cc: 0, hiwat: 16384, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 512 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 512, duration: 1390144100 ms Local host: * (161), Foreign host: * (0) Protocol: tcp6, type: stream, ttl: 64, tos: 0, Id: 5 Options: none, state: none cc: 0, hiwat: 16384, lowat: 1, flags: none cc: 0, hiwat: 16384, lowat: 2048, flags: iss: 0, snduna: 0, sndnxt: 0, sndwnd: 0 irs: 0, rcvnxt: 0, rcvwnd: 0, sndcwnd: 1073725440 srtt: 0 ms, rtt: 0 ms, rttv: 12000 ms, krtt: 3000 ms rttmin: 1000 ms, mss: 1024, duration: 1390144100 ms Local host: 10.10.233.74 (22), Foreign host: 10.10.185.189 (48131) Protocol: tcp, type: stream, ttl: 64, tos: 0, Id: 20 Options: none, state: none cc: 0, hiwat: 17500, lowat: 1, flags: none cc: 0, hiwat: 17500, lowat: 2048, flags: iss: 3575780911, snduna: 3576001996, sndnxt: 3576001996, sndwnd: 32767 irs: 905490047, rcvnxt: 905574926, rcvwnd: 17500, sndcwnd: 1953 srtt: 700 ms, rtt: 0 ms, rttv: 0 ms, krtt: 1000 ms rttmin: 1000 ms, mss: 500, duration: 1390101600 ms Local host: 10.10.233.74 (23), Foreign host: 10.10.22.107 (35030) Protocol: tcp, type: stream, ttl: 64, tos: 0, Id: 18 Options: none, state: none cc: 0, hiwat: 17500, lowat: 1, flags: none cc: 0, hiwat: 17500, lowat: 2048, flags: iss: 3273730667, snduna: 3273793065, sndnxt: 3273793065, sndwnd: 32767 irs: 3760023047, rcvnxt: 3760024636, rcvwnd: 17500, sndcwnd: 25095 srtt: 700 ms, rtt: 0 ms, rttv: 0 ms, krtt: 1000 ms rttmin: 1000 ms, mss: 500, duration: 467168700 ms Total number of udp sockets: 11 Active connections (including servers) Local host: * (123), Foreign host: * (0) Protocol: udp6, type: dgram, ttl: 64, tos: 0, Id: 11 Options: none, state: none cc: 0, hiwat: 42240, lowat: 1, flags: none cc: 0, hiwat: 9216, lowat: 2048, flags: Local host: * (123), Foreign host: * (0) Protocol: udp, type: dgram, ttl: 64, tos: 0x10, Id: 10 Options: none, state: none cc: 0, hiwat: 42240, lowat: 1, flags: none cc: 0, hiwat: 9216, lowat: 2048, flags: Local host: * (161), Foreign host: * (0) Protocol: udp, type: dgram, ttl: 64, tos: 0, Id: 1 cc: 0, hiwat: 131072, lowat: 1, flags: none cc: 0, hiwat: 131072, lowat: 2048, flags: Local host: * (161), Foreign host: * (0) Protocol: udp6, type: dgram, ttl: 64, tos: 0, Id: 2 cc: 0, hiwat: 131072, lowat: 1, flags: none cc: 0, hiwat: 131072, lowat: 2048, flags: Local host: 127.0.0.1 (123), Foreign host: * (0) Protocol: udp, type: dgram, ttl: 64, tos: 0x10, Id: 12 Options: none, state: none cc: 0, hiwat: 42240, lowat: 1, flags: none cc: 0, hiwat: 9216, lowat: 2048, flags: Local host: 127.0.0.1 (130), Foreign host: * (0) Protocol: udp, type: dgram, ttl: 64, tos: 0, Id: 9 cc: 0, hiwat: 42240, lowat: 1, flags: none cc: 0, hiwat: 9216, lowat: 2048, flags: Local host: 127.0.0.1 (27613), Foreign host: 127.0.0.1 (123) Protocol: udp, type: dgram, ttl: 64, tos: 0, Id: 8 cc: 0, hiwat: 42240, lowat: 1, flags: cc: 0, hiwat: 9216, lowat: 2048, flags: Total number of raw sockets: 0
Related Commands
|
|
show telnet server
|
Displays the Telnet server configuration.
|
show running-config security
|
Displays the user account configuration in the running configuration.
|
show tcp client
|
Displays information about the TCP client.
|
show tcp statistics
|
Displays TCP protocol statistics.
|
show tcp statistics
To display TCP protocol statistics, use the
show tcp statistics
command.
show
tcp
statistics
[
all
|
tcp4
|
tcp6
|
tcpsum
|
udp4
|
udp6
|
udpsum
|
raw4
|
raw6
|
rawsum
]
Syntax Description
all
|
(Optional) Specifies all TCPv4, TCPv6, UDPv4, UDPv6, RAWv4, and RAWv6 protocol statistics.
|
tcp4
|
(Optional) Specifies TCPv4 protocol statistics.
|
tcp6
|
(Optional) Specifies TCPv6 protocol statistics.
|
tcpsum
|
(Optional) Specifies the sum of TCPv4 and TCPv6 protocols statistics.
|
udp4
|
(Optional) Specifies UDPv4 protocol statistics.
|
udp6
|
(Optional) Specifies UDPv6 protocol statistics.
|
udpsum
|
(Optional) Specifies the sum of UDPv4 and UDPv6 protocols statistics.
|
raw4
|
(Optional) Specifies RAWv4 protocol statistics.
|
raw6
|
(Optional) Specifies RAWv6 protocol statistics.
|
rawsum
|
(Optional) Specifies the sum of RAWv4 and RAWv6 protocols statistics.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display TCP protocol statistics:
n1000v# show tcp statistics 0 checksum error, 0 bad offset, 0 too short, 0 MD5 error 232451 packets (72213943 bytes) in sequence 195 duplicate packets (192 bytes) 0 partially dup packets (0 bytes) 8652 out-of-order packets (0 bytes) 0 packets (0 bytes) with data after window 0 window probe packets, 0 window update packets 44339 duplicate ack packets, 0 ack packets with unsent data 252581 ack packets (103465405 bytes) 533421 total, 0 urgent packets 326430 data packets (105082025 bytes) 90 data packets (22114 bytes) retransmitted 34 window probe packets, 7029 window update packets 44330 connections initiated, 6715 connections accepted, 50669 connections established 51045 connections closed (including 165 dropped, 376 embryonic dropped) 3067 total rxmt timeout, 0 connections dropped in rxmt timeout 463 keepalive timeout, 92 keepalive probe, 371 connections dropped in keepalive
Related Commands
|
|
show tcp connection
|
Displays information about the TCP connection.
|
show tcp statistics
|
Displays TCP protocol statistics.
|
show tech-support
To collect switch information for Cisco TAC to assist you in diagnosing issues, use the
show tech-support
command.
show tech-support
{
aclmgr
|
dhcp
|
ipqos
|
ipv6
|
netflow
|
svs
|
vsd
}
Syntax Description
aclmgr
|
Gathers information regarding access control list (ACL) commands.
|
dhcp
|
Gathers information related to DHCP, such as snooping statistics and VLAN configuration.
|
ipqos
|
Displays IP QoS Manager information, such as event details and policy configuration.
|
ipv6
|
Displays IPv6 information, such as IPv6 static routes and traffic statistics.
|
netflow
|
Displays information regarding NetFlow, such as event details and statistics.
|
svs
|
Displays SVS information, such as interface and software configurations.
|
vsd
|
Displays virtual service domain (VSD) events and statistical information.
|
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to collect switch information for Cisco TAC regarding IPv6 issues:
n1000v# show tech-support ipv6 `show ipv6 interface vrf all` IPv6 Configured Static Routes ftm_stats_get_init : 0.00 0 ftm_stats_get_tx : 0.00 0 ftm_stats_get_rx : 0.00 0 ftm_stats_get_flush : 0.00 0 ftm_stats_get_radix : 0.00 0 ftm_stats_csm_fp : 0.00 0 IPv6 Registered Client Status Client: icmpv6, status: up, pid: 3021, extended pid: 3021 Protocol: 58, pib-index: 4, routing context id: 255 IPC messages to control mq: 0 IPC messages to data mq: 0 Client: tcpudp, status: up, pid: 3022, extended pid: 3022 Protocol: 17, pib-index: 3, routing context id: 255 IPC messages to control mq: 1 IPC messages to data mq: 0 Recv fn: tcp_process_ipv6_data_msg (0x81fd22a) Client: tcpudp, status: up, pid: 3022, extended pid: 3022 Protocol: 6, pib-index: 2, routing context id: 255 IPC messages to control mq: 1 IPC messages to data mq: 0 Recv fn: tcp_process_ipv6_data_msg (0x81fd22a) IPv6 Software Processed Traffic and Error Statistics, last reset: never Counter Unicast Multicast ------- ------- --------- Fragments originated: 0 0 Bad version: 0, route lookup failed: 0, hop limit exceeded: 0 Option header errors: 0, payload length too small: 0 PM errors: 0, MBUF errors: 0, encapsulation errors: 0 Syntax error while parsing 'show ipv6 route' `show ipv6 internal mem-stats all` Private Mem stats for UUID : Malloc track Library(103) Max types: 5 -------------------------------------------------------------------------------- Curr alloc: 1591 Curr alloc bytes: 76678(74k) IPC messages to control mq: 0 Curr alloc: 1522 Curr alloc bytes: 164596(160k) Private Mem stats for UUID : Routing IPC Library(528) Max types: 10 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Routing Library for managing mbufs(522) Max types: -------------------------------------------------------------------------------- Curr alloc: 120 Curr alloc bytes: 485008(473k) Private Mem stats for UUID : Patricia Trie Library(523) Max types: 3 -------------------------------------------------------------------------------- Curr alloc: 29 Curr alloc bytes: 916(0k) IPC messages to control mq: 0 Curr alloc: 1522 Curr alloc bytes: 164596(160k) Private Mem stats for UUID : Routing IPC Library(528) Max types: 10 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Routing Library for managing mbufs(522) Max types: -------------------------------------------------------------------------------- Curr alloc: 120 Curr alloc bytes: 485008(473k) Private Mem stats for UUID : Patricia Trie Library(523) Max types: 3 -------------------------------------------------------------------------------- Curr alloc: 29 Curr alloc bytes: 916(0k) IPC messages to control mq: 0 Curr alloc: 1522 Curr alloc bytes: 164596(160k) Private Mem stats for UUID : Routing IPC Library(528) Max types: 10 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Routing Library for managing mbufs(522) Max types: -------------------------------------------------------------------------------- Curr alloc: 120 Curr alloc bytes: 485008(473k) Private Mem stats for UUID : Patricia Trie Library(523) Max types: 3 -------------------------------------------------------------------------------- Curr alloc: 29 Curr alloc bytes: 916(0k) IPC messages to control mq: 0 Curr alloc: 1522 Curr alloc bytes: 164596(160k) Private Mem stats for UUID : Routing IPC Library(528) Max types: 10 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Routing Library for managing mbufs(522) Max types: -------------------------------------------------------------------------------- Curr alloc: 120 Curr alloc bytes: 485008(473k) Private Mem stats for UUID : Patricia Trie Library(523) Max types: 3 -------------------------------------------------------------------------------- Curr alloc: 29 Curr alloc bytes: 916(0k) Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : libfsrv(404) Max types: 11 -------------------------------------------------------------------------------- Curr alloc: 65 Curr alloc bytes: 1888(1k) Private Mem stats for UUID : FSM Utils(53) Max types: 68 -------------------------------------------------------------------------------- Curr alloc: 10 Curr alloc bytes: 376(0k) Private Mem stats for UUID : IM LIB(319) Max types: 33 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Packet Manager(263) Max types: 16 -------------------------------------------------------------------------------- Curr alloc: 22 Curr alloc bytes: 236504(230k) Private Mem stats for UUID : Internet Protocol version 6 (IPv6)(269) Max types: -------------------------------------------------------------------------------- Curr alloc: 6 Curr alloc bytes: 1088(1k) Private Mem stats for UUID : Transmission Control Protocol (TCP)(271) Max types: -------------------------------------------------------------------------------- Curr alloc: 70 Curr alloc bytes: 272444(266k) Private Mem stats for UUID : Lcache(544) Max types: 3 Private Mem stats for UUID : Adjacency Manager(264) Max types: 16 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : Internet Control Message Protocol version 6 (ICMPv6 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Private Mem stats for UUID : NF DDB Utils(515) Max types: 15 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Curr alloc: 3838 Curr alloc bytes: 15194210 (14838k) Shared Mem stats for UUID : Non mtrack users(0) Max types: 155 Shared Mem stats for UUID : Patricia Trie Library(523) Max types: 2 -------------------------------------------------------------------------------- Curr alloc: 2 Curr alloc bytes: 64(0k) Shared Mem stats for UUID : Slab Library(529) Max types: 3 -------------------------------------------------------------------------------- Curr alloc: 4 Curr alloc bytes: 288(0k) Shared Mem stats for UUID : Bitlogic Library(517) Max types: 6 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Shared Mem stats for UUID : Cisco Regex Package(525) Max types: 2 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Shared Mem stats for UUID : Routing Queue Library(526) Max types: 2 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Shared Mem stats for UUID : Internet Protocol (IP)(267) Max types: 12 -------------------------------------------------------------------------------- Curr alloc: 10 Curr alloc bytes: 65888(64k) Shared Mem stats for UUID : SMM Library(561) Max types: 2 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Shared Mem stats for UUID : Internet Protocol version 6 (IPv6)(269) Max types: 1 -------------------------------------------------------------------------------- Curr alloc: 7 Curr alloc bytes: 536(0k) Shared Mem stats for UUID : Adjacency Manager(264) Max types: 5 -------------------------------------------------------------------------------- Curr alloc: 0 Curr alloc bytes: 0(0k) Curr alloc: 23 Curr alloc bytes: 66776 (65k)
Related Commands
|
|
show logging logfile
|
Displays the contents of the log file.
|
logging logfile
|
Configures the log file used to store system messages.
|
show telnet server
To display the Telnet server configuration, use the
show telnet server
command.
show
telnet
server
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the Telnet server configuration:
n1000v# show telnet server
Related Commands
|
|
show tcp connection
|
Displays information about the connection.
|
telnet
|
Uses Telnet to connect to another system.
|
telnet6
|
Uses Telnet6 to connect to another system.
|
show terminal
To display the terminal settings for the current session, use the
show terminal
command.
show
terminal
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the terminal settings for the current session:
TTY: /dev/pts/8 type: “vt100” Length: 24 lines, Width: 88 columns
Related Commands
|
|
terminal width
|
Configures the number of characters to display on each line for the current console session.
|
terminal terminal-type
|
Sets the terminal type.
|
terminal length
|
Sets the number of lines on the screen.
|
terminal width
|
Sets the width of the display terminal.
|
line console
|
Puts you in console configuration mode.
|
line vty
|
Puts you in line configuration mode.
|
show user-account
To display user account configuration, use the
show user-account
command.
show
user-account
[
username
]
Syntax Description
username
|
(Optional) Name of a user with an existing account.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display user account configuration for the user called NewUser:
n1000v(config)# show user-account NewUser this user account has no expiry date roles:network-operator network-admin
Related Commands
|
|
show role
|
Displays the available roles that can be assigned to users.
|
role name
|
Names a user role and places you in role configuration mode for that role.
|
username password
|
Creates a user account.
|
show users
|
Displays the current users logged in the system.
|
show users
To display information about the user session, use the
show users
command.
show
users
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about the user session:
NAME LINE TIME IDLE PID COMMENT admin pts/17 Dec 16 06:37 . 30406 (172.28.254.254) session=ss admin pts/18 Jan 3 19:01 . 3847 (sjc-vpn5-786.cisco.com) *
Related Commands
|
|
show user-account
|
Displays the new user account configuration.
|
show role
|
Displays the available roles that can be assigned to users.
|
username password
|
Creates a user account.
|
role name
|
Names a user role and places you in role configuration mode for that role.
|
show version
To display the versions of system software and hardware that are currently running on the switch, use the
show version
command.
show
version
[
module
]
Syntax Description
module
|
(Optional) Specifies the software version of a module.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the versions of system software and hardware that are currently running on the switch:
Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2002-2009, 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 loader: version 1.2(2) [last: image booted through mgmt0] kickstart: version 4.0(4)SV1(2) system: version 4.0(4)SV1(2) kickstart compile time: 9/22/2009 2:00:00 system image file is: bootflash:/nexus-1000v-mz.4.0.4.SV1.2.bin system compile time: 9/22/2009 2:00:00 [10/07/2009 10:11:01] loader: version 1.2(2) [last: image booted through mgmt0] kickstart: version 4.0(4)SV1(2) system: version 4.0(4)SV1(2) kickstart compile time: 9/22/2009 2:00:00 system image file is: bootflash:/nexus-1000v-mz.4.0.4.SV1.2.bin system compile time: 9/22/2009 2:00:00 [10/07/2009 10:11:01] Cisco Nexus 1000V Chassis ("Virtual Supervisor Module") Intel(R) Xeon(R) CPU with 2075012 kB of memory. Processor Board ID T5056B645A8 Kernel uptime is 79 day(s), 0 hour(s), 24 minute(s), 55 second(s) Core Plugin, Ethernet Plugin
Related Commands
|
|
show version image
|
Displays the versions of system software and hardware that are currently running on the switch.
|
show running-config
|
Displays information about the configuration currently running on the system.
|
show running-config diff
|
Displays the difference between the startup configuration and the running configuration currently on the switch.
|
show interface
|
Displays details about the specified interface configuration.
|
show version image
To display the software version of a given image, use the
show version
command.
show
version
image
{
bootflash:
URI
|
volatile:
URI
}
Syntax Description
bootflash:
|
Specifies bootflash as the directory name.
|
URI
|
URI of the system where the image resides.
|
volatile:
|
Specifies volatile as the directory name.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the versions of system software and hardware that are currently running on the switch:
n1000v# show version image bootflash:isan.bin image name: nexus-1000v-mz.4.0.4.SV1.1.bin bios: version unavailable system: version 4.0(4)SV1(1) compiled: 4/2/2009 23:00:00 [04/23/2009 09:55:29]
Related Commands
|
|
show version
|
Displays the software version of a given image.
|
show running-config
|
Displays information about the configuration currently running on the system.
|
show running-config diff
|
Displays the difference between the startup configuration and the running configuration currently on the switch.
|
show interface
|
Displays details about the specified interface configuration.
|
show virtual-service-domain brief
To display a list of the VSDs currently configured in a VSM, including VSD names and port profiles, use the
show virtual-service-domain brief
command.
show
virtual-service-domain
brief
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display a list of the VSDs currently configured in a VSM:
n1000v# show virtual-service-domain brief Name default action in-ports out-ports mem-ports vsim-cp# sho virtual-service-domain interface _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Name Interface Type Status _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ vsd1 Vethernet1 Member Active vsd1 Vethernet2 Member Active vsd1 Vethernet3 Member Active vsd1 Vethernet6 Member Active vsd1 Vethernet7 Inside Active vsd1 Vethernet8 Outside Active vsd2 Vethernet9 Inside Active vsd2 Vethernet10 Outside Active vsim-cp# show virtual-service-domain name vsd1 ___________________________ ___________________________
Related Commands
|
|
virtual-service-domain
|
Creates a virtual service domain that classifies and separates traffic for network services.
|
show virtual-service-domain interface
To do the interfaces currently assigned to the VSDs in a VSM, use the
show virtual-service-domain interface
command.
show
virtual-service-domain
interface
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display the interfaces currently assigned to the VSDs in a VSM:
n1000v# show virtual-service-domain interface _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Name Interface Type Status _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ vsd1 Vethernet1 Member Active vsd1 Vethernet2 Member Active vsd1 Vethernet3 Member Active vsd1 Vethernet6 Member Active vsd1 Vethernet7 Inside Active vsd1 Vethernet8 Outside Active vsd2 Vethernet9 Inside Active vsd2 Vethernet10 Outside Active
Related Commands
|
|
virtual-service-domain
|
Creates a virtual service domain that classifies and separate traffic for network services.
|
show virtual-service-domain name
To display a specific VSD currently configured in a VSM, including associated port profiles, use the
show virtual-service-domain name
command.
show
virtual-service-domain
name
virtual-service-domain_name
Syntax Description
virtual-service-domain_name
|
Name of the VSD.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(2)
|
This command was introduced.
|
Examples
This example shows how to display a specific VSD configuration:
n1000v# show virtual-service-domain name vsd1 ___________________________ ___________________________
Related Commands
|
|
virtual-service-domain
|
Creates a virtual service domain that classifies and separate traffic for network services.
|
show vlan
To display the status and information for VLANs. use the
show vlan
command.
show
vlan
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the status and information for VLANs:
---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po12, Veth1, Veth2, Veth3 ------------------------------------------------------------------------------- Primary Secondary Type Ports ------- --------- --------------- -------------------------------------------
Related Commands
|
|
interface
|
Specifies the interface that you are configuring and places you in interface configuration mode.
|
switchport trunk native vlan
|
Designates the native VLAN for the 802.1Q trunk in the running configuration.
|
switchport trunk allowed vlan
|
Sets the allowed VLANs for the trunk interface in the running configuration.
|
vlan dot1q tag native
|
Modifies the behavior of a 802.1Q trunked native VLAN ID interface in the running configuration.
|
show vlan all-ports
To display the status of all VLANs and the ports that are configured on them, use the
show vlan all-ports
command.
show vlan all-ports
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the status of all VLANs and the ports that are configured on them:
n1000v# show vlan all-ports ---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po2, Po12, Veth1, Veth2
Related Commands
|
|
show vlan id
|
Displays the VLAN configuration
|
show vlan summary
|
Displays a summary of VLAN information.
|
show vlan private-vlan
|
Displays the Private VLAN (PVLAN) configuration.
|
show vlan brief
To display only a brief summary of the status for all VLANs, use the
show vlan brief
command.
show vlan brief
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the aging time in the MAC address table:
---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po2, Po12, Veth1, Veth2
Related Commands
|
|
show vlan id
|
Displays the VLAN configuration
|
show vlan summary
|
Displays a summary of VLAN information.
|
show vlan private-vlan
|
Displays the PVLAN configuration.
|
show vlan id
To display the configuration for a specified VLAN, use the
show vlan id
command.
show
vlan
id
vlan-id
Syntax Description
vlan-id
|
Number identifying an existing VLAN, or range of VLANs, from 1–3967 and 4048–4093. You can specify groups of VLANs or individual VLANs; for example, 1–5, 10 or 2–5, 7–19.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the configuration for VLAN 462:
nexus1000v# show vlan id 462 ---- -------------------------------- --------- ------------------------------- 462 VLAN0462 active Veth3, Veth5 Primary Secondary Type Ports ------- --------- --------------- -------------------------------------------
Related Commands
|
|
vlan
|
Creates a VLAN and enters the VLAN configuration mode.
|
show vlan private-vlan
|
Displays private VLAN information.
|
show vlan summary
|
Displays VLAN summary information.
|
show vlan private-vlan
To display the PVLAN configuration, use the
show vlan private-vlan
command.
show vlan private-vlan
[
type
]
Syntax Description
type
|
(Optional) Specifies the display of only the PVLAN type information.
|
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the PVLAN configuration:
1000v(config)# show vlan private-vlan Primary Secondary Type Ports ------- --------- --------------- ------------------------------------------- 202 303 community Eth3/2, Veth1
Related Commands
|
|
show vlan id
|
Displays the VLAN configuration.
|
show vlan brief
|
Displays only a brief summary of the status for all VLANs.
|
show vlan summary
|
Displays a summary of VLAN information.
|
show vlan summary
To display a summary of VLAN information, use the
show vlan summary
command.
show vlan summary
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display the aging time in the MAC address table:
n1000v# show vlan summary Number of existing VLANs : 15 Number of existing user VLANs : 15 Number of existing extended VLANs : 0
Related Commands
|
|
show vlan id
|
Displays the VLAN configuration
|
show vlan brief
|
Displays only a brief summary of the status for all VLANs.
|
show vlan private-vlan
|
Displays the PVLAN configuration.
|
show vmware vc extension-key
To display the extension key of the Virtual Supervisor Module (VSM), use the
show vmware vc extension-key
command.
show vmware vc extension-key
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
The VSM uses the extension key when communicating with the vCenter Server. Each VSM has its own unique extension key, such as Cisco_Nexus_1000V_32943215.
You can also locate the extension key in the .xml file. The extension key registered on the vCenter Server can be found through the Managed Object Browser (MOB).
Examples
This example shows how to display the extension key of the VSM:
n1000v# show vmware vc extension-key Extension ID: Cisco_Nexus_1000V_1193126422
Related Commands
|
|
show vmware vem upgrade status
|
Monitors the upgrade of a Virtual Ethernet Module (VEM) to a new software version.
|
vmware vem upgrade notify
|
Notifies the vCenter Server that the software on the VSM has been upgraded.
|
vmware vem upgrade proceed
|
Begins the upgrade of the virtual machine (VM).
|
vmware vem upgrade complete
|
Clears the upgrade status.
|
show vmware vem upgrade status
To monitor the upgrade of the Virtual Ethernet Module (VEM) to a new software version, use the
show vmware vem upgrade status
command.
show
vmware
vem
upgrade
status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to monitor the upgrade of the VEMs to a new software version:
n1000v# show vmware vem upgrade status Upgrade Status: Upgrade Complete in vCenter Upgrade Notification Sent Time: Tue Sep 8 17:37:23 2009 Upgrade Status Time(vCenter): Tue Sep 8 17:45:05 2009 Upgrade Start Time: Tue Sep 8 17:42:02 2009 Upgrade End Time(vCenter): Tue Sep 8 17:45:02 2009
Related Commands
|
|
vmware vem upgrade notify
|
Notifies the vCenter Server that the software on the Virtual Supervisor Module (VSM) has been upgraded.
|
vmware vem upgrade proceed
|
Begins the upgrade of the Virtual Machine (VM).
|
vmware vem upgrade complete
|
Clears the upgrade status.
|
show xml server status
To display information about XML server settings and any active XML server sessions, use the
show xml server status
command.
show xml server status
Syntax Description
This command has no arguments or keywords.
Command Modes
Any
network-admin
Command History
|
|
4.0(4)SV1(1)
|
This command was introduced.
|
Examples
This example shows how to display information about XML server settings and any active XML server sessions:
n1000v# show xml server status operational status is enabled maximum session configured is 8
Related Commands
|
|
xml server max-session
|
Sets the number of allowed XML server sessions.
|
xml server terminate session
|
Terminates the specified XML server session.
|