Show Commands
This chapter describes the Cisco Nexus1000V show commands.
show aaa accounting
To display the authentication, authorization, and accounting (AAA) accounting configuration, use the show aaa accounting command.
show aaa accounting
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the accounting configuration:
n1000v# show aaa accounting
Related Commands
|
|
aaa group |
Configures an AAA server group. |
show aaa authentication |
Displays the configuration for AAA authentication. |
show aaa authorization |
Displays the configured AAA server groups. |
show aaa groups |
Displays AAA server group accounting. |
show running-config aaa |
Displays the AAA configuration as it currently exists in the running configuration. |
show aaa user default-role |
Displays the user default role assigned by the AAA administrator. |
test aaa |
Tests for AAA on a RADIUS server or server group. |
show aaa authentication
To display the configuration for authentication, authorization, and accounting (AAA) authentication, use the show aaa authentication command.
show aaa authentication [login {ascii-authentication | chap | error-enable | mschap | mschapv2}]
Syntax Description
login |
(Optional) Displays the authentication login error message configuration. |
ascii-authentication |
Displays the ASCII authentication configuration. |
chap |
Displays the authentication login Challenge Handshake Authentication Protocol (CHAP) enable configuration. |
error-enable |
Displays the login error message enable configuration. |
mschap |
Displays the login MS-CHAP enable configuration. |
mschapv2 |
Displays the login MS-CHAPv2 enable configuration |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the configured authentication parameters:
n1000v# show aaa authentication
Related Commands
|
|
aaa authentication login mschap |
Enables MSCHAP authentication at login. |
aaa group |
Configures an AAA server group. |
show aaa accounting |
Displays the AAA accounting configuration. |
show aaa authorization |
Displays the configured AAA server groups. |
show aaa groups |
Displays AAA server group accounting. |
show aaa user default-role |
Displays the user default role assigned by the AAA administrator. |
show running-config aaa |
Displays the AAA configuration as it currently exists in the running configuration. |
test aaa |
Tests for AAA on a RADIUS server or server group. |
show aaa authorization
To display the configured authentication, authorization, and accounting (AAA) server groups, use the show aaa authorization command.
show aaa authorization [all]
Syntax Description
all |
(Optional) Displays all (including default configurations) of the authorization information. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the configured authorization parameters:
n1000v# show aaa authorization
AAA command authorization:
This example shows how to display the authorization for all configurations using the optional all keyword:
n1000v# show aaa authorization all
AAA command authorization:
default authorization for config-commands: local
default authorization for commands: local
Related Commands
|
|
aaa group |
Configures an AAA server group. |
show aaa accounting |
Displays the AAA accounting configuration. |
show aaa authentication |
Displays the configuration for AAA authentication. |
show aaa groups |
Displays AAA server group accounting. |
show running-config aaa |
Displays the AAA configuration as it currently exists in the running configuration. |
show aaa user default-role |
Displays the user default role assigned by the AAA administrator. |
test aaa |
Tests for AAA on a RADIUS server or server group. |
show aaa groups
To display the configured authentication, authorization, and accounting (AAA) groups, use the show aaa groups command.
show aaa groups
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the AAA configured groups:
Related Commands
|
|
aaa group |
Configures an AAA server group. |
show aaa accounting |
Displays the AAA accounting configuration. |
show aaa authentication |
Displays the configuration for AAA authentication. |
show aaa authorization |
Displays the configured AAA server groups. |
show running-config aaa |
Displays the AAA configuration as it currently exists in the running configuration. |
show aaa user default-role |
Displays the user default role assigned by the AAA administrator. |
test aaa |
Tests for AAA on a RADIUS server or server group. |
show aaa user default-role
To display the user default role assigned by the authentication, authorization, and accounting (AAA) administrator, use the show aaa user default-role command.
show aaa user default-role
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the status of user AAA default role:
n1000v# show aaa user default-role
Related Commands
|
|
aaa group |
Configures an AAA server group. |
show aaa accounting |
Displays the AAA accounting configuration. |
show aaa authentication |
Displays the configuration for AAA authentication. |
show aaa authorization |
Displays the configured AAA server groups. |
show aaa groups |
Displays AAA server group accounting. |
show running-config aaa |
Displays the AAA configuration as it currently exists in the running configuration. |
test aaa |
Tests for AAA on a RADIUS server or server group. |
show access-lists
To display the access control lists (ACLs), use the show access-lists command.
show access-lists [capture session session_id | dynamic | expanded | summary | list_name [capture session session_id | dynamic | expanded | summary]]
Syntax Description
capture |
(Optional) Captures a session by it's ID. When used as an option it requires the keyword session with session_id as an argument. The range is from 1 to 48. |
session session_id |
Captures a session by the session_id. Session ID. The range is from 1 to 48. |
dynamic |
(Optional) Displays dynamic access lists. |
expanded |
(Optional) Displays information about expand access list groups. |
summary |
(Optional) Displays summary information about access lists. |
list_name |
(Optional) ACL name. The name is a maximum of 64 alphanumeric, case-sensitive characters. |
Defaults
The default <cr> displays all access lists.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display access lists:
n1000v# show access-lists
10 deny tcp any 209.165.200.234/0 eq ftp
20 deny tcp any 209.165.200.234/0 eq 666
30 deny udp any 209.165.200.234/0 eq tftp
40 deny tcp any 209.165.200.234/0 eq telnet
50 deny udp any 209.165.200.234/0 eq 1000
60 deny udp any 209.165.200.234/0 eq 1016
70 deny udp any 209.165.200.234/0 eq 1032
80 deny udp any 209.165.200.234/0 eq 1048
90 deny udp any 209.165.200.234/0 eq 1064
100 deny udp any 209.165.200.234/0 eq 1080
110 deny udp any 209.165.200.234/0 eq 1096
10 permit ip 122.243.200.20/32 66.139.138.221/32 dscp af12
20 deny icmp 4.68.213.83/32 59.90.89.77/32 dscp cs1
30 permit icmp 72.165.25.69/32 85.135.171.135/32 echo dscp cs1
40 deny igmp 56.51.111.28/32 127.177.14.122/32 7 dscp 11
50 permit tcp 91.125.160.40/32 lt 40765 14.208.192.244/32 gt 2594 dscp 1
60 permit udp 15.104.89.102/32 eq 20343 54.182.95.236/32 lt 43125 dscp 6
70 permit ip 46.167.60.215/32 78.70.151.1/32 dscp 7
80 permit icmp 90.119.71.215/32 93.255.186.116/32 dscp 9
90 permit icmp 38.164.211.185/32 56.74.11.71/32 timestamp-request dscp af11
100 deny igmp 58.63.101.184/32 0.179.173.154/32 0 dscp 3
110 permit tcp 92.217.203.237/32 gt 21295 65.214.100.184/32 eq 13033 dscp 4
120 permit udp 12.229.14.211/32 lt 57734 88.115.243.129/32 gt 50221 dscp 5
130 deny ip 111.63.192.108/32 104.76.118.97/32 dscp af13
140 permit 13 125.190.31.44/32 111.228.220.8/32 dscp default
150 permit icmp 22.137.175.193/32 94.115.68.250/32 1 dscp af12
160 deny igmp 65.33.193.187/32 24.63.252.123/32 13 dscp 5
This example shows how to display expanded information about access lists:
n1000v# show access-lists expanded
10 deny tcp any 209.165.200.234/0 eq ftp
20 deny tcp any 209.165.200.234/0 eq 666
30 deny udp any 209.165.200.234/0 eq tftp
40 deny tcp any 209.165.200.234/0 eq telnet
50 deny udp any 209.165.200.234/0 eq 1000
60 deny udp any 209.165.200.234/0 eq 1016
70 deny udp any 209.165.200.234/0 eq 1032
80 deny udp any 209.165.200.234/0 eq 1048
90 deny udp any 209.165.200.234/0 eq 1064
100 deny udp any 209.165.200.234/0 eq 1080
110 deny udp any 209.165.200.234/0 eq 1096
This example shows how to display an access list by its name:
n1000v# show access-lists PC_PVLAN-In
10 deny tcp any 209.165.200.234/0 eq ftp
20 deny tcp any 209.165.200.234/0 eq 666
30 deny udp any 209.165.200.234/0 eq tftp
40 deny tcp any 209.165.200.234/0 eq telnet
50 deny udp any 209.165.200.234/0 eq 1000
60 deny udp any 209.165.200.234/0 eq 1016
70 deny udp any 209.165.200.234/0 eq 1032
80 deny udp any 209.165.200.234/0 eq 1048
90 deny udp any 209.165.200.234/0 eq 1064
100 deny udp any 209.165.200.234/0 eq 1080
110 deny udp any 209.165.200.234/0 eq 1096
This example shows how to display summary information about a named access list by using a list name as an argument and the optional summary keyword:
n1000v# show access-lists PC_PVLAN-In summary
Configured on interfaces:
Related Commands
|
|
clear access-list counter |
Clear the counters for IP and MAC ACLs. |
ip access-list |
Creates an IP access list. |
resequence |
Resequences a list with sequence numbers. |
show accounting log
To display the accounting log, use the show accounting log command.
show accounting log [log_size | all | last-index | start-seqnum start_eqnum [end-seqnum end_seqnum] | start-time year month day hh:mm:ss [end-time year month day hh:mm:ss]]
Syntax Description
log_size |
(Optional) Log size (in bytes). The range is from 0 to 250000 |
all |
(Optional) Displays the accounting log including show commands. |
last-index |
(Optional) Displays the accounting log last index information. |
start-seqnum start_seqnum |
(Optional) Displays accounting log messages starting from a given sequence number. Start sequence number. The range is from 1 to 2000000000. |
end-seqnum end_seqnum |
(Optional) Displays messages ending with a given sequence number. End sequence number. The range is from 1 to 2000000000. |
start-time year month day hh:mm:ss |
(Optional) Displays messages from a given start time. Year in YYYY format. Month as Jan, Feb, Mar,..., or Dec. The maximum is three characters. Enter day of month in DD format. Hour, minutes, seconds as HH:MM:SS with the colons. The time is a maximum of eight characters. |
end-time |
(Optional) Displays messages from a given end time. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the accounting log:
n1000v# show accounting log
Sun Jan 6 18:02:11 2013:type=start:id= msp.1304:user=admin:cmd=
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 (SUCCESS)
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 ; ip port access-group abhi-acl in (SUCCESS)
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 ; ip port access-group abhi-acl out (SUCCESS)
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 ; switchport mode access (SUCCESS)
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 ; switchport access vlan 262 (SUCCESS)
Sun Jan 6 18:02:11 2013:type=update:id= msp.1304:user=admin:cmd=configure terminal ;
interface Vethernet133 ; no shutdown (SUCCESS)
This example shows how to show the accounting log by entering a size (0 to 250000 in bytes) argument:
n1000v# show accounting log 32500
Thu Jan 3 17:07:33 2013:type=stop:id= msp.1296:user=admin:cmd=
Thu Jan 3 17:07:33 2013:type=start:id= msp.1296:user=admin:cmd=
Thu Jan 3 17:07:33 2013:type=update:id= msp.1296:user=admin:cmd=configure terminal ;
interface Ethernet5/2 (SUCCESS)
Thu Jan 3 17:07:34 2013:type=update:id= msp.1296:user=admin:cmd=configure terminal ;
interface Ethernet5/2 ; shutdown (SUCCESS)
Thu Jan 3 17:07:34 2013:type=update:id= msp.1296:user=admin:cmd=configure terminal ;
interface Ethernet5/2 ; no channel-group auto mode on mac-pinn
Thu Jan 3 17:07:34 2013:type=update:id= msp.1296:user=admin:cmd=configure terminal ;
interface Ethernet5/2 ; no channel-group auto mode on mac-pinn
This example shows how to display accounting log messages with the required year month, day, hour, minutes and seconds:
n1000v# show accounting log start-time 2013 Jan 15 02:22:30 end-time 2013 Jan 15 07:43:48
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; switchport port-security mac-address sticky (SUCCESS)
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; ip flow monitor monitor2 input (SUCCESS)
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; ip flow monitor monitor2 output (SUCCESS)
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; switchport mode access (SUCCESS)
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; switchport access vlan 263 (SUCCESS)
Tue Jan 15 07:43:46 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet158 ; no shutdown (SUCCESS)
Tue Jan 15 07:43:46 2013:type=stop:id= msp.1303:user=admin:cmd=
Tue Jan 15 07:43:46 2013:type=start:id=ppm.23757:user=admin:cmd=
Tue Jan 15 07:43:47 2013:type=stop:id=ppm.23757:user=admin:cmd=
Tue Jan 15 07:43:48 2013:type=start:id= msp.1303:user=admin:cmd=
Tue Jan 15 07:43:48 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet159 (SUCCESS)
Tue Jan 15 07:43:48 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet159 ; switchport port-security violation shutdown (SUCCESS)
Tue Jan 15 07:43:48 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet159 ; ip port access-group abhi-acl in (SUCCESS)
Tue Jan 15 07:43:48 2013:type=update:id= msp.1303:user=admin:cmd=configure terminal ;
interface Vethernet159 ; ip port access-group abhi-acl out (SUCCESS)
Related Commands
|
|
clear accounting log |
Clears the accounting log. |
show banner motd
To display the current message of the day (MOTD) banner message, use the show banner motd command.
show banner motd
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the current MOTD banner message:
Related Commands
|
|
banner motd |
Configures the banner message of the day. |
send |
Sends a message to an open session. |
switchname |
Changes the switch prompt. |
show boot
To display system and kickstart boot variables for verification, use the show boot command.
show boot [auto-copy | current | module [module_key_word] | sup-1 | sup-2 | variables]
Syntax Description
auto-copy |
(Optional) Checks to see if autocopy is turned on. |
current |
(Optional) Displays the current boot variables. |
module |
(Optional) Displays the configuration of all modules. |
module_key_word |
(Optional) Module keyword. |
sup-1 |
(Optional) Displays the first supervisor configuration. |
sup-2 |
(Optional) Displays the second supervisor configuration. |
variables |
(Optional) Displays the list of boot variables. |
Defaults
None
Command Modes
Any)
network-admin
network-operator
Examples
This example shows how to display system and kickstart boot variables for verification:
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
No module boot variable set
Boot Variables on next reload:
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
No module boot variable set
This example shows how to display the first supervisor configuration:
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
Boot Variables on next reload:
kickstart variable = bootflash:/n1000vh-dk9-kickstart.5.2.1.SM1.5.0.202.gbin
system variable = bootflash:/n1000vh-dk9.5.2.1.SM1.5.0.202.gbin
This example shows how to display the list of boot variables:
n1000v# show boot variables
List of boot variables are:
Related Commands
boot auto-copy |
Enables automatic copying of boot image files to the standby supervisor module. |
boot kickstart bootflash: |
Adds the new kickstart boot variable. |
boot system bootflash: |
Adds the new system boot variable. |
reload |
Reloads the VSM. |
show version |
Displays what software version is present on the VSM. |
show cdp all
To display all of the interfaces in the Cisco Discovery Protocol database, use the show cdp all command.
show cdp all
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display all of the interfaces in the Cisco Discovery Protocol database:
n1000v# show cdp all
mgmt0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
control0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Vethernet1 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Vethernet2 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet3/1 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
...
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
show cdp entry |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays the Cisco Discovery Protocol parameters for an interface |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic |
Displays Cisco Discovery Protocol traffic. |
show cdp entry
To display a specific Cisco Discovery Protocol entry that matches a name, use the show cdp entry name command.
show cdp entry {all | name cdp_name}
Syntax Description
all |
Displays all of the entries in the Cisco Discovery Protocol database. |
name cdp_name |
Specifies a Cisco Discovery Protocol entry that matches a name. Name of an entry in the Cisco Discovery Protocol database. The name is case-sensitive, alphanumeric, and has a maximum of 256 characters. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display all of the entries in the Cisco Discovery Protocol database:
n1000v# show cdp entry all
----------------------------------------
Device ID:THROTTLE(0802674791369441099)
IPv4 Address: 10.105.225.181
Platform: Nexus1000V, Capabilities:
Interface: mgmt0, Port ID (outgoing port): mgmt0
Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)SM1(5.1)
IPv4 Address: 10.105.225.181
----------------------------------------
Device ID:THROTTLE(0802674791369441099)
IPv4 Address: 10.105.225.181
Platform: Nexus1000V, Capabilities:
Interface: control0, Port ID (outgoing port): control0
Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)SM1(5.1)
This example shows how to display an entry in the Cisco Discovery Protocol database that matches a name:
n1000v# show cdp entry name N5K-1-RowP-Rack7
----------------------------------------
Device ID:THROTTLE(0802674791369441099)
System Name:THROTTLE
Interface address(es):
IPv4 Address: 10.105.225.181
Platform: Nexus1000V, Capabilities: Switch IGMP Filtering
Interface: mgmt0, Port ID (outgoing port): mgmt0
Holdtime: 139 sec
Version:
Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)SM1(5.1)
Advertisement Version: 2
Mgmt address(es):
IPv4 Address: 10.105.225.181
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables Cisco Discovery Protocol on an interface. In EXEC mode, enables Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface. |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic |
Displays Cisco Discovery Protocol traffic. |
show cdp global
To display the Cisco Discovery Protocol global parameters, use the show cdp global command.
show cdp global
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the Cisco Discovery Protocol global parameters:
n1000v# show cdp global
Global CDP information:
CDP enabled globally
Refresh time is 60 seconds
Hold time is 180 seconds
CDPv2 advertisements is enabled
DeviceID TLV in System-Name(Default) Format
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
cdp enable |
In interface mode, enables Cisco Discovery Protocol on an interface. In EXEC mode, enables Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry |
Displays Cisco Discovery Protocol entries by name. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic |
Displays Cisco Discovery Protocol traffic. |
show cdp interface
To display the Cisco Discovery Protocol interface, use the show cdp interface command.
show cdp interface {control if_num | ethernet slot/chassis_num / port/slot_num | mgmt mgmt_if_num}
Syntax Description
control if_num |
Specifies the control interface. Control interface number. The only valid value is 0. |
ethernet slot/chassis_num / port/slot_num |
Specifies an Ethernet IEEE 802.3z interface. Slot/chassis number. The range is from 1 to 66. Slash separator. Port/slot number. The range is from 1 to 128. |
mgmt mgmt_if_num |
Specifies a management interface. Management interface number. The only valid value is 0. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the control interface in the Cisco Discovery Protocol database:
n1000v# show cdp interface control 0
Refresh time is 60 seconds
This example shows how to display the Ethernet IEEE 802.3z interfaces in the Cisco Discovery Protocol database:
n1000v# show cdp interface ethernet 3/2
Ethernet3/2 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
This example shows how to display the management interface in the Cisco Discovery Protocol database:
n1000v# show cdp interface mgmt 0
mgmt0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
interface control |
Configures the control interface and enter interface configuration mode. |
interface ethernet |
Configures an Ethernet interface. |
interface mgmt |
Configures the management interface and enter interface configuration mode. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry name |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic |
Displays Cisco Discovery Protocol traffic. |
show cdp neighbors
To display the Cisco Discovery Protocol neighbors interface, use the show cdp neighbors command.
show cdp neighbors [detail | interface {control if_num | ethernet slot/chassis_num / port/slot_num | mgmt mgmt_if_num}]
Syntax DescriptionN
detail |
(Optional) Displays details of Cisco Discovery Protocol neighbors. |
interface |
(Optional) Displays Cisco Discovery Protocol neighbors on an interface. |
control if_num |
Specifies the control interface. Control interface number. The only valid value is 0. |
ethernet slot/chassis_num / port/slot_num |
Specifies an Ethernet IEEE 802.3z interface. Slot/chassis number. The range is from 1 to 66. Slash separator. Port/slot number. The range is from 1 to 128. |
mgmt mgmt_if_num |
(Optional) Specifies a management interface. Management interface number. The only valid value is 0. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the Cisco Discovery Protocol neighbors interface:
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 the configuration and capabilities of the 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
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
interface ethernet |
Configures an Ethernet interface. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry name |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface |
show cdp traffic |
Displays Cisco Discovery Protocol traffic. |
show cdp traffic interface control
To display the Cisco Discovery Protocol traffic statistics for a named interfacec, use the show cdp traffic interface control command.
show cdp traffic interface control if_num
Syntax DescriptionN
if_num |
Control interface number. The only valid value is 0. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display Cisco Discovery Protocol traffic interface control statistics:
n1000v# show cdp traffic interface control 0
----------------------------------------
Traffic statistics for control0
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
interface control |
Configures the control interface and enter interface configuration mode. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry name |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface. |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic interface ethernet
To display the Cisco Discovery Protocol IEEE 802.3z interface information for a named slot/chassis number, use the show cdp traffic interface ethernet command.
show cdp traffic interface ethernet slot/chassis_num / port/slot_num
Syntax DescriptionN
slot/chassis_num / port/slot_num |
Slot/chassis number. The range is from 1 to 66. Slash separator. Port/slot number. The range is from 1 to 128. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the IEEE 802.3z interface statistics by a named slot/chassis number:
n1000v# show cdp traffic interface ethernet 3/2
----------------------------------------
Traffic statistics for Ethernet3/2
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry name |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface. |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show cdp traffic interface mgmt
To display the Cisco Discovery Protocol traffic interface statistics by management number, use the show cdp traffic interface mgmt command.
show cdp traffic interface mgmt mgmt_if_num
Syntax DescriptionN
mgmt_if_num |
Management interface number. The only valid value is 0. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display Cisco Discovery Protocol traffic interface management statistics:
n1000v# show cdp traffic interface mgmt 0
----------------------------------------
Traffic statistics for mgmt0
Input Statistics:
Total Packets: 0
Valid CDP Packets: 0
CDP v1 Packets: 0
CDP v2 Packets: 0
Invalid CDP Packets: 0
Unsupported Version: 0
Checksum Errors: 0
Malformed Packets: 0
Output Statistics:
Total Packets: 34
CDP v1 Packets: 0
CDP v2 Packets: 34
Send Errors: 0
Related Commands
|
|
cdp advertise |
Assigns the Cisco Discovery Protocol version to advertise. |
cdp enable |
In interface mode, enables the Cisco Discovery Protocol on an interface. In EXEC mode, enables the Cisco Discovery Protocol for your device. |
clear cdp |
Clears the Cisco Discovery Protocol information on an interface. |
interface mgmt |
Configures the management interface and enter interface configuration mode. |
show cdp all |
Displays all interfaces in Cisco Discovery Protocol database. |
show cdp entry name |
Displays Cisco Discovery Protocol entries by name. |
show cdp global |
Displays Cisco Discovery Protocol global parameters. |
show cdp interface |
Displays Cisco Discovery Protocol parameters for an interface. |
show cdp neighbors |
Displays Cisco Discovery Protocol neighbors. |
show class-map
To display the class map configuration for all class maps, use the show class-map command.
show class-map [type {qos | queuing}]
Syntax Description
type |
(Optional) Specifies the type of the class map. |
qos |
Specifies the type quality of service (QoS). |
queuing |
Specifies the type queuing. |
Defaults
Displays all of the class maps.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the class map configuration for class map 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 |
Configures and saves a map name in the running configuration. |
ip access-group |
Creates an IP access group for mgmt0 interface. |
match |
Defines a ACL matching criteria. |
match access-group name |
Configures and saves the access group to match for this class in the running configuration. |
show class-map type |
Displays the class maps for a particulat type. |
show ip access-lists |
Displays all IPv4 ACLs or a specific IPv4 ACL. |
show cli alias
To display the command-line interface (CLI) alias configuration, use the show cli alias command.
show cli alias [name alias_name]
Syntax Description
name |
(Optional} Displays a specific alias. |
alias_name |
The name of the specific alias. The alias name is not case-sensitive. |
Defaults
Displays all CLI aliases.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI alias configuration:
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli dynamic
To display the current range of dynamic command-line interface (CLI) parameters, use the show cli command.
show cli dynamic {integers [param_integer] | strings [param_string]}
Syntax Description
integers |
Specifies the current range of dynamic integer parameters. |
param_integer |
(Optional) Parameter name. The integer value name ranges from 1 to 66. |
strings |
Specifies the current range of dynamic string parameters. |
param_string |
(Optional) Parameter name. The string values are case-sensitive and alphanumeric. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display current range of dynamic CLI integers:
n1000v#
show cli dynamic integers
<module> 1 to 66 <i1> 1 to 66
This example shows how to display current range of dynamic CLI strings:
n1000v#
show cli dynamic strings
Token: <res-mgr-template-known-name-all>
Token: <res-mgr-res-known-name>
Token: <res-mgr-res-known-name-all>
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli history
To display a history of command-line interface (CLI) commands, use the show cli history command.
show cli history [num_lines [unformatted] | config-mode [num_lines [unformatted] | unformatted [num_lines]] | exec-mode [num_lines [unformatted] | unformatted [num_lines]] | this-mode-only [num_lines [unformatted] | unformatted [num_lines]] | unformatted [num_lines]]
Syntax Description
num_lines |
(Optional) Number of lines to display. The range is from 0 to 2147483647. |
unformatted |
(Optional) Displays just the commands. |
config-mode |
(Optional) Displays the history of configuration commands only. |
exec-mode |
(Optional) Displays the history of EXEC commands only. |
this-mode-only |
(Optional) Displays the history from current mode only. |
Defaults
Displays the CLI command history.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the history of CLI commands:
0 01:12:51 show cli dynamic integers
1 01:13:47 show cli dynamic string
2 01:17:14 show cli dynamic integers module
3 01:17:25 show cli dynamic integers 1
4 01:22:12 show cli history
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli interface table
To display the command-line interface (CLI) interface table, use the show cli interface table command.
show cli interface table
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI interface table:
n1000v#
show cli interface table
name port-channel mask 2097152 match length 2 format 9 lib ethpcmcli
name ethernet mask 8589934592 match length 1 format 14 lib pmcli_common
name mgmt mask 128 match length 4 format 1 lib pmcli_common
name control mask 68719476736 match length 7 format 1 lib pmcli_common
name vethernet mask 4294967296 match length 2 format 1 lib vimcli
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli list
To display user-defined command-line interface (CLI) command syntax, use the show cli list command.
show cli list [max_combo [component_match [detail [recurse] | recurse [detail]]]
Syntax Description
max_combo |
(Optional) Maximum number of combinations to show per command. The default is 100. |
component_match |
(Optional) Component to match. |
detail |
(Optional) Specifies the formatting of arguments as {17 <1-10>} instead of <int:1-10>. |
recurse |
(Optional) Specifies going into submodes. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI command syntax:
no debug aclmgr ppf session
no debug aclmgr ppf session-state
no debug aclmgr ppf errors
no debug aclmgr ppf remote-link
no debug aaa aaa-requests
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli syntax
To display the command-line interface (CLI) syntax of all commands, use the show cli syntax command.
show cli syntax
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the syntax of all commands:
(0)
[no
] debug fm
{error
| flow
}
(1)
[no
] debug aclmgr all
(2)
[no
] debug aclmgr
{ha
| fsm
| errors
| events
| trace
}
(3)
[no
] debug aclmgr ppf
{mts
| session
| session-state
| pss
| errors
| remote-link
}
(4)
[no
] debug core
{error
| flow
}
(5)
[no
] debug aaa aaa-requests
(7)
[no
] debug aaa conf-events
(8)
[no
] debug aaa errors
(9)
[no
] debug aaa events
(11)
[no
] debug license all
(12)
[no
] debug license errors
(13)
[no
] debug license events
(14)
[no
] debug license mts
(15)
[no
] debug klm rwsem
{error
| flow
[sap <i0>
]}
(16)
[no
] debug klm internal redundancy
{error
| flow
}
(17)
[no
] debug klm internal kadb
{error
| flow
}
(18)
[no
] debug system internal confcheck all
(19)
[no
] debug system internal confcheck error
(20)
[no
] debug system internal confcheck mts
{pkt
{both
| rx
[{node <i0>
| opcode <i1>
|
sap <i2>
}]
| tx
}
| pkthdr
{both
| rx
[numpkt <
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli syntax |
Displays CLI commands. |
show cli syntax long
To display the command-line interface (CLI) syntax using more than one line per command (tree form), use the show cli syntax long command.
show cli syntax long [recurse [roles] | roles] [role_mask | network-admin | network-operator]
Syntax Description
recurse |
(Optional) Displays children of the current mode. |
roles |
(Optional) Displays commands for a specific role. |
role-mask |
(Optional) Displays commands that match the roles mask. The range is from 0x0 to 0xffffffff. |
neteork-admin |
(Optional) Displays commands for the network administrator role. |
network-operator |
(Optional) Displays commands for the network operator role. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI syntax by using more than one line per command (tree form):
n1000v#
show cli syntax long
***(0)
[no
] debug fm
{error
***(1)
[no
] debug aclmgr all
***(2)
[no
] debug aclmgr
{ha
***(3)
[no
] debug aclmgr ppf
{mts
***(4)
[no
] debug core
{error
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli syntax recurse
To display the command-line interface (CLI) syntax and the children of all commands, use the show cli syntax recurse command.
show cli syntax recurse [long [roles] | roles] [role_mask | network-admin | network-operator]
Syntax Description
long |
(Optional) Displays more than 1 line per command (tree form). |
roles |
(Optional) Displays commands for a specific role. |
role-mask |
(Optional) Commands that match the roles mask. The range is from 0x0 to 0xffffffff. |
neteork-admin |
(Optional) Displays commands for the network administrator role. |
network- operator |
(Optional) Displays commands for the network operator role. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI syntax and the children of all commands:
n1000v#
show cli syntax recurse
(0) [no] debug fm {error | flow}
(1) [no] debug aclmgr all
(2) [no] debug aclmgr {ha | fsm | errors | events | trace}
(3) [no] debug aclmgr ppf {mts | session | session-state | pss | errors | remote-link}
(4) [no] debug core {error | flow}
(5) [no] debug aaa aaa-requests
(7) [no] debug aaa conf-events
(8) [no] debug aaa errors
(9) [no] debug aaa events
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli syntax roles
To display the command-line interface (CLI) syntax of all commands for a specific role in mode, use the show cli syntax roles command.
show cli syntax roles [role_mask | network-admin | network-operator]
Syntax Description
role-mask |
(Optional) Commands that match the roles mask. The range is from 0x0 to 0xffffffff. |
neteork-admin |
(Optional) Displays commands for the network administrator role. |
network-operator |
(Optional) Displays commands forthe network operator role. |
Defaults
Displays the CLI syntax of all command roles.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the CLI syntax of all commands in EXEC mode:
n1000v#
show cli syntax roles network-admin
(0)
[no
] debug license all
(1)
[no
] debug license errors
(2)
[no
] debug license events
(3)
[no
] debug license mts
(4)
[no
] debug module all
(5)
[no
] debug module error
[module1 <module>
]
(6)
[no
] debug module event
(8)
[no
] debug module no-heartbeat
(9)
[no
] debug module no-powerdown
(10)
[no
] debug module trace
[module1 <module>
]
(11)
[no
] debug exceptionlog
{demux
| deque
| error
| flow
| info
}
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show cli variables
To display user-defined command-line interface (CLI) persistent variables, use the show cli variables command.
show cli variables
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display user-defined CLI persistent variables:
n1000v#
show cli variables
VSH Variable List (* = session vars)
TIMESTAMP="2013-02-16-02.20.43"
Related Commands
|
|
clear cli history |
Clears the history of commands that you have entered into the CLI. |
cli var name |
Defines a CLI variable for a terminal session. |
run-script |
Runs a saved shell script. |
show clock
To display the clock, use the show clock command.
show clock [detail]
Syntax Description
detail |
(Optional) Displays the current date and time configuration. |
Defaults
Displays the machine time and date.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the clock:
13:59:11.321 PST Fri Jan 04 2013
Related Commands
|
|
clock set |
Manually sets the clock. |
clock summer-time |
Configures summer-time (daylight saving time). |
clock timezone |
Configurec the time zone offset from the UTC. |
show copyright
To display the copyright, use the show copyright command.
show copyright
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the copyright:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
Related Commands
|
|
show version |
Displays the software version. |
show cores
To display all of the device core dumps, for the current virtual device context (VDC), use the show cores command.
show cores
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display all of the device core dumps for the current VDC:
Module Instance Process-name PID Date(Year-Month-Day Time)
------ -------- --------------- -------- -------------------------
Related Commands
|
|
attach module |
Accesses the standby VSM console from the active VSM. |
clear cores |
Clears the core files. |
show processes |
Displays information about the process logs. |
show debug
To display the debug flags, use the show debug command.
show debug [aaa | aclcomp | acllog [bypass] | aclmgr | arp | ascii-cfg | bootvar | capability | cdp | cert-enroll | confcheck | core | csm | dhcp | ethpm [bypass] | evmc | evms | exceptionlog | fm | fs-daemon | im [bypass] | ip {icmp | ipc | mpacket | packet | routing} | ipconf [bypass | ipv6] | ipqos | ipv6 {icmp | ipc | mld | mpacket | nd | packet | routing} | kadb | klm-rwsem | lacp [bypass] | license | logfile log_file_name | m2rib | module | monitor | msp | mvsh | nfm [bypass] | nsmgr | ntp | platform | pltfm_config [bypass] | plugin [bypass] | port-channel [bypass] | port-profile | port-security [bypass] | private-vlan | radius | redundancy | res_mgr [bypass] | rpm | sal | scheduler | security | session-mgr | snmp | spanning-tree [bypass] | system | tcap | ttyd | vdc | vem_mgr [bypass] | vim [bypass] | vlan [bypass] | vmm | vms | vnm-pa | vns_agent [bypass] | vsh | vshd | xml {server [session {logging {level}}]}]
Syntax Description
aaa |
(Optional) Displays the authentication, authorization, and accounting (AAA) debugging flags. |
aclcomp |
(Optional) Displays the access control list (ACL) COMP debugging flags. |
acllog |
(Optional) Displays the ACL log debugging flags. |
bypass |
(Optional) Displays the ACL log bypass flags. |
aclmgr |
(Optional) Displays the ACL manager debugging flags. |
arp |
(Optional) Displays the Address Resolution Protocol (ARP) debug flags |
ascii-cfg |
(Optional) Displays all of the ASCII-CFG debugging flags. |
bootvar |
(Optional) Displays the boot variable debugging flags. |
capability |
(Optional) Displays all of the capability debugging flags. |
cdp |
(Optional) Displays the Cisco Discovery Protocol debug flags. |
cert-enroll |
(Optional) Displays the Cert-enroll debugging flags. |
confcheck |
(Optional) Displays all of the configuration check debugging flags. |
core |
(Optional) Displays the core daemon debugging flags. |
csm |
(Optional) Displays the Cisco security manager (CSM) debugging flags. |
dhcp |
(Optional) Displays the debugging flags of the Dynamic Host Configuration Protocol (DHCP). |
ethpm |
(Optional) Displays the Ethernet port manager (ETHPM) debugging flags. |
evmc |
(Optional) Displays the event manager client (EVMC) debugging flags. |
evms |
(Optional) Displays the EVMS debugging flags. |
exceptionlog |
(Optional) Displays all of the exception logger debugging flags. |
fm |
(Optional) Displays the feature manager debugging flags. |
fs-daemon |
(Optional) Displays the FS daemon debugging flags. |
im |
(Optional) Displays the IM debugging flags. |
ip |
(Optional) Displays IP information. |
ipconf |
(Optional) Displays the IP configuration debugging flags. |
ipv6 |
(Optional) Displays the IPv6 configuration debugging flags. |
ipqos |
(Optional) Displays the IP quality of service (QoS) manager debugging flags. |
icmp |
Displays the ICMP debug flags. |
ipc |
Displays the InterProcessor Communication (IPC) events debug flags. |
mpacket |
Displays multicast packet debug flags. |
packet |
Displays unicast packet debug flags. |
routing |
Displays the routing table debug flags. |
mld |
Displays Multicast Listener Discovery (MLD) debug flags. |
nd |
Displays Neighbor Discovery (ND) debug flags. |
kadb |
(Optional) Displays the kernel ADB debugging flags. |
klm-rwsem |
(Optional) Displays the RWSEM driver debug elements. |
lacp |
(Optional) Displays the Link Aggregation Control Protocol (LACP) debugging flags. |
license |
(Optional) Displays the licensing debugging flags. |
logfile log_file_name |
(Optional) Displays the contents of the logfile. Log file name. |
m2rib |
(Optional) Displays information about the Multicast 2 Routing Information Base (M2RIB). |
module |
(Optional) Displays all of the module debugging flags. |
monitor |
(Optional) Displays the Ethernet Switched Port Analyzer (SPAN) debugging flags. |
msp |
(Optional) Displays the MSP debugging flags. |
mvsh |
(Optional) Displays the MSVSH debugging flags. |
nfm |
(Optional) Displays the network fault manager (NFM) debugging flags. |
nsmgr |
(Optional) Displays debugging flags of the name space manager (NSMGR). |
ntp |
(Optional) Displays the state of the Network Time Protocol (NTP) debug settings. |
platform |
(Optional) Displays all of the platform manager debugging flags. |
pltfm_config |
(Optional) Displays the PLTFM_CONFIG debugging flags. |
plugin |
(Optional) Displays the PLUGIN debugging flags. |
port-channel |
(Optional) Displays the port channel debugging flags. |
port-profile |
(Optional) Displays the port profile debugging flags. |
port-security |
(Optional) Displays the ETH_PORT_SEC debugging flags. |
private-vlan |
(Optional) Displays all of the private VLAN debugging flags. |
radius |
(Optional) Displays the Remote Authentication Dial-In User Service (RADIUS) debugging flags. |
redundancy |
(Optional) Displays the redundancy drivers debugging flags. |
res_mgr |
(Optional) Displays the RES_MGR debugging flags. |
rpm |
(Optional) Displays the Route Processor Module (RPM) debug flags. |
sal |
(Optional) Displays the Service Abstraction Layer (SAL) debugging flags. |
scheduler |
(Optional) Displays all of the scheduler debugging flags. |
security |
(Optional) Displays the security debugging flags. |
session-mgr |
(Optional) Displays the session manager debugging flags. |
snmp |
(Optional) Displays all of the Simple Network Management Protocol (SNMP) server debugging flags. |
spanning-tree |
(Optional) Displays the STP debugging flags. |
system |
(Optional) Displays all of the system debugging flags. |
tcap |
(Optional) Displays all of the exception logger debugging flags. |
ttyd |
(Optional) Displays all of the TTYD debugging flags. |
vdc |
(Optional) Displays the virtual device context (VDC) manager debugging flags. |
vem_mgr |
(Optional) Displays the VEM_MGR debugging flags. |
vim |
(Optional) Displays the Virtual Infrastructure Methodology (VIM) debugging flags. |
vlan |
(Optional) Displays all of the VLAN manager debugging flags. |
vmm |
(Optional) Displays the virtual machine manager (VMM) debugging flags. |
vms |
(Optional) Displays the virtual modular system (VMS) debugging flags. |
vnm-pa |
(Optional) Displays the VNM PA debugging flags. |
vns_agent |
(Optional) Displays the VNS_AGENT debugging flags |
vsh |
(Optional) Displays all of the VSH debugging flags |
vshd |
(Optional) Displays all of the virtual shared hardware device (VSHD) debugging flags. |
xml |
(Optional) Displays the XML debugging flags. |
server |
Specifies the XML agent server. |
session |
(Optional) Displays the XML agent session. |
logging |
Displays message logging facilities. |
level |
Displays the facility parameter for system log messages. |
Defaults
Displays all of the debug flags.
Command Modes
Any
network-admin
Examples
This example shows how to display the debug flags:
Debug level is set to Minor(1)
default for new sessions logging level: 3
Related Commands
|
|
clear debug-logfile |
Clears the contents of the debug logfile. |
debug logfile |
Directs the output of the debug commands to a specified file. |
debug logging |
Enables debug command output logging. |
show debug-filter |
Displays the settings of the debug filter. |
show debug-filter
To display the settings of the debug filter, use the show debug-filter command.
show debug-filter {all | arp | ipv6 {icmp} | rpm}
Syntax Description
all |
Displays all debugs filters. |
arp |
Displays the Address Resolution Protocol (ARP) debug filters. |
ipv6 |
Displays IPv6 information. |
icmp |
Displays Internet Control Message Protocol version 6 (ICMPv6) debug filters flags. |
rpm |
Displays Route Processor Module (RPM) debug filters. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the settings of the debug filter:
n1000v# show debug-filter all
This example shows how to display the settings of the ARP debug filter:
n1000v# show debug-filter arp
This example shows how to display the settings of the IPv6 ICMP debug filter:
n1000v# show debug-filter ipv6 icmp
This example shows how to display the debug filter settings for the RPM:
n1000v# show debug-filter rpm
Related Commands
|
|
clear debug-logfile |
Clears the contents of the debug logfile. |
debug logfile |
Directs the output of the debug commands to a specified file. |
debug logging |
Enables debug command output logging. |
show default-interface log
To display the execution log of the last default-interface, use the show default-interface log command.
show default-interface log
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the default interface:
n1000v# show default-interface log
No default interface command log
Related Commands
|
|
default shutdown |
Remove a configured administrative state from an interface. |
show dynamic-port-profile
To display information about the dynamic ports, use the show dynamic-port-profile command.
show dynamic-port-profile [inherit inherited_port_profile | name dynamic_port_profile | nsm network segment net_seg_name]
Syntax Description
inherit inherited_port_profile |
(Optional) Specifies the inherited port profile. Inherited port profile name. The name is a maximum of 80 case-sensitive, alphanumeric characters. |
name dynamic_port_profile |
(Optional) Specifies a dynamic port profile. Dynamic port profile name. The name is a maximum of 80 case-sensitive, alphanumeric characters. |
network segment net_seg_name |
(Optional) Specifies a network segment. Network segment name. The name is a maximum of 64 characters. |
Defaults
Displays information about the dynamic port profiles.
Command Modes
Any
network-admin
Examples
This example shows how to display information about the dynamic ports:
n1000v# show dynamic-port-profile
dynamic-port-profile:
dynpp_330779e2-4641-46cc-a757-5a31b1b3999f_272e538f-7f4e-45b6-a363-9fda6b1389f7
inherit port-profile: cluster-traffic
network-segment: NS_VLAN_261
dynamic-port-profile:
dynpp_e06910e1-dc31-4212-8f21-4f657bed269d_ae3f98c7-a021-4124-9ab2-7a68f9955467
inherit port-profile: veth-policy
dynamic-port-profile:
dynpp_e06910e1-dc31-4212-8f21-4f657bed269d_f3c01725-6685-4d5a-b08f-7494f744ea08
inherit port-profile: veth-policy
network-segment: NS_VLAN_262
Related Commands
|
|
capability iscsi-multipath |
Configures a port profile to be used with the ISCSI multipath protocol. |
inherit port-profile |
Adds an inherited configuration to a new port profile as a default configuration. |
show encryption service stat
To display the encryption service status, use the show encryption service stat command.
show encryption service stat
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the encryption service status:
n1000v# show encryption service stat
Encryption service not enabled
Master Encryption Key: not configured.
Type-6 encryption is not being used
show event manager environment
To display information about event manager environment variables, use the show event manager environment command.
show event manager environment {enviro_name | all}
Syntax Description
enviro_name |
Environment variable name. The name is a maximum of 29 characters. |
all |
Displays information about all the configured environment variables. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about event manager environment variables:
n1000v# show event manager environment all
Related Commands
|
|
event-log |
Enables and disables event logging for the VNS agent and saves or configures logging. |
event manager |
Creates or modifies an event manager policy, configures an environment variable, or registers/activates a script policy. |
show event manager event-types
To display information about registered event manager (EM) event types, use the show event manager event-types command.
show event manager event-types [event_name [module slot_id] | all | module slot_id]
Syntax Description
event_name |
(Optional) Displays information about the specified event type. |
module slot_id |
(Optional) Displays information about event types on other modules. Slot ID. The range is from 1 to 66. |
all |
(Optional) Displays information about all the configured environment variables. |
Defaults
Displays information about registered EM event types.
Command Modes
Any
network-admin
Examples
This example shows how to display information about registered EM event types:
n1000v# show event manager event-types
Event Parameters : devicetype, eventtype, devicenum
Publisher : Platform Manager
Description : Fan Absent Event
Event Parameters : devicenum, time
Publisher : Platform Manager
Description : Fan Bad Event
Event Parameters : devicenum, time
Publisher : Platform Manager
Description : Memory Alerts
Event Parameters : memstate
Publisher : Platform Manager
Description : Temperature Sensor Event
Event Parameters : modnum, sensornum, major_minor
Publisher : Platform Manager
Default Action : Shutdown on major temperature threshold
Description : Power Over Budget Event
Publisher : Platform Manager
Related Commands
|
|
event-log |
Enables and disables event logging for the VNS agent and saves or configures logging. |
event manager |
Creates or modifies an EM policy, configures an environment variable, or registers/activates a script policy. |
show event manager history events
To display information about the history of event manager (EM) events, use the show event manager history events command.
show event manager history events [detail [maximum max_limit | severity specified_severity] | maximum max_limit | severity specified_severity]
Syntax Description
detail |
(Optional) Displays information about the event parameters as well. |
maximum max_limit |
(Optional) Specifies an upper limit on the number of events to be shown. Maximum number of events to be shown. The range is from 1 to 500. |
severity specified_severity |
(Optional) Displays those events where the severity is >= to the specified severity. Severity level: • catastrophic • minor • moderate • severe |
Defaults
Displays information about the history of EM events.
Command Modes
Any
network-admin
Examples
This example shows how to display information about the history of EM events:
n1000v# show event manager history events
Related Commands
|
|
event-log |
Enables and disables event logging for the VNS agent and saves or configures logging. |
event manager |
Creates or modifies an event manager policy, configures an environment variable, or registers/activates a script policy. |
show event manager policy-state
To display information about the state of an event manager (EM) policy, use the show event manager policy-state command.
show event manager policy-state policy_name [module slot_id]
Syntax Description
policy_name |
Policy name. The name is a maximum of 29 alphanumeric, non case-sensitive characters. |
module slot_id |
(Optional) Specifies information about event types on other modules. Slot ID. The range is from 1 to 66. |
Defaults
Displays information about the state of an EM policy.
Command Modes
Any
network-admin
Examples
This example shows how to display information about the state of an EM policy:
n1000v# show event manager policy-state __pfm_power_over_budget
Policy __pfm_power_over_budget
Related Commands
|
|
event manager |
EM commands. |
event-log |
EM logging commands. |
show event manager script system
To display information about an event manager (EM) system scripts, use the show event manager script system command.
show event manager script system {all | sys_script_name}
Syntax Description
all |
Displays information about all the available system scripts. |
sys_script_name |
System script policy name. The name is a maximum of 29 alphanumeric, non case-sensitive characters. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about all EM script policies:
n1000v# show event manager script system all
Related Commands
|
|
event manager |
EM commands. |
event-log |
EM logging commands. |
show event manager system-policy
To display information about the event manager (EM) system policies, use the show event manager system-policy command.
show event manager system-policy [policy_name | all]
Syntax Description
policy_name |
(Optional) Policy name. The name is a maximum of 29 alphanumeric, non case-sensitive characters. |
all |
(Optional) Displays all policies including advanced and ones that can not be overridden. |
Defaults
Displays information about the EM system policies.
Command Modes
Any
network-admin
Examples
This example shows how to display information about all of the EM system policies:
n1000v# show event manager system-policy all
Name : __lcm_module_failure
Description : Power-cycle 2 times then power-down
Name : __pfm_fanabsent_any_singlefan
Description : Shutdown if any fanabsent for 5 minute(s)
Name : __pfm_fanbad_any_singlefan
Description : Syslog when fan goes bad
Related Commands
|
|
event manager |
Creates or modifies an event manager policy, configures an environment variable, or registers/activates a script policy. |
event-log |
Enables and disables event logging for the VNS agent and saves or configures logging. |
show feature
To display the feature status, use the show feature command.
show feature
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the feature status:
Feature Name Instance State
-------------------- -------- --------
network-segmentation 1 enabled
Related Commands
|
|
feature dhcp |
Enables the DHCP feature globally. |
feature http-server |
Enables the HTTP server. |
feature lacp |
Enables the LACP feature that bundles a number of physical ports together to form a single logical channel. |
feature ssh |
Enables the SSH server. |
feature tacacs+ |
Enables the TACACS+ server. |
feature telnet |
Enables the Telnet server. |
ip dhcp snooping |
Globally enables DHCP snooping on the device. |
show feature-set services
To display the feature set services and status, use the show feature-set services command.
show feature-set services name
Syntax Description
name |
The name of the feature set. The name is case-sensitive. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the feature set services and status:
n1000v# show feature-set services http-server
0 services in feature set http-server
Related Commands
|
|
feature dhcp |
Enables the DHCP feature globally. |
feature http-server |
Enables the HTTP server. |
feature lacp |
Enables the LACP feature that bundles a number of physical ports together to form a single logical channel. |
feature ssh |
Enables the SSH server. |
feature tacacs+ |
Enables the TACACS+ server. |
feature telnet |
Enables the Telnet server. |
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: | debug: | log: | modflash: | volatile:} part_filename} [cksum | md5sum]
Syntax Description
bootflash: |
Specifies a bootflash filename. |
debug: |
Specifies a debug filename on expansion flash. |
log: |
Specifies a log filename. |
modflash: |
Specifies a modflash filename. |
volatile: |
Specifies a filename on volatile flash. |
part_filename |
Portion of the filename to be displayed. Pressing the Tab Kay lists any existing files that match the partial name. |
cksum |
(Optional) Displays the Cycle Redundancy Check (CRC) checksum for a file. |
md5sum |
(Optional) Displays the Message-Digest Algorithm (MD5) checksum for a file. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Usage Guidelines
When you type a partial filename and then press the Tab Key, the command-line interface (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:n1000v-dk9 <Tab>
bootflash:n1000vh-dk9-kickstart.5.2.1.SM1.5.1.bin
bootflash:n1000vh-dk9.5.2.1.SM1.5.1.binn
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 cache size
To display information about NetFlow cache properties, use the show flow cache size command.
show flow cache size
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the NetFlow cache properties:
n1000v# show flow cache size
Module Cache Size Free Flows Monitors NetFlow Memory Used
------ ---------- ---------- -------- -------------------
Related Commands
|
|
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collects the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address or VRF instance to a NetFlow flow exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter defining where and how Flow Records are exported to the NetFlow collector server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enters Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
match ip |
Defines IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
The timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Designates a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Designate NetFlow export version 9 in the NetFlow exporter. |
show flow exporter
To display information about the NetFlow Exporter configuration and statistics, use the show flow exporter command.
show flow exporter [exporter_name]
Syntax Description
exporter_name |
(Optional) Exporter name. The name is a maximum of 63 case-sensitive, alphanumeric characters. |
Defaults
Displays information about the NetFlow Exporter configuration and statistics.
Command Modes
Any
network-admin
Examples
This example shows how to display the NetFlow Exporter configuration and statistics:
n1000v# show flow exporter
Destination UDP Port 9996
Source IP Address 10.105.225.180/27
Number of Flow Records Exported 0
Number of Templates Exported 0
Number of Export Packets Sent 0
Number of Export Bytes Sent 0
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
Number of Packets Dropped (other) 0
Number of Packets Dropped (LC to RP Error) 0
Number of Packets Dropped (Output Drops) 0
Time statistics were last cleared: Never
This example shows how to display the NetFlow Exporter configuration and statistics for flow exporter e123456789012345678901234567890123456789:
n1000v# show flow exporter e123456789012345678901234567890123456789
Flow exporter e123456789012345678901234567890123456789:
Source IP Address 10.105.225.180/27
Number of Flow Records Exported 0
Number of Templates Exported 0
Number of Export Packets Sent 0
Number of Export Bytes Sent 0
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
Number of Packets Dropped (other) 0
Number of Packets Dropped (LC to RP Error) 0
Number of Packets Dropped (Output Drops) 0
Time statistics were last cleared: Never
Related Commands
|
|
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collects the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address or VRF instance to a NetFlow flow exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter defining where and how Flow Records are exported to the NetFlow collector server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enters Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
match ip |
Defines IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
The timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Designates a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Designate NetFlow export version 9 in the NetFlow exporter. |
show flow interface
To display information about the NetFlow interface, use the show flow interface command.
show flow interface [ethernet slot/chassis_num / port/slot_num | vethernet vethernet_num]
Syntax Description
ethernet slot/chassis_num / port/slot_num |
(Optional) Specifies an Ethernet IEEE 802.3z interface. Slot/chassis number. The range is from 1 to 66. Slash separator. Port/slot number. The range is from 1 to 128. |
vethernet vethernet_num |
(Optional) Specifies a virtual Ethernet interface. Virtual Ethernet interface number. The range is from 1 to 1048575. |
Defaults
Displays information about the NetFlow interfaces.
Command Modes
Any
network-admin
Examples
This example shows how to display NetFlow interface information:
n1000v# show flow interface
Related Commands
|
|
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collects the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address or VRF instance to a NetFlow flow exporter.w exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter defining where and how Flow Records are exported to the NetFlow collector server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enters Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
match ip |
Defines IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
The timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Designates a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Designate NetFlow export version 9 in the NetFlow exporter. |
show flow monitor
To display information about NetFlow monitor configuration, use the show flow monitor command.
show flow monitor [monitor_name [cache {module module_num} | statistics [cache {module module_num} | statistics {module module_num}]]]
Syntax Description
monitor_name |
(Optional) Monitor name. The name is a maximum of 63 alphanumeric characters. |
cache |
(Optional) Displays the cache properties. |
module module_num |
Specifies a module. Module number. The range is from 3 to 66. |
statistics |
(Optional) Displays monitor statistics. |
Defaults
Displays information about NetFlow monitor configuration.
Command Modes
Any
network-admin
Examples
This example shows how to display the NetFlow monitor configuration:
n1000v# show flow monitor
Flow Monitor m123456789012345678901234567890123456789:
Flow Record: r123456789012345678901234567890123456789
Flow Exporter: e123456789012345678901234567890123456789
Related Commands
|
|
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collects the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address, or VRF instance to a NetFlow flow exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter defining where and how Flow Records are exported to the NetFlow Collector Server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enters Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
match ip |
Defines the IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines the IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
Specifies a timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Specifies a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Designates NetFlow export version 9 in the NetFlow exporter. |
show flow record
To display information about NetFlow records, use the show flow record command.
show flow record [record_name | netflow {ipv4 {original-input | original-output} | protocol-port} | netflow-original]
Syntax Description
record_name |
(Optional) Flow record name. The name is a maximum of 63 alphanumeric characters. |
netflow |
(Optional) Displays NetFlow records. |
ipv4 |
Displays the IPv4 collection schemes. |
original-input |
Displays the input NetFlow. |
original-output |
Displays the output NetFlow. |
protocol-port |
Displays the protocol and ports aggregation scheme. |
netflow-original |
(Optional) Displays the original NetFlow records. |
Defaults
Displays information about NetFlow records.
Command Modes
Any
network-admin
Examples
This example shows how to display NetFlow record information:
Flow record r123456789012345678901234567890123456789:
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect transport tcp flags
collect timestamp sys-uptime first
collect timestamp sys-uptime last
match ipv4 source address
match ipv4 destination address
Related Commands
|
|
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collect the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address, or virtual routing and forwarding (VRF) instance to a NetFlow flow exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter defining where and how Flow Records are exported to the NetFlow Collector Server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enter Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
match ip |
Defines the IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines the IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines the transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
Specifies a timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Specifies a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Specifies the NetFlow export version 9 in the NetFlow exporter. |
show flow timeout
To display information about NetFlow timeout values, use the show flow timeout command.
show flow timeout
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display NetFlow flow cache timeout values:
n1000v# show flow timeout
Active timeout: 1800 seconds
Inactive timeout: 15 seconds
Session aging timeout: Disabled
Aggressive aging timeout: Disabled
Related Commands
|
|
ip flow monitor |
Enables a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding. |
clear flow exporter |
Clears the statistics for a Flexible NetFlow flow exporter. |
collect counter |
Configures the number of bytes or packets in a flow as a nonkey field and collect the number of bytes or packets seen for a Flexible NetFlow record. |
collect timestamp sys-uptime |
Collects the TIMESTAMP SYS-UPTIME for a NetFlow flow record. |
collect transport tcp flags |
Collects the TCP flags for a NetFlow flow record. |
description |
Adds a description to a flow record, flow monitor, IP address, or a VRF instance to a NetFlow flow exporter. |
dscp |
Adds a DSCP to a NetFlow flow exporter. |
feature netflow |
Enables the NetFlow. |
flow exporter |
Creates or modifies a Flexible NetFlow flow exporter that defines where and how Flow Records are exported to the NetFlow Collector Server. |
flow monitor |
Creates a Flexible NetFlow flow monitor, modifies an existing Flexible NetFlow flow monitor, and enter Flexible NetFlow flow monitor configuration mode. |
flow record |
Creates a Flexible NetFlow flow record, modifies an existing Flexible NetFlow flow record, and enters Flexible NetFlow flow record configuration mode. |
match ip |
Defines the IP matching criteria for a NetFlow flow record. |
match ipv4 |
Defines the IPv4 matching criteria for a NetFlow flow record. |
match transport |
Defines transport matching criteria for a NetFlow flow record. |
option exporter-stats timeout |
Specifies a timeout period for resending NetFlow flow exporter data. |
option interface-table timeout |
Specifies a timeout period for resending the NetFlow flow exporter interface table. |
record |
Configures a NetFlow flow record. |
source |
Adds an interface to a flow exporter designating it as the source for NetFlow flow records. |
template data timeout |
Specifies a timeout period for resending NetFlow template data. |
transport udp |
Adds a destination UDP port from the NetFlow exporter to the collector. |
version 9 |
Specifies the NetFlow export version 9 in the NetFlow exporter. |
show hostname
To display information about the host name, use the show hostname command.
show hostname
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the hostname:
Related Commands
|
|
hostname |
Configures the system host name. |
show hosts
To display information about host devices, use the show hosts command.
show hosts
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about host devices:
Name/address lookup uses domain service
Name servers are 255.255.255.255
show http-server
To display information about the HTTP server state, use the show http-server command.
show http-server
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the HTTP server state:
Related Commands
|
|
feature http-server |
Enables the HTTP server. |
show incompatibility system
To display information about incompatible configurations, use the show incompatibility system command.
show incompatibility system {bootflash: | volatile:} <Tab>
Syntax Description
bootflash: |
Specifies a bootflash filename. |
volatile: |
Specifies a filename on volatile flash. |
Defaults
None
Command Modes
Any
network-admin
Usage Guidelines
When you type a partial filename and then press the Tab Key, the command-line interface (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 information about incompatible configurations:
n1000v# show incompatibility system bootflash: <Tab>
bootflash:/// bootflash://module-2/ bootflash://sup-2/
bootflash://sup-local/ bootflash://sup-standby/
bootflash://module-1/ bootflash://sup-1/ bootflash://sup-active/
bootflash://sup-remote/
Related Commands
|
|
dir |
Displays the contents of a directory or file. |
show install all
To display information about the software installation impact between two images, use the show install all command.
show install all {failed-standby | failure-reason | impact {iso bootflash: | kickstart {bootflash: | ftp: | modflash: | scp: | sftp: | tftp: | volatile:} {system} {bootflash: | ftp: | modflash: | scp: | sftp: | tftp: | volitile:}} | status}
Syntax Description
failed-standby |
Displays log from failed standby. |
failure-reason |
Displays failure reason for the last install all. |
impact |
Displays impact of the install all command. |
iso |
Displays the boot variable name. |
bootflash: |
Displays the bootflash image Uniform Resource Identifier (URI). |
kickstart |
Displays the boot-variable name. |
ftp: |
Displays the File Transfer Protocol (FTP) image URI. |
modflash: |
Displays the modflash image URI. |
scp: |
Displays the Secure Copy (SCP) image URI. |
sftp: |
Displays the Secure File Transfer Protocol (SFTP) image URI. |
tftp: |
Displays the Trivial File Transfer Protocol (TFTP) image URI. |
volatile: |
Displays the volatile image URI. |
system |
Displays the system boot variable name. |
status |
Displays status of the current or last install all. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the status of the current or last install all:
n1000v# show install all status
No installation has taken place since the last reboot.
Related Commands
|
|
install |
Upgrades software. |
show interface
To display information about an interface, use the show interface command.
show interface
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Usage Guidelines
The options for this command are in the following sections.
Examples
This example shows how to display the interface configuration:
Hardware: Ethernet, address: 0015.5de1.85a4 (bia 0015.5de1.85a4)
Internet Address is 10.105.225.180/27
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Auto-Negotiation is turned on
1 minute input rate 13528 bits/sec, 8 packets/sec
1 minute output rate 176 bits/sec, 0 packets/sec
1210626 input packets 40911 unicast packets 90963 multicast packets
1078752 broadcast packets 331363572 bytes
31274 output packets 22558 unicast packets 4358 multicast packets
4358 broadcast packets 4586888 bytes
Hardware: Ethernet, address: 0025.b5aa.ab5f (bia 0025.b5aa.ab5f)
Port-Profile is DATA-Macpin
5 minute input rate 15200 bits/second, 10 packets/second
5 minute output rate 24 bits/second, 0 packets/second
2813862 Input Packets 0 Unicast Packets
632362 Multicast Packets 2181514 Broadcast Packets
4221 Output Packets 0 Unicast Packets
4221 Multicast Packets 0 Broadcast Packets 0 Flood Packets
0 Input Packet Drops 0 Output Packet Drops
Hardware: Port-Channel, address: 0025.b5aa.ab4f (bia 0025.b5aa.ab4f)
MTU 1500 bytes, BW 30000000 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: Eth3/1, Eth3/2, Eth3/3
Last clearing of "show interface" counters never
300 seconds input rate 45656 bits/sec, 30 packets/sec
300 seconds output rate 72 bits/sec, 0 packets/sec
0 unicast packets 1890152 multicast packets 6550952 broadcast packets
8440897 input packets 1413635922 bytes
0 unicast packets 12658 multicast packets 0 broadcast packets
12658 output packets 3164500 bytes
Port description is 1000V
Hardware: Virtual, address: 0025.b5aa.ab2f (bia 0025.b5aa.ab2f)
DVS port D962C7C4-DF69-4254-A07C-E67F33CF887B
Port-Profile is
dynpp_4a4baaec-30e6-4686-b130-24f31acbdcb2_2c97d33c-44b5-4e93-9b2e-d96ad521bad4
5 minute input rate 167704 bits/second, 32 packets/second
5 minute output rate 179960 bits/second, 46 packets/second
17964785 Input Packets 17953842 Unicast Packets
1752 Multicast Packets 11289 Broadcast Packets
42851796 Output Packets 42057541 Unicast Packets
160900 Multicast Packets 633355 Broadcast Packets 794256 Flood Packets
0 Input Packet Drops 0 Output Packet Drops
Hardware: Ethernet, address: 0015.5dad.ab25 (bia 0015.5dad.ab25)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Auto-Negotiation is turned on
1 minute input rate 0 bits/sec, 0 packets/sec
1 minute output rate 0 bits/sec, 0 packets/sec
0 input packets 0 unicast packets 0 multicast packets
0 broadcast packets 0 bytes
5178 output packets 0 unicast packets 5178 multicast packets
0 broadcast packets 1325365 bytes
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface brief
To display brief information about an interface, use the show interface brief command.
show interface brief
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display a short version of the interface configuration:
n1000v# show interface brief
--------------------------------------------------------------------------------
Port VRF Status IP Address Speed MTU
--------------------------------------------------------------------------------
mgmt0 -- up 10.105.225.180 -- 1500
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
--------------------------------------------------------------------------------
Eth3/1 1 eth trunk up none 10G 1
Eth3/2 1 eth trunk up none 10G 1
Eth3/3 1 eth trunk up none 10G 1
Eth3/4 1 eth pvlan up none 10G 2
Eth3/5 260 eth trunk up none 10G
Eth3/6 1 eth pvlan up none 10G 2
Eth3/7 1 eth pvlan up none 10G 2
Eth3/8 1 eth pvlan up none 10G 2
Eth4/1 1 eth trunk up none 10G 3
Eth4/2 1 eth trunk up none 10G 3
Eth4/3 1 eth trunk up none 10G 3
Eth4/4 1 eth pvlan up none 10G 4
Eth4/5 260 eth trunk up none 10G
Eth4/6 1 eth pvlan up none 10G 4
Eth4/7 1 eth pvlan up none 10G 4
Eth4/8 1 eth pvlan up none 10G 4
--------------------------------------------------------------------------------
Port-channel VLAN Type Mode Status Reason Speed Protocol
--------------------------------------------------------------------------------
Po1 1 eth trunk up none a-10G(D) none
Po2 1 eth pvlan up none a-10G(D) none
Po3 1 eth trunk up none a-10G(D) none
Po4 1 eth pvlan up none a-10G(D) none
--------------------------------------------------------------------------------
Vethernet VLAN Type Mode Status Reason Speed
--------------------------------------------------------------------------------
Veth1 260 virt access up none auto
Veth2 260 virt access up none auto
--------------------------------------------------------------------------------
Port VRF Status IP Address Speed MTU
--------------------------------------------------------------------------------
control0 -- up -- -- 1500
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface capabilities
To display the capabilities of the interface, use the show interface capabilities command.
show interface capabilities
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the interface capabilities:
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)
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface control
To display information about the control interface, use the show interface control command.
show interface control control_num [brief | counters [detailed [all] | errors [snmp]] | description | status]
Syntax Description
control_num |
Control interface number. The only valid value is 0. |
brief |
(Optional) Displays brief interface information. |
counters |
(Optional) Displays interface counters. |
detailed |
(Optional) Displays only non-zero counters. |
all |
(Optional) Displays every interface counter. |
errors |
(Optional) Displays interface error counters. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
description |
(Optional) Displays interface description. |
status |
(Optional) Displays interface line status. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the control interface:
n1000v# show interface control 0
Hardware: Ethernet, address: 001d.d8b7.1ca2 (bia 001d.d8b7.1ca2)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Auto-Negotiation is turned on
1 minute input rate 0 bits/sec, 0 packets/sec
1 minute output rate 0 bits/sec, 0 packets/sec
0 input packets 0 unicast packets 0 multicast packets
0 broadcast packets 0 bytes
69 output packets 0 unicast packets 69 multicast packets
0 broadcast packets 17661 bytes
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface counter
To display information about the interface counters, use the show interface counter command.
show interface counter [detailed [all [snmp] | snmp] | errors [module module_num] | module module_num | snmp [module module_num]]
Syntax Description
detailed |
(Optional) Displays only non-zero counters. |
all |
(Optional) Displays every interface counter. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
errors |
(Optional) Displays interface error counters. |
module module_num |
Specifies a module. Module number. The range is from 1 to 66. |
Defaults
Displays information about the interface counters.
Command Modes
Any
network-admin
Examples
This example shows how to display detailed information about interface counters:
n1000v# show interface counters detailed
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface description
To display interface descriptions, use the show interface description command.
show interface description
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display interface descriptions:
n1000v# show interface description
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface ethernet
To display information about the Ethernet IEEE 802.3z interface, use the show interface ethernet command.
show interface ethernet slot/chassis_num / port/slot_num [brief | capabilities | counters [brief | detailed [all [snmp]] | errors [snmp] | snmp] | description | mac-address | status [err-disabled] | switchport | trunk]
Syntax Description
slot/chassis_num / port/slot_num |
Slot/chassis number. The range is from 1 to 66. Slash separator. Port/slot number. The range is from 1 to 128. |
brief |
(Optional) Displays brief interface information. |
capabilities |
(Optional) Displays interface capabilities information. |
counters |
(Optional) Displays interface counters. |
detailed |
(Optional) Displays only nonzero counters. |
all |
(Optional) Displays all interface counters. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
errors |
(Optional) Displays the interface error counters. |
description |
(Optional) Displays the interface description. |
mac-address |
(Optional) Displays the interface MAC address. |
status |
(Optional) Displays the interface line status. |
err-disabled |
(Optional) Displays the interface error disabled state. |
switchport |
(Optional) Displays interface switchport information. |
trunk |
(Optional) Displays interface trunk information. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the Ethernet IEEE 802.3z interface:
n1000v# show interface ethernet 6/1
Hardware: Ethernet, address: 001b.21b1.a6bc (bia 001b.21b1.a6bc)
Port-Profile is DATA-Macpin
5 minute input rate 20680 bits/second, 22 packets/second
5 minute output rate 3024 bits/second, 3 packets/second
39381 Input Packets 6039 Unicast Packets
24442 Multicast Packets 8900 Broadcast Packets
4626 Output Packets 220 Unicast Packets
3768 Multicast Packets 639 Broadcast Packets 4386 Flood Packets
894 Input Packet Drops 0 Output Packet Drops
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface mac-address
To display information about the interface MAC addresses, use the show interface mac-address command.
show interface mac-address
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the interface MAC addresses:
n1000v# show interface mac-address
--------------------------------------------------------------------------------
Interface Mac-Address Burn-in Mac-Address
--------------------------------------------------------------------------------
mgmt0 0015.5dad.ab26 0015.5dad.ab26
Vethernet1 0000.0000.0000 0000.0000.0000
Vethernet2 0000.0000.0000 0000.0000.0000
Vethernet3 0000.0000.0000 0000.0000.0000
Vethernet4 0000.0000.0000 0000.0000.0000
Vethernet5 0000.0000.0000 0000.0000.0000
Vethernet6 0000.0000.0000 0000.0000.0000
Vethernet7 0000.0000.0000 0000.0000.0000
Vethernet8 0000.0000.0000 0000.0000.0000
Vethernet9 0000.0000.0000 0000.0000.0000
Vethernet10 0000.0000.0000 0000.0000.0000
Vethernet11 0000.0000.0000 0000.0000.0000
Vethernet12 0000.0000.0000 0000.0000.0000
Vethernet13 0000.0000.0000 0000.0000.0000
Vethernet14 0000.0000.0000 0000.0000.0000
Vethernet15 0000.0000.0000 0000.0000.0000
Vethernet16 0000.0000.0000 0000.0000.0000
Vethernet17 0000.0000.0000 0000.0000.0000
Vethernet18 0000.0000.0000 0000.0000.0000
Vethernet19 0000.0000.0000 0000.0000.0000
Vethernet20 0000.0000.0000 0000.0000.0000
control0 0015.5dad.ab25 0015.5dad.ab25
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface mgmt
To display information about the management interface, use the show interface mgmt command.
show interface mgmt mgmt_if_num [brief | capabilities | counters [detailed [all] | errors [snmp] | snmp] | description | status]
Syntax Description
mgmt_if_num |
Management interface number. The only valid value is 0. |
brief |
(Optional) Displays brief interface information. |
capabilities |
(Optional) Displays interface capabilities information. |
counters |
(Optional) Displays the interface counters. |
detailed |
(Optional) Displays only non-zero counters. |
all |
(Optional) Displays all interface counters. |
errors |
(Optional) Displays the interface error counters. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
description |
(Optional) Displays the interface description. |
status |
(Optional) Displays the interface line status. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the management interface:
n1000v# show interface mgmt 0
Hardware: Ethernet, address: 0015.5de1.85a4 (bia 0015.5de1.85a4)
Internet Address is 10.105.225.180/27
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Auto-Negotiation is turned on
1 minute input rate 14168 bits/sec, 9 packets/sec
1 minute output rate 560 bits/sec, 0 packets/sec
1212841 input packets 41020 unicast packets 91025 multicast packets
1080796 broadcast packets 331770692 bytes
31383 output packets 22659 unicast packets 4362 multicast packets
4362 broadcast packets 4617918 bytes
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface port-channel
To display information about the port channel interface, use the show interface port-channel command.
show interface port-channel port_chan_num [brief | capabilities | counters [brief | detailed [all [snmp] | snmp] | errors [snmp] | trunk] | description | fcoe | mac-address | status [err-vlans] | switchport | trunk]
Syntax Description
port_chan_num |
Port channel number. The range is from 1 to 4096. |
brief |
(Optional) Displays brief interface information. |
capabilities |
(Optional) Displays interface capabilities information. |
counters |
(Optional) Displays the interface counters. |
detailed |
(Optional) Displays only non-zero counters. |
all |
(Optional) Displays all interface counters. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
errors |
(Optional) Displays the interface error counters. |
trunk |
(Optional) Displays interface trunk information. |
description |
(Optional) Displays the interface description. |
fcoe |
(Optional) Displays Fiber Channel over Ethernet (FCoE) information. |
mac-address |
(Optional) Displays the interface MAC address. |
status |
(Optional) Displays the interface line status. |
err-vlans |
(Optional) Displays VLANs with errors. |
switchport |
(Optional) Displays interface switchport information. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display port channel 1 interface information:
n1000v# show interface port-channel l
Hardware: Port-Channel, address: 0025.b5aa.ab4f (bia 0025.b5aa.ab4f)
MTU 1500 bytes, BW 30000000 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: Eth3/1, Eth3/2, Eth3/3
Last clearing of "show interface" counters never
300 seconds input rate 59448 bits/sec, 54 packets/sec
300 seconds output rate 72 bits/sec, 0 packets/sec
0 unicast packets 633095 multicast packets 1446439 broadcast packets
2079474 input packets 395962426 bytes
0 unicast packets 3549 multicast packets 0 broadcast packets
3549 output packets 887250 bytes
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface snmp-ifindex
To display information about to display information about the Simple Network Management Protocol (SNMP) interface index (IFindex), use the show interface command.
show interface snmp-ifindex
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display information about the SNMP IFindex list:
n1000v# show interface snmp-ifindex
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
mgmt0 83886080 (0x5000000 )
Veth1 469762048 (0x1c000000)
Veth2 469762064 (0x1c000010)
Veth3 469762080 (0x1c000020)
Veth4 469762096 (0x1c000030)
Veth5 469762112 (0x1c000040)
Veth6 469762128 (0x1c000050)
Veth7 469762144 (0x1c000060)
Veth8 469762160 (0x1c000070)
Veth9 469762176 (0x1c000080)
Veth10 469762192 (0x1c000090)
Veth11 469762208 (0x1c0000a0)
Veth12 469762224 (0x1c0000b0)
Veth13 469762240 (0x1c0000c0)
Veth14 469762256 (0x1c0000d0)
Veth15 469762272 (0x1c0000e0)
Veth16 469762288 (0x1c0000f0)
Veth17 469762304 (0x1c000100)
Veth18 469762320 (0x1c000110)
Veth19 469762336 (0x1c000120)
Veth20 469762352 (0x1c000130)
control0 117440512 (0x7000000 )
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface status
To display information about the interface line status, use the show interface status command.
show interface status [down | err-disabled | err-vlans | inactive | module | up]
Syntax Description
down |
(Optional) Displays the interface down state. |
err-disabled |
(Optional) Displays the interface error disabled state. |
err-vlans |
(Optional) Displays VLANs. with errors. |
inactive |
(Optional) Displays the interface inactive state. |
module |
(Optional) Displays interfaces on the module. |
up |
(Optional) Displays the interface up state |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the interface up state:
n1000v# show interface status up
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
mgmt0 -- connected routed auto auto --
control0 -- connected routed auto auto --
This example shows how to display the interface down state:
n1000v# show interface status down
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
Veth1 -- nonPcpt 1 auto auto --
Veth2 -- nonPcpt 1 auto auto --
Veth3 -- nonPcpt 1 auto auto --
Veth4 -- nonPcpt 1 auto auto --
Veth5 -- nonPcpt 1 auto auto --
Veth6 -- nonPcpt 1 auto auto --
Veth7 -- nonPcpt 1 auto auto --
Veth8 -- nonPcpt 1 auto auto --
Veth9 -- nonPcpt 1 auto auto --
Veth10 -- nonPcpt 1 auto auto --
Veth11 -- nonPcpt 1 auto auto --
Veth12 -- nonPcpt 1 auto auto --
Veth13 -- nonPcpt 1 auto auto --
Veth14 -- nonPcpt 1 auto auto --
Veth15 -- nonPcpt 1 auto auto --
Veth16 -- nonPcpt 1 auto auto --
Veth17 -- nonPcpt 1 auto auto --
Veth18 -- nonPcpt 1 auto auto --
Veth19 -- nonPcpt 1 auto auto --
Veth20 -- nonPcpt 1 auto auto --
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface switchport
To display the interface switchport information, use the show interface switchport command.
show interface switchport
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the interface switchport information:
n1000v# show interface switchport
Switchport Monitor: Not enabled
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Allowed: 1 to 4094
Extended Trust State : not trusted [COS = 0]
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 Allowed: 1 to 4094
Extended Trust State : not trusted [COS = 0]
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
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface trunk
To display interface trunk information, use the show interface trunk command.
show interface trunk [fex fex_id | module module_num | vlan vlan_id]
Syntax Description
fex fex_id |
(Optional) Specifies a command redirect to a Fabric Extender (FEX). FEX ID. The range is from 100 to 199. |
module module_num |
Specifies a module. Module number. The range is from 1 to 66. |
vlan vlan_id |
(Optional) Specifies trunk information per native VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays interface trunk information.
Command Modes
Any
network-admin
Examples
This example shows how to display interface trunk information:
n1000v# show interface trunk
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Port Vlans Allowed on Trunk
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Port Vlans Err-disabled on Trunk
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface vem-internet
To display virtual Ethernet Module (VEM) related interface information, use the show interface vem-internet command.
show interface vem-ethernet {attach connectee device | info} [module module_num]
Syntax Description
attach connectee device |
Displays interface attach connectee device names. |
info |
Displays VEM-related interface information. |
module module_num |
(Optional) Specifies a module. Module number. The range is from 3 to 66. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display VEM-related interface information:
n1000v# show interface vem-ethernet info
show interface vem-ethernet info
-------------------------------------------------------------------------------
Port If-index Ltl Module Hostname
-------------------------------------------------------------------------------
Eth3/2 0x25008040 18 3 NODE-135
Eth3/3 0x25008080 19 3 NODE-135
Eth4/7 0x2500c180 23 4 NODE-137
Eth5/1 0x25010000 17 5 NODE-UCS-154
Eth5/2 0x25010040 18 5 NODE-UCS-154
Eth6/1 0x25014000 17 6 NODE-UCS-157
Eth6/2 0x25014040 18 6 NODE-UCS-157
Eth7/1 0x25018000 17 7 NODE-UCS-158
Eth7/2 0x25018040 18 7 NODE-UCS-158
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface vethernet
To display information about the virtual Ethernet interface, use the show interface vethernet command.
show interface vethernet vethernet_num [brief | counters [brief | detailed [all [snmp] | snmp] | errors [snmp] | snmp] | description | mac-address | status [err-disabled] | switchport | trunk]
Syntax Description
vethernet_num |
Virtual Ethernet interface number. The range is from 1 to 1048575. |
brief |
(Optional) Displays brief interface information. |
counters |
(Optional) Displays the interface counters. |
detailed |
(Optional) Displays only non-zero counters. |
all |
(Optional) Displays all interface counters. |
snmp |
(Optional) Displays the Simple Network Management Protocol (SNMP) Management Information Base (MIB) values. |
errors |
(Optional) Displays the interface error counters. |
description |
(Optional) Displays the interface description. |
mac-address |
(Optional) Displays the interface MAC address. |
status |
(Optional) Displays the interface line status. |
err-disabled |
(Optional) Displays the interface error disabled state. |
switchport |
(Optional) Displays interface switchport information. |
trunk |
(Optional) Displays interface trunk information. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display a virtual Ethernet interface configuration:
n1000v# show interface vethernet 1
Vethernet1 is down (nonParticipating)
Hardware: Virtual, address: 0000.0000.0000 (bia 0000.0000.0000)
5 minute input rate 0 bits/second, 0 packets/second
5 minute output rate 0 bits/second, 0 packets/second
0 Input Packets 0 Unicast Packets
0 Multicast Packets 0 Broadcast Packets
0 Output Packets 0 Unicast Packets
0 Multicast Packets 0 Broadcast Packets 0 Flood Packets
0 Input Packet Drops 0 Output Packet Drops
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual
To display information about a virtual interface, use the show interface virtual command.
show interface virtual
Syntax Description
This command has no arguments or keywords
Defaults
None
Command Modes
Any
network-admin
Usage Guidelines
Options for this command are presented in the sections that follow.
Examples
This example shows how to display information about all of the virtual interfaces:
n1000v# show interface virtual
-------------------------------------------------------------------------------
Port If-index Ltl Module Hostname
-------------------------------------------------------------------------------
Eth3/2 0x25008040 18 3 NODE-135
Eth3/3 0x25008080 19 3 NODE-135
Eth4/7 0x2500c180 23 4 NODE-137
Eth5/1 0x25010000 17 5 NODE-UCS-154
Eth5/2 0x25010040 18 5 NODE-UCS-154
Eth6/1 0x25014000 17 6 NODE-UCS-157
Eth6/2 0x25014040 18 6 NODE-UCS-157
Eth7/1 0x25018000 17 7 NODE-UCS-158
Eth7/2 0x25018040 18 7 NODE-UCS-158
JARVIS# show interface virtual
-------------------------------------------------------------------------------
Port Adapter Owner Mod Host
-------------------------------------------------------------------------------
Veth19 Net Adapter VM1 7 NODE-UCS-158
Veth20 Net Adapter VM1 7 NODE-UCS-158
Veth21 Net Adapter VM1 7 NODE-UCS-158
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual attach
To display virtual interface attach information, use the show interface virtual attach command.
show interface virtual attach {binding [detail | module module_num [detail] | vm vm_name [detail]] | connectee {device | id | name} [module module_num] | status [module module_num | vm vm_name] | sync}
Syntax Description
binding |
Displays attach port bindings. |
detail |
(Optional) Displays additional details. |
module module_num |
(Optional) Specifies the interfaces on a module. Module number. The range is from 3 to 66. |
vm vm_name |
(Optional) Specifies a virtual machine (VM) interfaces. VM name. The name is a maximum of 80 characters. |
connectee |
Displays interface attach connectee information. |
device |
Displays attached device names. |
id |
Displays attached connectee identifiers. |
name |
Displays attached connectee names. |
status |
(Optional) Displays the interface attach status. |
sync |
Displays interface attach sync information. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display the virtual interface attach status information:
n1000v# show interface virtual attach status
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual description
To display virtual interface descriptions, use the show interface virtual description command.
show interface virtual description
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display a virtual interface descriptions:
n1000v# show interface virtual description
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual module
To display information about virtual interfaces on a module, use the show interface virtual module command.
show interface virtual module module_num [vm [vm_name] | vmk | vswif]
Syntax Description
module_num |
Module number. The range is from 3 to 66. |
vm vm_name |
(Optional) Specifies a virtual machine (VM) interface. VM name. The name is a maximum of 80 characters. |
vmk |
(Optional) Displays the interfaces owned by the VM kernel. |
vswif |
(Optional) Displays the interfaces owned by the virtual service (vService) console. |
Defaults
None
Command Modes
Any
network-admin
Examples
This example shows how to display virtual interface information for a specific module:
n1000v# show interface virtual module 5
-------------------------------------------------------------------------------
Port Adapter Owner Mod Host
-------------------------------------------------------------------------------
Veth2 Net Adapter BLUEVM-01 5 NODE-139
Veth4 Net Adapter GREENVM-01 5 NODE-139
Veth5 Net Adapter BLUEVM-01 5 NODE-139
Veth6 Net Adapter GREENVM-01 5 NODE-139
Veth8 Net Adapter GREENVM-01 5 NODE-139
Veth9 Net Adapter BLUEVM-01 5 NODE-139
Veth10 Net Adapter GREENVM-01 5 NODE-139
Veth12 Net Adapter GREENVM-01 5 NODE-139
Veth13 Net Adapter BLUEVM-01 5 NODE-139
Veth14 Net Adapter GREENVM-01 5 NODE-139
Veth16 Net Adapter GREENVM-01 5 NODE-139
Veth17 Net Adapter BLUEVM-01 5 NODE-139
Veth19 Net Adapter GREENVM-01 5 NODE-139
Veth20 Net Adapter GREENVM-02 5 NODE-139
Veth21 Net Adapter BLUEVM-01 5 NODE-139
Veth23 Net Adapter GREENVM-02 5 NODE-139
Veth24 Net Adapter BLUEVM-01 5 NODE-139
Veth25 Net Adapter GREENVM-02 5 NODE-139
Veth27 Net Adapter GREENVM-02 5 NODE-139
Veth28 Net Adapter BLUEVM-01 5 NODE-139
Veth29 Net Adapter GREENVM-02 5 NODE-139
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual pinning
To display virtual interface pinning information, use the show interface virtual pinning command.
show interface virtual pinning [module module_num]
Syntax Description
module module_num |
(Optional) Specifies an interface on a module. Module number. The range is from 3 to 66. |
Defaults
Displays all virtual interface pinning information.
Command Modes
Any
network-admin
Examples
This example shows how to display virtual interface pinning information:
n1000v# show interface virtual pinning
------------------------------------------------------
Veth Pinned Associated PO List of
Sub Group id interface Eth interface(s)
------------------------------------------------------
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual port-mapping
To display the virtual port mapping for all virtual interfaces, use the show interface virtual port-mapping command.
show interface virtual port-mapping [module module_num [vm [vm_name] | vmk | vswif] | vm vm_name]
Syntax Description
module module_num |
(Optional) Specifies an interface on a module. Module number. The range is from 3 to 66. |
vm vm_name |
(Optional) Specifies a virtual machine (VM) interface. VM name. The name is a maximum of 80 characters. |
vmk |
(Optional) Displays the interfaces owned by the VM kernel. |
vswif |
(Optional) Displays the interfaces owned by the virtual service (vService) console (VSC). |
Defaults
Displays the virtual port mapping for all virtual interfaces.
Command Modes
Any
network-admin
Examples
This example shows how to display the virtual port mapping for all virtual interfaces:
n1000v# show interface virtual port-mapping
-------------------------------------------------------------------------------
Port Binding-Type Status Reason
-------------------------------------------------------------------------------
05d2442e-4331-492c-a14e-430719805a2c--343f289a-3244-4830-8ca2-24efe1bdee4a
98bcf40e-2a47-4b39-a968-f2f21d1aaf7d--4210be98-0739-4fd2-ac60-b7b697763efa
05d2442e-4331-492c-a14e-430719805a2c--dc1f4f47-238a-4bbc-86e2-3a1a130325ba
0a4f801d-920a-48c6-b691-8d79a10c774b--6b49eea0-06f8-4fad-a11b-4001da33be70
98bcf40e-2a47-4b39-a968-f2f21d1aaf7d--96b40d64-2ae7-439e-bbf3-d7a6aea4622b
0a4f801d-920a-48c6-b691-8d79a10c774b--16f6e52b-b56b-4cbb-9831-45519303cdd9
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual vem-info
To display virtual Ethernet module (VEM) information that relates to virtual interfaces, use the show interface virtual vem-info command.
show interface virtual vem-info [module module_num [vm vm_name] | vm vm_name]
Syntax Description
module module_num |
(Optional) Specifies an interface on a module. Module number. The range is from 3 to 66. |
vm vm_name |
(Optional) Specifies a virtual machine (VM) interfaces. VM name. The name is a maximum of 80 characters. |
Defaults
Displays all VEM information that relates to virtual interfaces.
Command Modes
Any
network-admin
Examples
This example shows how to display VEM information that relate to virtual interfaces:
n1000v# show interface virtual vem-info
-------------------------------------------------------------------------------
Port If-index Ltl Module Hostname
-------------------------------------------------------------------------------
Veth1 0x1c000000 57 6 NODE-141
Veth2 0x1c000010 121 5 NODE-139
Veth3 0x1c000020 58 6 NODE-141
Veth4 0x1c000030 81 5 NODE-139
Veth5 0x1c000040 122 5 NODE-139
Veth6 0x1c000050 82 5 NODE-139
Veth7 0x1c000060 59 6 NODE-141
Veth8 0x1c000070 83 5 NODE-139
Veth9 0x1c000080 123 5 NODE-139
Veth10 0x1c000090 84 5 NODE-139
Veth11 0x1c0000a0 60 6 NODE-141
Veth12 0x1c0000b0 85 5 NODE-139
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show interface virtual vm
To display information about virtual interfaces owned by a virtual machine (VM), use the show interface virtual vm command.
show interface virtual vm [vm_name]
Syntax Description
vm_name |
(Optional) VM name. The name is a maximum of 80 characters. |
Defaults
Displays all virtual interfaces owned by all VMs.
Command Modes
Any
network-admin
Examples
This example shows how to display information about all virtual interfaces owned by all VMs:
n1000v# show interface virtual vm
-------------------------------------------------------------------------------
Port Adapter Owner Mod Host
-------------------------------------------------------------------------------
Veth1 Net Adapter REDVM-01 6 NODE-141
Veth2 Net Adapter BLUEVM-01 5 NODE-139
Veth3 Net Adapter REDVM-01 6 NODE-141
Veth4 Net Adapter GREENVM-01 5 NODE-139
Veth5 Net Adapter BLUEVM-01 5 NODE-139
Veth6 Net Adapter GREENVM-01 5 NODE-139
Veth7 Net Adapter REDVM-01 6 NODE-141
Veth8 Net Adapter GREENVM-01 5 NODE-139
Veth9 Net Adapter BLUEVM-01 5 NODE-139
Veth10 Net Adapter GREENVM-01 5 NODE-139
Veth11 Net Adapter REDVM-01 6 NODE-141
Veth12 Net Adapter GREENVM-01 5 NODE-139
Veth13 Net Adapter BLUEVM-01 5 NODE-139
Veth14 Net Adapter GREENVM-01 5 NODE-139
Veth15 Net Adapter REDVM-01 6 NODE-141
Veth16 Net Adapter GREENVM-01 5 NODE-139
Veth17 Net Adapter BLUEVM-01 5 NODE-139
Veth18 Net Adapter REDVM-01 6 NODE-141
Veth19 Net Adapter GREENVM-01 5 NODE-139
Related Commands
|
|
destination interface |
Configures the port(s) in a SPAN session to act as destination(s) for copied source packets. |
duplex |
Sets the duplex mode for an interface as full, half, or autonegotiate. |
errdisable detect cause |
Detects the reason that an interface is error-disabled. |
errdisable recovery cause |
Enables the automatic recovery from the error-disabled (errdisable) state for an application. |
errdisable recovery interval |
Enables the recovery timer. |
filter vlan |
Configures a filter from the source VLANs for a specified SPAN session. |
interface port-channel |
Creates a port channel interface and enters interface configuration mode. |
interface vethernet |
Creates a virtual Ethernet interface and enter interface configuration mode. |
shutdown |
Disables an interface. |
speed |
Sets the speed for an interface. |
subgroup |
Configures an interface port channel subgroup assignment. |
subgroup-id |
Configures subgroup IDs for Ethernet member ports of a vPC-HM. |
svs veth auto-config-purge |
Enables the VSM to remove all manual configurations on a virtual Ethernet interface when the system administrator changes a port profile on the interface.strat or changes a port profile on the interface. |
svs veth auto-delete |
Enables the VSM to automatically delete DVPorts that are no longer used by a vNIC or hypervisor port. |
svs veth auto-setup |
Enables the VSM to automatically create a virtual Ethernet interface when a new port is activated on a host. |
switchport access vlan |
Sets the access mode of an interface. |
switchport mode |
Sets the port mode of an interface. |
switchport port-security |
Sets the port security characteristics of an interface. |
switchport private-vlan mapping |
Defines a private VLAN association for a promiscuous port. |
switchport trunk allowed vlan |
Sets the list of allowed VLANs on the trunking interface. |
switchport trunk native vlan |
Configures the trunking parameters on an interface. |
show inventory
To display information about the network inventory, use the show inventory command.
show inventory [chassis | module [module_num]]
Syntax Description
chassis |
(Optional) Displays inventory chassis information. |
module |
(Optional) Displays inventory module information. |
module_num |
(Optional) Module number. The range is from 1 to 66. |
Defaults
Displays all network inventory information.
Command Modes
Any
network-admin
Examples
This example shows how to display information about the network inventory:
NAME: "Chassis", DESCR: "Nexus 1000V Chassis"
PID: Nexus1000V , VID: V00 , SN: 3911703911355839484
NAME: "Slot 1", DESCR: "Virtual Supervisor Module"
PID: Nexus1000V , VID: TBD SN: T1DD8B71C00
...
This example shows how to display information about the system chassis:
n1000v# show inventory chassis
NAME: "Chassis", DESCR: "Nexus 1000V Chassis"
PID: Nexus1000V , VID: V00 , SN: 9593408361359731774
This example shows how to display information about the system inventory for a specific module:
n1000v# show inventory module 1
NAME: "Slot 1", DESCR: "Virtual Supervisor Module"
PID: Nexus1000V , VID: TBD SN: T1DD8B71C00
Related Commands
|
|
show inventory brief |
Displays an abridged view of the network inventory. |
show ip access-lists
To display the IP access control lists (ACLs), use the show ip access-lists command.
show ip access-lists [list_name [capture {session session_id [dynamic | expanded | summary]}] | capture {session session_id [dynamic | expanded | summary]} | dynamic | expanded | summary]
Syntax Description
list_name |
(Optional) Access list name. The name is a maximum of 64 characters. |
capture |
(Optional) Capture a session by its ID. |
session session_id |
Specifies a session. Session ID. The range is from 1 to 48. |
dynamic |
(Optional) Displays dynamic ACLs. |
expanded |
(Optional) Displays information about expand ACL groups. |
summary |
(Optional) Displays summary information about ACLs. |
Defaults
Displays all IP ACLs.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display all IP ACLs:
n1000v# show ip access-lists
10 deny tcp any 209.165.200.234/0 eq ftp
20 deny tcp any 209.165.200.234/0 eq 666
30 deny udp any 209.165.200.234/0 eq tftp
40 deny tcp any 209.165.200.234/0 eq telnet
50 deny udp any 209.165.200.234/0 eq 1000
60 deny udp any 209.165.200.234/0 eq 1016
70 deny udp any 209.165.200.234/0 eq 1032
80 deny udp any 209.165.200.234/0 eq 1048
90 deny udp any 209.165.200.234/0 eq 1064
100 deny udp any 209.165.200.234/0 eq 1080
110 deny udp any 209.165.200.234/0 eq 1096
10 permit ip 122.243.200.20/32 66.139.138.221/32 dscp af12
20 deny icmp 4.68.213.83/32 59.90.89.77/32 dscp cs1
30 permit icmp 72.165.25.69/32 85.135.171.135/32 echo dscp cs1
40 deny igmp 56.51.111.28/32 127.177.14.122/32 7 dscp 11
50 permit tcp 91.125.160.40/32 lt 40765 14.208.192.244/32 gt 2594 dscp 1
60 permit udp 15.104.89.102/32 eq 20343 54.182.95.236/32 lt 43125 dscp 6
70 permit ip 46.167.60.215/32 78.70.151.1/32 dscp 7
80 permit icmp 90.119.71.215/32 93.255.186.116/32 dscp 9
90 permit icmp 38.164.211.185/32 56.74.11.71/32 timestamp-request dscp af11
This example shows how to display an IP ACL by name:
n1000v# show ip access-lists abhi-acl
10 permit ip 122.243.200.20/32 66.139.138.221/32 dscp af12
20 deny icmp 4.68.213.83/32 59.90.89.77/32 dscp cs1
30 permit icmp 72.165.25.69/32 85.135.171.135/32 echo dscp cs1
40 deny igmp 56.51.111.28/32 127.177.14.122/32 7 dscp 11
50 permit tcp 91.125.160.40/32 lt 40765 14.208.192.244/32 gt 2594 dscp 1
60 permit udp 15.104.89.102/32 eq 20343 54.182.95.236/32 lt 43125 dscp 6
70 permit ip 46.167.60.215/32 78.70.151.1/32 dscp 7
80 permit icmp 90.119.71.215/32 93.255.186.116/32 dscp 9
90 permit icmp 38.164.211.185/32 56.74.11.71/32 timestamp-request dscp af11
100 deny igmp 58.63.101.184/32 0.179.173.154/32 0 dscp 3
110 permit tcp 92.217.203.237/32 gt 21295 65.214.100.184/32 eq 13033 dscp 4
120 permit udp 12.229.14.211/32 lt 57734 88.115.243.129/32 gt 50221 dscp 5
130 deny ip 111.63.192.108/32 104.76.118.97/32 dscp af13
140 permit 13 125.190.31.44/32 111.228.220.8/32 dscp default
This example shows how to display a summary of IP ACLs:
n1000v# show ip access-lists summary
Configured on interfaces:
Total ACEs Configured:110
Configured on interfaces:
Total ACEs Configured:109
Configured on interfaces:
Related Commands
|
|
clear access-list counter |
Clear the counters for IP and MAC ACLs. |
deny |
Creates an IPv4 ACL rule that denies traffic matching its conditions. |
ip access-list |
Creates an ACL. |
ip port access-group |
Creates an access group. |
permit |
Creates an IPv4 ACL rule that permits traffic matching its conditions. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the ARP table and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip igmp snooping |
Displays the IP IGMP snooping information. |
show ip interface |
Displays IP related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays an IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays an IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip arp
To display Address Resolution Protocol (ARP) tables and statistics, use the show ip arp command.
show ip arp [ip_source [vrf {vrf_name | all | default | management}] | inspection [interfaces | statistics | vlan] | vpc-statistics]
Syntax Description
ip_source |
(Optional) IPv4 source address in the format A.B.C.D. |
vrf |
(Optional) Displays virtual routing and forwarding (VRF) information. |
vrf_name |
VRF name. The name is a maximum of 32 case-sensitive, alphanumeric characters. |
all |
Displays adjacency entries for all VRFs. |
default |
Displays a known VRF name. |
management |
Displays the management interface. |
interfaces |
(Optional) Displays the trsut status of all interfaces. |
statistics |
(Optional) Displays the status of ARP inspection. |
vlan |
(Optional) Displays the selected VLAN range. |
inspection |
(Optional) Dislpays of ARP inspection. |
vpc-statistics |
(Optional) Dislpays virtual port channel (vPC) global statistics. |
Defaults
Displays all ARP tables and statistics.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display the ARP tables and statistics:
Flags: * - Adjacencies learnt on non-active FHRP router
+ - Adjacencies synced via CFSoE
# - Adjacencies Throttled for Glean
D - Static Adjacencies attached to down interface
IP ARP Table for context default
Total number of entries: 0
Address Age MAC Address Interface
Related Commands
|
|
default ip arp inspection trust |
Removes a trusted virtual Ethernet interface configuration for dynamic ARP inspection. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays various ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip igmp snooping |
Displays the IP IGMP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays an IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays an IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip dhcp snooping
To display IP Dynamic Host Configuration Protocol (DHCP) snooping status information, use the show ip dhcp snooping command.
show ip dhcp snooping
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display DHCP snooping status information:
n1000v# show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on the following VLANs:
DHCP snooping is operational on the following VLANs:
10,20,30,40,50,261-264,2012
Insertion of Option 82 is disabled
Verification of MAC address is enabled
DHCP snooping trust is configured on the following interfaces:
Related Commands
|
|
clear ip dhcp snooping binding |
Clears dynamically added entries from the DHCP snooping binding database. |
clear ip dhcp snooping binding |
Clears dynamically added entries from the DHCP snooping binding database. |
ip dhcp snooping |
Globally enables DHCP snooping on the device. |
ip dhcp snooping vlan |
Enables DHCP snooping on one or more VLANs. |
ip verify source dhcp-snooping-vlan |
Enables IP Source Guard on the Layer 2 virtual Ethernet interface. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip igmp snooping |
Displays the IP IGMP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping
To display the Internet Group Management Protocol (IGMP) snooping status and configuration information, use the show ip igmp snooping command.
show ip igmp snooping
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP snooping statistics:
n1000v# show ip igmp snooping
Global IGMP Snooping Information:
Optimised Multicast Flood (OMF) enabled
IGMPv1/v2 Report Suppression disabled
IGMPv3 Report Suppression disabled
Link Local Groups Suppression enabled
VPC Multicast optimization disabled
IGMP Snooping information for vlan 1
Optimised Multicast Flood (OMF) enabled
IGMPv3 Explicit tracking enabled
IGMPv2 Fast leave disabled
IGMPv1/v2 Report suppression disabled
IGMPv3 Report suppression disabled
Link Local Groups suppression enabled
Router port detection using PIM Hellos, IGMP Queries
Number of router-ports: 0
VLAN vPC function disabled
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping event-history
To display various event logs of Internet Group Management Protocol (IGMP) snooping, use the show ip igmp snooping event-history command.
show ip igmp snooping event-history {rib | vpc | igmp-snoop-internal | mfdm | mfdm-sum | statistics | vlan | vlan-sum}
Syntax Description
rib |
Displays the Routing Information Base (RIB) event history. |
vpc |
Displays the virtual port channel operations event history. |
igmp-snoop-internal |
Displays the internal IGMP event history buffers. |
mfdm |
Displays the event-history buffer of the type Multicast Forwarding Information Base (MFIB) distribution sum. |
mfdm-sum |
Displays the MFIB distribution |
statistics |
Displays the state and size of the event history buffers. |
vlan |
Displays the VLAN event history buffer. |
vlan-events |
Displays the history buffer of the VLAN events. |
Defaults
None
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP the RIB event history:
n1000v# show ip igmp snooping event-history rib
RIB Events for IGMP Snoop process
2013 Feb 8 11:23:11.898387 igmp [2626]: [2736]: M2RIB: Processing ack: reclaiming buffer
0x0x8282d6c, xid 0x5, count 1
2013 Feb 8 11:23:11.898384 igmp [2626]: [2736]: M2RIB: Received ack for proto-recv-op, xid
0x5
2013 Feb 8 11:23:11.896409 igmp [2626]: [2736]: M2RIB: Processing ack: reclaiming buffer
0x0x8270134, xid 0x4, count 1
2013 Feb 8 11:23:11.896406 igmp [2626]: [2736]: M2RIB: Received ack for proto-recv-op, xid
0x4
2013 Feb 8 11:23:11.891937 igmp [2626]: [2648]: M2RIB: Sent OMF-op, buffer 0x0x8282d6c,
xid 0x5, count 1
2013 Feb 8 11:23:11.891910 igmp [2626]: [2648]: M2RIB: Sent proto-recv-op, buffer
0x0x8270134, xid 0x4, count 1,size:0x8282d4c-0x827014c
2013 Feb 8 11:23:11.891870 igmp [2626]: [2648]: M2RIB: Moving RIB txlist member marker to
version 2
2013 Feb 8 11:23:11.891857 igmp [2626]: [2648]: M2RIB: Syncing router-ports, snoop-state,
OMF-state for vlan 173
2013 Feb 8 11:23:11.891850 igmp [2626]: [2648]: M2RIB: Adding vlan OMF-op enable for vlan
173 to buffer
2013 Feb 8 11:23:11.891847 igmp [2626]: [2648]: M2RIB: Adding vlan proto-recv enable for
vlan 173 to buffer, lkup-mode:ip
2013 Feb 8 11:23:11.891833 igmp [2626]: [2648]: M2RIB: Vlan 173 OMF state changed,
triggering update
2013 Feb 8 11:23:11.891830 igmp [2626]: [2648]: M2RIB: Vlan 173 state changed, triggering
update
2013 Feb 8 11:23:11.891827 igmp [2626]: [2648]: M2RIB: Processing vlan-update for vlan 173
from txlist
2013 Feb 8 11:23:11.891821 igmp [2626]: [2648]: M2RIB: Obtained OMF-buffer 0x0x8282d6c
This example shows how to display the internal IGMP event-history buffers:
n1000v# show ip igmp snooping event-history igmp-snoop-internal
igmp-snoop-internal Events for IGMP Snoop process
2013 Feb 8 11:23:11.891232 igmp [2626]: [2736]: Created igmp snooping vdb for <vlan 173>
on vlan-create notification (state ACTIVE)
2013 Feb 8 11:23:11.889610 igmp [2626]: [2736]: Sent IGMP snooping status notification
message
2013 Feb 8 11:23:11.889597 igmp [2626]: [2736]: IGMP snooping is globally enabled
2013 Feb 8 11:23:11.889589 igmp [2626]: [2736]: Sending IGMP snooping status to registry
2013 Feb 8 11:23:11.889472 igmp [2626]: [2736]: Received vlan create notification for
<vlan 173>, (type 1)
2013 Feb 8 11:23:11.889464 igmp [2626]: [2736]: Parsed vlan mgr message, num_records 1
2013 Feb 8 11:13:47.556270 igmp [2626]: [2736]: Sending request to CLI-server for
if:sup-eth3 config
2013 Feb 8 11:13:47.555602 igmp [2626]: [2736]: Sending request to CLI-server for
if:sup-eth2 config
2013 Feb 8 11:13:47.554804 igmp [2626]: [2736]: Sending request to CLI-server for
if:sup-eth1 config
2013 Feb 8 11:13:47.553993 igmp [2626]: [2736]: Sending request to CLI-server for
if:control0 config
2013 Feb 8 11:13:47.552798 igmp [2626]: [2736]: Sending request to CLI-server for if:mgmt0
config
2013 Feb 8 11:13:47.552274 igmp [2626]: [2736]: Ignoring vlan create notification for
reserved vlan <vlan 4040>, (type 6)
2013 Feb 8 11:13:47.552270 igmp [2626]: [2736]: Parsed vlan mgr message, num_records 1
2013 Feb 8 11:13:47.547170 igmp [2626]: [2736]: Created igmp snooping vdb for <vlan 1> on
vlan-create notification (state ACTIVE)
2013 Feb 8 11:13:47.546057 igmp [2626]: [2736]: Sent IGMP snooping status notification
message
2013 Feb 8 11:13:47.546040 igmp [2626]: [2736]: IGMP snooping is globally enabled
2013 Feb 8 11:13:47.546002 igmp [2626]: [2736]: Sending IGMP snooping status to registry
2013 Feb 8 11:13:47.545667 igmp [2626]: [2736]: Received vlan create notification for
<vlan 1>, (type 1)
2013 Feb 8 11:13:47.545657 igmp [2626]: [2736]: Obtained 81 reserved vlans from vlan-mgr
2013 Feb 8 11:13:47.545645 igmp [2626]: [2736]: Reserved vlan 4094
2013 Feb 8 11:13:47.545644 igmp [2626]: [2736]: Reserved vlan 4047
This example shows how to display the state and size of the event-history buffers:
n1000v# show ip igmp snooping event-history statistics
vlan-events Enabled large
igmp-snoop-internal Enabled large
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping explicit-tracking
To display the explicit-tracking database for the Internet Group Management Protocol (IGMP), use the show ip igmp snooping explicit-tracking command.
show ip igmp snooping explicit-tracking [vlan vlan_id]
Syntax Description
vlan vlan_id |
(Optional) Specifies the VLAN explicit tracking database. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays the entire IGMP explicit-tracking database.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP snooping information for the explicit tracking database:
n1000v# show ip igmp snooping explicit-tracking
IGMPv3 Snooping Explicit-tracking information
Vlan Source/Group
Intf Reporter Uptime Last-Join Expires
This example shows how to display IGMP snooping information for VLAN 59 when the explicit tracking database is enabled:
n1000v# (config-vlan-config)# vlan configuration 59
n1000v# (config-vlan-config)# ip igmp snooping explicit-tracking
n1000v# (config-vlan-config)# show ip igmp snooping vlan 59
IGMP Snooping information for vlan 59
Optimised Multicast Flood (OMF) disabled
IGMPv3 Explicit tracking enabled (initializing, time-left: 00:04:17)
IGMPv2 Fast leave disabled
IGMPv1/v2 Report suppression disabled
IGMPv3 Report suppression disabled
Link Local Groups suppression enabled
Router port detection using PIM Hellos, IGMP Queries
Number of router-ports: 0
VLAN vPC function disabled
This example shows how to display IGMP snooping information for VLAN 59 when the explicit tracking database is disabled:
n1000v# vlan configuration 59
n1000v#(config-vlan-config)# no ip igmp snooping explicit-tracking
n1000v#(config-vlan-config)# show ip igmp snooping vlan 59
IGMP Snooping information for vlan 59
Optimised Multicast Flood (OMF) disabled
IGMPv3 Explicit tracking disabled
IGMPv2 Fast leave disabled
IGMPv1/v2 Report suppression disabled
IGMPv3 Report suppression disabled
Link Local Groups suppression enabled
Router port detection using PIM Hellos, IGMP Queries
Number of router-ports: 0
VLAN vPC function disabled
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping groups
To display the Internet Group Management Protocol (IGMP) snooping information for a group address, use the show ip igmp snooping groups command.
show ip igmp snooping groups [multicast_ip] [source_ip] [detail] [summary] [vlan vlan_id]
Syntax Description
multicast_ip |
(Optional) Multicast IP address of single group in the format A.B.C.D. |
source_ip |
(Optional) Source IP address in the format A.B.C.D. |
detail |
(Optional) Displays detailed information for the group. |
summary |
(Optional) Displays snooping group summary. |
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays IGMP snooping information for all group addresses.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP snooping information for a group address:
n1000v# show ip igmp snooping groups
Type: S - Static, D - Dynamic, R - Router port
Vlan Group Address Ver Type Port list
This example shows how to display IGMP snooping information for a multicast address with a source address:
n1000v# show ip igmp snooping groups 224.1.1.1 209.165.202.130
Type: S - Static, D - Dynamic, R - Router port
Vlan Group Address Ver Type Port list
This example shows how to display IGMP snooping information for a source address with a multicast address:
n1000v# show ip igmp snooping groups 209.165.202.130 224.0.1.0
Type: S - Static, D - Dynamic, R - Router port
Vlan Group Address Ver Type Port list
This example shows how to display the VLAN explicit tracking database:
n1000v# show ip igmp snooping groups vlan 2
Type: S - Static, D - Dynamic, R - Router port
Vlan Group Address Ver Type Port list
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping lookup-mode
To display information about the IP Internet Group Management Protocol (IGMP) lookup mode, use the show ip igmp snooping lookup-mode command.
show ip igmp snooping lookup-mode [vlan vlan_id]
Syntax Description
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays all of the information about the IP IGMP lookup mode.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display information about the IP IGMP lookup mode:
n1000v# show ip igmp snooping lookup-mode
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping mac-oif
To display information about the IP Internet Group Management Protocol (IGMP) snooping, static MAC outgoing interface (OIF), use the show ip igmp snooping mac-oif command.
show ip igmp snooping mac-oif [detail | vlan vlan_id [detail]]
Syntax Description
detail |
(Optional) Displays detailed information for the group. |
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays summary information about the IP IGMP snooping, static MAC OIF.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display information about the IP IGMP snooping, static MAC OIF:
n1000v# show ip igmp snooping mac-oif
This example shows how to display detailed information about the IP IGMP snooping, static MAC OIF for a specific VLAN:
n1000v# show ip igmp snooping mac-oif vlan 173 detail
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping mrouter
To display information about the detected IP Internet Group Management Protocol (IGMP) multicast routers, use the show ip igmp snooping mrouter command.
show ip igmp snooping mrouter [vlan vlan_id]
Syntax Description
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays all information about the detected IP IGMP multicast routers.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display information about the detected IGMP multicast routers:
n1000v# show ip igmp snooping mrouter
Type: S - Static, D - Dynamic, V - vPC Peer Link
I - Internal, C - Co-learned, U - User Configured
Vlan Router-port Type Uptime Expires
This example shows how to display the IGMP multicast routers detected for a specific VLAN:
n1000v# show ip igmp snooping mrouter vlan 173
Type: S - Static, D - Dynamic, V - vPC Peer Link
I - Internal, C - Co-learned, U - User Configured
Vlan Router-port Type Uptime Expires
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping querier
To display information about the IP Internet Group Management Protocol (IGMP) snooping querier, use the show ip igmp snooping querier command.
show ip igmp snooping querier [detail | vlan vlan_id]
Syntax Description
detail |
(Optional) Displays detailed information for the group. |
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays all information about the IP IGMP snooping querier.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP snooping querier information:
n1000v# show ip igmp snooping querier
Vlan IP Address Version Expires Port
This example shows how to display IGMP snooping querier information:
n1000v# show ip igmp snooping querier detail
Vlan IP Address Version Expires Port
Related Commands
|
|
clear ip igmp interface statistics |
Clears the IGMP statistics for an interface. |
clear ip igmp snooping statistics vlan |
Clears the IGMP snooping statistics for VLANs. |
ip igmp snooping |
Enables IGMP snooping. |
show ip access-lists |
Displays the IP ACLs. |
show ip arp |
Displays the IP ARP tables and statistics. |
show ip dhcp snooping |
Displays the IP DHCP snooping information. |
show ip interface |
Displays IP-related interface information. |
show ip internal |
Displays internal IP information. |
show ip logging |
Displays the IP policy logging table. |
show ip process |
Displays IP global information. |
show ip route |
Displays the IP routing table. |
show ip static-route |
Displays the IP configured static routes. |
show ip traffic |
Displays the IP traffic statistics. |
show ip verify |
Displays IPSG information. |
show ip igmp snooping statistics
To display Internet Group Management Protocol (IGMP) snooping packet/error counter statistics, use the show ip igmp snooping statistics command.
show ip igmp snooping statistics [global | vlan vlan_id]
Syntax Description
global |
(Optional) Displays global statistics. |
vlan vlan_id |
(Optional) Specifies a VLAN. VLAN identification number. The range is from 1 to 3967 and 4048 to 4093 or range(s): 1 to 5, 10 or 2-5,7-19. |
Defaults
Displays all of the IGMP snooping packet/error counter statistics.
Command Modes
Any
network-admin
network-operator
Examples
This example shows how to display IGMP packet/error counter statistics:
n1000v# show ip igmp snooping statistics
Global IGMP snooping statistics: (only non-zero values displayed)
Native mct reports drop: 0
IGMP pkt rcvd without if_create: 0
MVR groups_cleared from access: 0
VLAN 1 IGMP snooping statistics, last reset: never (only non-zero values displayed)
vPC Peer Link CFS packet statistics:
VLAN 173 IGMP snooping statistics, last reset: never (only non-zero values displayed)
vPC Peer Link CFS packet statistics:
This example shows how to display IGMP packet/error counter statistics for a specific VLAN:
n1000v# show ip igmp snooping statistics vlan 173
Global IGMP snooping statistics: (only non-zero values displayed)
Native mct reports drop: 0