HP Cisco MDS 9124 Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(
HP Cisco MDS 9124 - Fabric Switch Manual
View all HP Cisco MDS 9124 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Cisco MDS 9124 manual content summary:
- HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 1
Send comments to [email protected] Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) March 2009 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 2
OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 3
cisco.com 1 C H A P T E R OL-16599-01 CONTENTS Preface xvii Audience xvii Organization xvii Document Conventions xviii Obtaining Documentation and Submitting a Service 14 clock summer-time 1-15 clock timezone 1-17 configure session 1-18 configure terminal 1-19 copy 1-20 copy running-config startup - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 4
Contents Send comments to [email protected] exec-timeout 1-34 exit (EXEC) 1-36 exit (global) 1-37 feature fcoe 1-38 feature interface-vlan 1-70 setup 1-71 session-limit 1-72 show banner motd 1-73 show boot 1-74 show cli alias 1-75 Cisco Nexus 5000 Series Command Reference ii OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 5
1-101 show startup-config 1-103 show switchname 1-104 show system cores 1-105 show system reset-reason 1-106 show system uptime 1-107 show tech-support 1-108 show terminal 1-109 show version 1-110 sleep 1-111 speed 1-112 stopbits 1-113 OL-16599-01 Cisco Nexus 5000 Series Command Reference iii - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 6
Contents Send comments to [email protected] system cores 1-114 system startup-config unlock 1-115 switchname 1-116 tail 1-117 terminal -table aging-time 2-29 mac-address-table notification 2-31 mac-address-table static 2-32 Cisco Nexus 5000 Series Command Reference iv OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 7
cisco.com monitor session 2-34 name (VLAN configuration) 2-35 name (MST configuration) 2-36 port-channel load-balance ethernet 2-37 private-vlan 2-39 private-vlan association 2-41 private-vlan synchronize 2-43 revision 2-44 shutdown (VLAN configuration -01 Cisco Nexus 5000 Series Command Reference v - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 8
vlan promiscuous 2-95 switchport private-vlan host-association 2-96 switchport private-vlan mapping 2-98 udld (configuration mode) 2-100 udld (Ethernet) 2-102 vlan (EXEC mode) 2-103 vrf context 2-105 3-25 show spanning-tree interface 3-26 Cisco Nexus 5000 Series Command Reference vi OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 9
fex-intf 4-19 show interface transceiver fex-fabric 4-20 switchport mode fex-fabric 4-21 5 C H A P T E R OL-16599-01 Quality of Service Commands 5-1 class-map 5-2 fcoe mode 5-3 flowcontrol 5-4 match cos 5-5 policy-map 5-6 priority-flow-control 5-8 Cisco Nexus 5000 Series Command Reference vii - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 10
Contents Send comments to [email protected] service-policy 5-9 show class-map 5-11 show policy-map 5-12 show system qos 5-13 show interface -list 6-47 mac port access-group 6-49 match 6-51 permit (IPv4) 6-53 permit (IPv6) 6-63 Cisco Nexus 5000 Series Command Reference viii OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 11
Contents Send comments to [email protected] permit (MAC) 6-72 permit interface 6-75 permit vlan 6-77 permit vrf 6-79 radius-server deadtime 6-80 show ssh server 6-115 show startup-config aaa 6-116 show startup-config radius 6-117 OL-16599-01 Cisco Nexus 5000 Series Command Reference ix - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 12
Contents Send comments to [email protected] show startup-config security 6-118 show tacacs- clear logging onboard 7-3 clear logging session 7-4 clear ntp session 7-5 clear ntp statistics 7-6 logging console 7-7 logging event 7-8 Cisco Nexus 5000 Series Command Reference x OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 13
Contents Send comments to [email protected] logging event port 7-9 logging level 7-10 logging logfile 7-12 -16599-01 Fibre Channel Commands 8-1 cfs distribute 8-2 cfs ipv4 distribute 8-3 cfs ipv4 mcast-address 8-5 cfs ipv6 distribute 8-7 Cisco Nexus 5000 Series Command Reference xi - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 14
scsi-target 8-35 fabric profile 8-37 fabric-binding activate 8-38 fabric-binding database copy 8-39 fabric-binding database diff 8-40 fabric-binding database vsan 8-41 fabric-binding enable 8-43 fcalias clone 8-44 fcalias name 8-45 fcalias rename 8-46 Cisco Nexus 5000 Series Command Reference xii - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 15
Contents Send comments to [email protected] fcdomain 8-47 fcdomain abort vsan 8-49 fcdomain commit vsan 8-50 fcdomain distribute 8-51 fcdomain rcf 8-85 fspf hello-interval 8-86 fspf passive 8-87 fspf retransmit-interval 8-88 OL-16599-01 Cisco Nexus 5000 Series Command Reference xiii - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 16
cisco.com in-order-guarantee 8-89 interface fc 8-90 interface san-port-channel 8-92 interface vfc 8-94 logging abort 8-96 logging commit 8-97 logging distribute 8-98 member (fcalias configuration mode) 8-99 member (zone configuration 8-135 Cisco Nexus 5000 Series Command Reference xiv OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 17
9-5 show fabric-binding 9-7 show fc2 9-9 show fcalias 9-11 show fcdomain 9-12 show fcdroplatency 9-14 show fcflow stats 9-15 show fcid-allocation 9-16 show fcns database 9-17 show fcns statistics 9-19 show fcoe 9-20 show fcroute 9-21 show fcs 9-23 show fcsp 9-25 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 18
Contents Send comments to [email protected] INDEX show fctimer 9-27 show fdmi 9-28 show flogi 9-29 show fspf 9-31 show in-order- protocol 9-47 show vsan 9-48 show wwn 9-50 show zone 9-51 show zone analysis 9-53 show zoneset 9-56 Cisco Nexus 5000 Series Command Reference xvi OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 19
the Cisco NX-OS Ethernet commands. Describes the Cisco NX-OS Ethernet show commands. Describes the Cisco NX-OS Fabric Extender commands. Describes the Cisco NX-OS quality of service commands. Describes the Cisco NX-OS security commands. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 20
Cisco NX-OS system management commands. Describes the Cisco NX-OS Fibre Channel and virtual Fibre Channel commands. Describes the Cisco information that the switch displays are < > Nonprinting characters, such as passwords, are in angle brackets. [ not covered in the manual. Caution Means reader be - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 21
directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS Version 2.0. Related Documentation Documentation for Cisco Nexus 5000 Series Switches and Cisco Nexus 2000 Series Fabric Extender is available at the following URL: http://www - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 22
Preface Send comments to [email protected] Cisco Nexus 5000 Series Command Reference xx OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 23
to [email protected] 1 C H A P T E R Basic System Commands This chapter describes the basic Cisco NX-OS system commands available on Cisco Nexus 5000 Series switches. These commands allow you to navigate and control the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 24
banner motd Chapter 1 Basic System Commands Send comments to [email protected] banner motd To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco Nexus 5000 Series switch, use the banner motd command. To revert to the default, use the no form - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 25
switch(config)# boot system bootflash:n5000.bin This example shows how to configure the kickstart boot variable: switch(config)# boot kickstart bootflash:n5000-kickstart.bin This example shows how to clear the system boot variable: switch(config)# no boot system OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 26
to [email protected] This example shows how to clear the kickstart boot variable: switch(config)# no boot kickstart Related Commands Command copy show boot Description Copies files. Displays boot variable configuration information. Cisco Nexus 5000 Series Command Reference 1-4 OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 27
current file system: switch# cd my-scripts This example shows how to change the current working directory to another file system: switch# cd volatile: Related Commands Command pwd Description Displays the current working directory name. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-5 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 28
commands that you entered at the command-line interface (CLI). Examples This example shows how to clear the command history: switch# clear cli history Related Commands Command show cli history Description Displays the command history. Cisco Nexus 5000 Series Command Reference 1-6 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 29
information about the core files. Examples This example shows how to clear the core file: switch# clear cores Related Commands Command show system cores system cores Description Displays the core filename. Configures the core filename. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-7 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 30
the debug log file: switch# clear debug-logfile syslogd_debugs Related Commands Command debug logfile debug logging show debug logfile Description Configures a debug log file. Enables debug logging. Displays the contents of the debug log file. Cisco Nexus 5000 Series Command Reference 1-8 OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 31
Commands clear install failure-reason Send comments to [email protected] clear install failure-reason To clear the reason for shows how to clear the reason for software installation failures: switch# clear install failure-reason Related Commands Command show install all Description - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 32
Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to clear a specific license: switch# clear license fm.lic Related Commands Command show license Description Displays license information. 1-10 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 33
N1(1a) Modification This command was introduced. Examples This example shows how to log out a specific user: switch# clear user admin Related Commands Command show users Description Displays the users currently logged on the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-11 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 34
and then create it again with the new definition. Examples This example shows how to define a CLI variable: switch# cli var name testvar interface ethernet 1/3 This example shows how to reference a CLI variable: switch# show $(testvar) 1-12 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 35
:run-config-$(TIMESTAMP).cnfg This example shows how to remove a CLI variable: switch# cli no var name testvar Related Commands Command run-script show cli variables Description Runs command scripts. Displays the CLI variables. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 36
with an outside clock source, such as an NTP server. Examples This example shows how to manually configure the clock: switch# clock set 12:00:00 04 July 2008 Related Commands Command show clock Description Displays the clock time. 1-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 37
This command was introduced. Usage Guidelines None. Examples This example shows how to configure the offset for summer-time or daylight saving time: switch(config)# clock summer-time PDT 1 Sunday March 02:00 5 Sunday November 02:00 60 OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-15 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 38
to [email protected] This example shows how to revert to the default offset for summer-time: switch(config)# no clock summer-time Related Commands Command show clock Description Displays clock summer-time offset configuration. 1-16 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 39
to configure the time zone offset from UTC: switch(config)# clock timezone PST -8 0 This example shows how to revert the time zone offset to the default: switch# no clock timezone Related Commands Command show clock Description Displays the clock time. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 40
This example shows how to create a configuration session: switch# configure session MySession switch(config-s)# Related Commands Command show configuration session Description Displays information about the configuration sessions. 1-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 41
the running configuration as the startup configuration file. Ends your configuration session by exiting to EXEC mode. Exits from the current configuration mode to the next highest configuration mode. Displays the current running configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 42
docfeedback@cisco. directory or a filename that follows the Cisco NX-OS file system syntax (filesystem:[/directory this file system will be erased when the switch reboots. The server argument value is module destination URL for a network server that supports Secure Shell (SSH) and accepts copies of - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 43
. Usage Guidelines The copy command allows you to copy a file (such as a system image or configuration file) from one location to another location. The source and destination for the file is specified using a Cisco NX-OS file system URL, which allows you to specify a local or remote file location - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 44
use the copied configuration file copy as a backup. Examples This example shows how to copy a file within the same directory: switch# copy file1 file2 This example shows how to copy a file to another directory: switch# copy file1 my-scripts/file2 1-22 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 45
@cisco.com This example shows how to copy a file to another file system: switch# copy file1 bootflash: This example shows how to copy a file to another supervisor module: switch# Displays the name of the current working directory. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-23 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 46
to the startup configuration: switch# copy running-config startup-config Related Commands Command show running-config show startup-config Description Displays the currently running configuration. Displays the startup configuration file. 1-24 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 47
of data bits for the console port: switch# configure terminal switch(config)# line console switch(config-console)# no databits 7 Related Commands Command show line Description Displays information about the console port configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 48
This example shows how to revert to the default debug log file: switch# no debug logfile debug_log Related Commands Command dir show debug logfile Description Displays the contents of a directory. Displays the debug logfile contents. 1-26 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 49
debug command: switch# debug logging This example shows how to disable the output logging for the debug command: switch# no debug logging Related Commands Command debug logfile Description Configures the log file for the debug command output. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 50
delete directories. Examples This example shows how to delete a file: switch# delete bootflash:old_config.cfg This example shows how to delete a directory: switch# delete my_dir This is a directory. Do you want to continue (y/n)? [y] y 1-28 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 51
Chapter 1 Basic System Commands Send comments to [email protected] delete Related Commands Command dir save Description Displays the contents of a directory. Saves the configuration session to a file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-29 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 52
current working directory. Examples This example shows how to display the contents of the root directory in bootflash: switch# dir bootflash: This example shows how to display the contents of the current working directory: switch# dir 1-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 53
to [email protected] Related Commands Command cd delete pwd rmdir Description Changes the current working directory. Deletes a file or directory. Displays the name of the current working directory. Deletes a directory. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-31 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 54
echo This example shows how to display a line of text at the command prompt: switch# echo Script run at $(TIMESTAMP). Related Commands Command run-script show cli variables Description Runs command scripts. Displays the CLI variables. 1-32 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 55
host switch(config-if)# end switch# show interface ethernet 1/1 Related Commands Command exit (EXEC) exit (global) Description Terminates the active terminal session by logging off the router. Exits from the current configuration mode. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 56
configure terminal switch(config)# line vty switch(config-line)# exec-timeout 30 This example shows how to revert to the default inactive session timeout for the virtual terminal: switch# configure terminal switch(config)# line vty switch(config-line)# no exec-timeout 1-34 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 57
[email protected] Related Commands Command line console line vty show running-config Description Enters the console terminal configuration mode. Enters the virtual terminal configuration mode. Displays the running configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 58
the active session): switch(config)# exit switch# exit Related Commands Command end exit (global) Description Ends your configuration session by exiting to EXEC mode. Exits from the current configuration mode to the next highest configuration mode. 1-36 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 59
the configuration mode: switch(config-if)# exit switch(config)# Related Commands Command end exit (EXEC) Description Ends your configuration session by exiting to privileged EXEC mode. Terminates the active terminal session by logging off the router. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 60
save the configuration, and then reboot the switch to enable or disable the FCoE feature. Examples This example shows how to enable FCoE on the switch: switch(config)# feature fcoe Related Commands Command fcoe mode Description Creates a VLAN interface. 1-38 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 61
Command Default VLAN interfaces are disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification switch: switch(config)# feature interface-vlan Related Commands Command interface vlan Description Creates a VLAN interface. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 62
Usage Guidelines You must remove all the LACP configuration parameters from all EtherChannels on the switch before you can disable LACP. Even after you switch: switch(config)# feature lacp Related Commands Command show lacp Description Displays information on LACP. 1-40 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 63
Command Default Private VLANs are disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This switch that are in private VLAN mode. Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco NX-OS does not support - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 64
+ configuration. Examples This example shows how to enable TACACS+: switch(config)# feature tacacs+ This example shows how to disable TACACS+: switch(config)# no feature tacacs+ Related Commands Command show tacacs+ Description Displays TACACS+ information. 1-42 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 65
This command was introduced. Usage Guidelines This example shows how to enable UDLD on the switch: switch(config)# feature udld Related Commands Command show udld Description Displays the administrative and operational UDLD status. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-43 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 66
1 Basic System Commands Send comments to [email protected] To find filenames beginning with a character string, Examples This example shows how to display filenames beginning with "n5000": switch# find n5000 Related Commands Command cd pwd Description Changes the current working - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 67
Chapter 1 Basic System Commands Send comments to [email protected] format format To format the bootflash device, which introduced. Examples This example shows how to format the bootflash device: switch# format bootflash: Related Commands Command cd dir pwd Description Changes the - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 68
Ziv 1977 (LZ77) coding for compression. Examples This example shows how to uncompress a compressed file: switch# gunzip run_cnfg.cfg.gz Related Commands Command dir gzip Description Displays the directory contents. Compresses a file. 1-46 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 69
-Ziv 1977 (LZ77) coding for compression. Examples This example shows how to compress a file: switch# gzip run_cnfg.cfg Related Commands Command dir gunzip Description Displays the directory contents. Uncompresses a compressed file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-47 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 70
command performs the same function as the switchname command. Examples This example shows how to configure the hostname for a Cisco Nexus 5000 Series switch: switch# configure terminal switch(config)# hostname Engineering2 Engineering2(config)# This example shows how to revert to the default - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 71
to [email protected] install all To install the kickstart and system images on a Cisco Nexus 5000 Series switch, use the is as follows: ftp:[//server][/path]/filename Source URL for a network server that supports Secure Shell (SSH) and uses the secure copy protocol (scp). The syntax - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 72
system boot variables: switch# configure terminal switch(config)# boot kickstart bootflash:nx-os_kick.bin switch(config)# boot system bootflash:nx-os_sys.bin switch(config)# exit switch# copy running-config startup-config switch# install all 1-50 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 73
SCP server: switch# install all kickstart scp://[email protected]/nx-os_kick.bin system bootflash:scp://[email protected]/nx-os_sys.bin Related Commands Command reload show incompatibility system show version Description Reloads the device with new Cisco NX-OS software. Displays configuration - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 74
elements of this string are separated by colons (:) and slashes (/). Command Default All licenses for the Cisco Nexus 5000 Series switches are factory installed. Manual installation is not required. Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 75
a port. Configures the modem settings for a port. Configures the parity settings for a port. Displays information about the console port configuration. Configures the transmit and receive speed for a port. Configures the stop bits for a port. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 76
configuration mode: switch# configure terminal switch(config)# line vty switch( Configures the inactive terminal timeout for a port. Configures the maximum number of the concurrent virtual terminal sessions. Displays information about the console port configuration. 1-54 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 77
switch# configure terminal switch(config)# line console switch(config-console)# no modem in Related Commands Command line console show line Description Enters console port configuration mode. Displays information about the console port configuration. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 78
string. Examples This example shows how to download the default initialization string to the modem connected to the console port: switch# configure terminal switch(config)# line console switch(config-console)# modem init-string default 1-56 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 79
modem init-string Send comments to [email protected] This example shows how to download the user-input initialization string to the modem connected to the console port: switch# configure terminal switch(config)# line console switch(config-console)# modem init-string user-input This - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 80
connected to the console port: switch# configure terminal switch(config)# line console switch(config-console)# no modem set-string configuration mode. Downloads the user-input initialization string to a modem. Displays information about the console port configuration. 1-58 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 81
directory: switch# move file1 my_files/file2 This example shows how to move a file to another file system: switch# move file1 volatile: This example shows how to move a file to another supervisor module: switch# move file1 bootflash://sup-1/file1.bak OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 82
the current working directory. Makes a copy of a file. Deletes a file or directory. Displays the directory contents. Displays the name of the current working directory. 1-60 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 83
parity for the console port: switch# configure terminal switch(config)# line console switch(config-console)# no parity even Related Commands Command show line Description Displays information about the console port configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-61 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 84
Chapter 1 Basic System Commands ping Send comments to [email protected] ping To determine the network connectivity to another network device, use to determine connectivity to another network device: switch# ping 172.28.231.246 1-62 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 85
Send comments to [email protected] Related Commands Command ping6 traceroute Description Determines connectivity to another device using IPv6 addressing. Displays the routes that packets take when traveling to an IP address. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-63 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 86
mode Command History Release 4.0(1a)N1(1) Modification This command was introduced. Examples This example shows how to determine connectivity to another device using IPv6 addressing: switch# ping6 2001:0DB8::200C:417A vrf management 1-64 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 87
comments to [email protected] Related Commands Command ping traceroute6 Description Determines connectivity to another device using IPv4 addressing. Displays the routes that packets take when traveling to an IPv6 address. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-65 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 88
Modification This command was introduced. Support for the Cisco Nexus 2000 Series Fabric Extender was added. Usage Guidelines The reload command disrupts traffic on the switch and Fabric Extender. Note The reload command does not save the running configuration. Use the copy running-config startup - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 89
Chapter 1 Basic System Commands rmdir Send comments to [email protected] rmdir To remove a directory, use the rmdir command. was introduced. Examples This example shows how to remove a directory: switch# rmdir my_files Related Commands Command cd delete dir pwd Description Changes - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 90
You must create the command file on a remote device and download it to the Cisco Nexus 5000 Series switch using the copy command. Examples This example shows how to run a command script file: switch# run-script script-file Related Commands Command cd copy dir echo pwd sleep Description - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 91
in bootflash: switch# configure session MySession switch(config-s)# save bootflash:sessions/MySession Related Commands Command configure session delete Description Creates or modifies a configuration session. Deletes a file from a location. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 92
in 15 minutes! This example shows how to send a message to a specific user session: switch# send session pts/0 You must log off the switch. Related Commands Command show users Description Displays the active user sessions on the switch. 1-70 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 93
can exit the dialog at any point by pressing Ctrl-C. Examples This example shows how to enter the basic device setup script: switch# setup Related Commands Command Description show running-config Displays the running configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-71 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 94
sessions: switch# configure terminal switch(config)# line vty switch(config-line)# no session-limit 48 Related Commands Command line vty show running-config Description Enters the virtual terminal configuration mode. Displays the running configuration. 1-72 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 95
Commands show banner motd Send comments to [email protected] show banner motd To display the message-of- switch# show banner motd Unauthorized access is prohibited! Related Commands Command banner motd Description Configures the MOTD banner. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 96
display all configured boot variables: switch# show boot This example shows how to display the list of boot variable names: switch# show boot variables Related Commands Command boot Description Configures the boot variable for the kickstart or system image. 1-74 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 97
to display all configured command aliases: switch# show cli alias This example shows how to display a specific command alias: switch# show cli alias name ethint Related Commands Command cli alias name Description Configures command aliases. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 98
of the command history: switch# show cli history 10 This example shows how to display unformatted command history: switch# show cli history unformatted Related Commands Command clear cli history Description Clears the command history. 1-76 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 99
Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the CLI variables: switch# show cli variables Related Commands Command cli var name Description Configures CLI variables. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-77 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 100
setting and the summer-time (daylight saving time) configuration: switch# show clock detail Related Commands Command clock set clock summer-time Description Sets the clock time. Configures the summer-time (daylight saving time) offset. 1-78 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 101
. Command Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the Cisco NX-OS copyright information: switch# show copyright OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-79 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 102
are located in the log: file system. Examples This example shows how to display the contents of a debug log file: switch# show debug logfile dmesg Related Commands. Command debug logfile Description Configures the debug log file. 1-80 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 103
was introduced. Examples This example shows how to display information about the hardware environment: switch# show environment This example shows how to display information about the power environment: switch# show environment power OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-81 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 104
This command was introduced. Examples This example shows how to display the contents of a file: switch# show file ent-mod.lic If the file that you want to display is a directory, Displays the name of the current working directory. 1-82 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 105
System Commands show hardware internal Send comments to [email protected] show hardware internal To display information about the physical how to display information about the physical device hardware: switch# show hardware internal Related Commands Command show inventory show - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 106
display the hostname for the switch: switch# show hostname Related Commands Command hostname show switchname switchname Description Configures the hostname for the switch. Displays the hostname. Configures the hostname for the switch. 1-84 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 107
Examples This example shows how to display the configuration incompatibilities: switch# show incompatibility system bootflash://sup-local/old_image. device with new Cisco NX-OS software. Displays information about the software version. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-85 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 108
display the status of the software installation process: switch# show install all status Related Commands Command install all show boot Description Installs the software on the physical device. Displays the boot variable configuration. 1-86 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 109
for an attached Fabric Extender: switch# show inventory fex 101 Related Commands Command show hardware internal show module Description Displays information about the physical hardware. Displays information about the modules. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-87 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 110
on a device: switch# show license Related Commands Command install license show license host-id show license usage Description Installs a license. Displays the serial number of the chassis to use for licensing. Displays license usage information. 1-88 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 111
id Send comments to [email protected] show license host-id To display the serial number (host ID) of the switch chassis to use for licensing, display the host ID, required to request node-locked licenses: switch# show license host-id License hostid: VDH=FLC12300568 Related Commands - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 112
comments to [email protected] show license Displays license usage for the switch. Command Modes EXEC mode Command the current license usage: switch# show license usage Feature of the license by features. This field is not supported. License status. "Unused" indicates that no features - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 113
shows how to display a list of features in use for a specific license: switch# show license usage FC_FEATURES_PKG Related Commands Command install license show license show license host- number of the chassis to use for licensing. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-91 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 114
port configuration information: switch# show line This example shows how to display only the information about the console port configuration: switch# show line console Related Commands Command line console Description Enters the console port configuration mode. 1-92 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 115
about all attached Fabric Extender units: switch# show module fex all Related Commands Command show hardware internal show inventory Description Displays information about the physical hardware. Displays hardware inventory information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-93 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 116
information for a specific virtual device context (VDC). There is only one VDC on a Cisco Nexus 5000 Series switch. Command Default Displays information for all processes running on the switch. Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 117
Commands Command show processes show processes log show processes memory Description Displays the process information for the switch. Displays the contents of the process log. Displays the memory allocation information for processes. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-95 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 118
detailed information from the process log for a specific process: switch# show processes log pid 3632 Related Commands Command show processes switch. Displays the CPU utilization information for processes. Displays the memory allocation information for processes. 1-96 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 119
Related Commands Command show processes show processes cpu show processes log Description Displays the process information for the switch. Displays the CPU utilization information for processes. Displays the contents of the process log. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-97 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 120
-config diff show startup-config Description Copies the running configuration to the startup configuration. Displays the differences between the running configuration and the startup configuration. Displays the startup configuration. 1-98 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 121
text Indicates that line exists in both configurations but in different orders. Examples This example shows how to display the difference between the running configuration and the startup configuration: switch# show running-config diff OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-99 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 122
running-config show startup-config Description Copies the running configuration to the startup configuration. Displays the differences between the running configuration and the startup configuration. Displays the startup configuration. 1-100 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 123
was introduced. This command was modified to provide Fabric Extender support. Usage Guidelines The SPROM on the switch contains detailed information about the hardware, including serial, part, and revision numbers. If you need to report a problem with a system component, you can extract serial - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 124
Basic System Commands Send comments to [email protected] Related Commands Command show hardware internal show inventory Description Displays information about the physical hardware. Displays hardware inventory information. 1-102 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 125
shows how to display the startup configuration: switch# show startup-config Related Commands configuration to the startup configuration. Displays the running-configuration. Displays the differences between the running configuration and the startup configuration. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 126
display the hostname for the switch: switch# show switchname Related Commands Command hostname show hostname switchname Description Configures the hostname for the switch. Displays the hostname. Configures the hostname for the switch. 1-104 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 127
to configure the system core filename. Examples This example shows how to display destination information for the system core files: switch# show system cores Related Commands Command system cores Description Configures the system core filename. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 128
support. Examples This example shows how to display the reset-reason history for the switch: switch# show system reset-reason This example shows how to display the reset-reason history for an attached Fabric Extender: switch# show system reset-reason fex 101 1-106 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 129
Basic System Commands show system uptime Send comments to [email protected] show system uptime To display the amount of time since the to display the amount of time since the last system restart: switch# show system uptime OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-107 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 130
how to display the technical support information for a specific feature: switch# show tech-support aaa This example shows how to display the commands used to generate the technical support information: switch# show tech-support commands 1-108 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 131
terminal configuration for a session: switch# Configures the terminal display length for the session. Configures the terminal inactive session timeout for a session. Configures the terminal type for a session. Configures the terminal display width for a session. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 132
. This command was modified to provide Fabric Extender support. Examples This example shows how to switch# show version image bootflash:old_image This example shows how to display the version information for an attached Fabric Extender: switch# show version fex 101 1-110 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 133
scripts to delay the execution of the script. Examples This example shows how to cause the CLI to pause for 5 seconds before displaying the prompt: switch# sleep 5 Related Commands Command run-script Description Runs command scripts. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-111 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 134
port: switch# configure terminal switch(config)# line console switch(config-console)# no speed 57600 Related Commands Command line console show running-config Description Enters the console terminal configuration mode. Displays the running configuration. 1-112 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 135
: switch# configure terminal switch(config)# line console switch(config-console)# no stopbits 2 Related Commands Command line console show running-config Description Enters the console terminal configuration mode. Displays the running configuration. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 136
cores tftp://serverA:69/core_file This example shows how to disable system core logging: switch# configure terminal switch(config)# no system cores Related Commands Command show system cores Description Displays the core filename. 1-114 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 137
Use the show system internal sysmgr startup-config locks command to display the locks on the startup configuration file. Examples This example shows how to unlock the startup-configuration file: switch# system startup-config unlock 10 OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-115 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 138
command performs the same function as the hostname command. Examples This example shows how to configure the hostname for a Cisco Nexus 5000 Series switch: switch# configure terminal switch(config)# switchname Engineering2 Engineering2(config)# This example shows how to revert to the default - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 139
of a file: switch# tail bootflash:startup.cfg 20 Related Commands Command cd copy dir pwd Description Changes the current working directory. Copies files. Displays the directory contents. Displays the name of the current working directory. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 140
the terminal before pausing: switch# terminal length 28 This example shows how to revert to the default number of lines: switch# terminal no length Related Commands Command show terminal Description Displays the terminal session configuration. 1-118 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 141
timeout 10 This example shows how to revert to the default terminal inactivity timeout for the session: switch# terminal no session-timeout Related Commands Command show terminal Description Displays the terminal session configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-119 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 142
set the terminal type: switch# terminal type xterm This example shows how to revert to the default terminal type: switch# terminal no type Related Commands Command show terminal Description Displays the terminal session configuration. 1-120 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 143
on the terminal: switch# terminal width 70 This example shows how to revert to the default number of columns: switch# terminal no width Related Commands Command show terminal Description Displays the terminal session configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 1-121 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 144
Commands Send comments to [email protected] traceroute To discover the routes the IPv4 address for the management interface of the switch. Command Default None Command Modes EXEC mode Command discover a route to a network device: switch# traceroute 172.28.255.18 vrf management - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 145
traceroute6 Send comments to [email protected] traceroute6 To discover the routes the IPv6 address for the management interface of the switch. Command Default None Command Modes EXEC mode Command History to discover a route to a device: switch# traceroute6 2001:0DB8::200C:417A vrf - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 146
1a) Modification This command was introduced. Examples This example shows how to update a license: switch# update license bootflash:fm.lic fm-update.lic Related Commands Command show license Description Displays license information. 1-124 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 147
configuration in the persistent memory: switch# write erase debug Related Commands Command copy running-config startup-config show running-config Description Copies the running configuration to the startup configuration. Displays the startup configuration. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 148
write erase Chapter 1 Basic System Commands Send comments to [email protected] 1-126 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 149
Send comments to [email protected] 2 C H A P T E R Ethernet Commands This chapter describes the Cisco NX-OS Ethernet commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 150
, regardless of whether the bandwidth inheritance setting is in effect. Examples This example shows how to configure all subinterfaces off this main interface to inherit the configured bandwidth: switch(config-if)# bandwidth inherit 30000 Cisco Nexus 5000 Series Command Reference 2-2 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 151
Chapter 2 Ethernet Commands bandwidth (interface) Send comments to [email protected] Related Commands Command show interface Description Displays the interface configuration information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-3 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 152
CDP on all Ethernet interfaces: switch# configure terminal switch(config)# cdp enable This example shows how to configure the MAC address as the CDP device ID: switch# configure terminal switch(config)# cdp format device-id mac-address Cisco Nexus 5000 Series Command Reference 2-4 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 153
[email protected] This example shows how to disable CDP on all Ethernet interfaces: switch# configure terminal switch(config)# no cdp enable Related Commands Command show cdp Description Displays Cisco Discovery Protocol (CDP) information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 154
to enable CDP on an Ethernet interface: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# cdp enable Related Commands Command show interface Description Displays the interface configuration information. Cisco Nexus 5000 Series Command Reference 2-6 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 155
the switch returns an error message. After you enable LACP globally, by using the feature lacp command, you enable LACP on each channel by configuring the configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 156
configuring Service policy • Quality of service (QoS) • Access control lists (ACLs) Interface parameters, such as the following, remain unaffected when the interface joins or leaves a EtherChannel: • Description • Cisco Discovery Protocol (CDP) • LACP port priority • Debounce Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 157
cisco.com • Rate mode • Shutdown • SNMP trap If interfaces are configured for the EtherChannel interface and a member port is removed from the EtherChannel, the configuration active mode: switch(config)# interface ethernet 1/1 switch(config-if)# channel Cisco Nexus 5000 Series Command Reference 2-9 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 158
counters Chapter 2 Ethernet Commands Send comments to [email protected] clear mac access-list counters To clear statistical example shows how to clear statistical information from the access list: switch# clear mac access-list counters Related Commands Command Description show mac - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 159
Send comments to [email protected] clear mac dynamic To entries from the MAC address table: switch# clear mac dynamic This example shows how to clear a dynamic entries for VLAN 2 from the MAC address table: switch# clear mac dynamic vlan 2 Related Commands Command show mac - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 160
all the dynamic entries from the MAC address table: switch# clear mac-address-table dynamic This example shows how to clear all the dynamic entries from the MAC address table for VLAN 2: switch# clear mac-address-table dynamic vlan 2 2-12 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 161
Chapter 2 Ethernet Commands clear mac-address-table dynamic Send comments to [email protected] Related Commands Command show mac-address-table Description Displays the information about the MAC address table. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 162
interface. Examples This example shows how to clear the STP counters for VLAN 5: switch# clear spanning-tree counters vlan 5 Related Commands Command show spanning-tree Description Displays information about the spanning tree state. 2-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 163
cisco.com clear spanning-tree detected-protocol To restart the protocol migration, use the clear spanning-tree detected-protocol command. With no arguments, the command is applied to every port of the switch , a switch running Rapid . An MST switch can detect that Rapid PVST+ switch that is switch - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 164
shows how to set a delay of 30,000 microseconds on an interface: switch(config)# interface ethernet 1/1 switch(config-if)# delay 3000 Related Commands Command show interface Description Displays the interface configuration information. 2-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 165
ethernet 1/1 switch(config-if)# description "10G Server Link" Related Commands Command show interface show running-config Description Displays the interface configuration information. Displays the contents of the currently running configuration file. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 166
. Caution When you change the VLAN-to-MSTI mapping, the system restarts MST. Examples This example shows how to map a range of VLANs to MSTI 4: switch(config)# spanning-tree mst configuration switch(config-mst)# instance 4 vlan 100-200 2-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 167
vlan Send comments to [email protected] Related Commands Command show spanning-tree mst configuration spanning-tree mst configuration Description Displays information about the MST protocol. Enters MST configuration mode. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-19 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 168
ethernet 101/1/1 switch(config-if)# Related Commands Command show fex show interface ethernet Description Displays all configured Fabric Extender chassis connected to the switch. Displays various parameters of an Ethernet IEEE 802.3 interface. 2-20 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 169
are using CDP, you must configure it only on the physical switch(config)# interface port-channel 50 switch(config-if)# Related Commands Command show interface port-channel Description Displays information on traffic on the specified EtherChannel interface. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 170
interface port-channel Chapter 2 Ethernet Commands Send comments to [email protected] Command show lacp show port-channel summary Description Displays LACP information. Displays information on the EtherChannels. 2-22 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 171
ip igmp snooping (EXEC) Send comments to [email protected] ip igmp snooping (EXEC) To enable Internet Group switch# ip igmp snooping Related Commands Command Description show ip igmp snooping Displays IGMP snooping information and configuration. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 172
The default is 1 second. Configures a static connection to a multicast router. The specified interface is Ethernet or EtherChannel. Configures a snooping querier. The IP address is used as the source in messages. The default is disabled. 2-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 173
mrouter interface ethernet 1/10 switch(config-vlan)# ip igmp snooping static-group 230.0.0.1 interface ethernet 1/10 Related Commands Command Description show ip igmp snooping Displays IGMP snooping information and configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 174
was introduced. Usage Guidelines Each port configured to use LACP has an LACP port priority. You can configure a value between 1 and 65535. : switch(config-if)# lacp port-priority 2000 Related Commands Command show lacp Description Displays LACP information. 2-26 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 175
device that runs LACP has an LACP system priority value. You can configure a value between 1 and 65535. LACP uses the system priority with the switch(config)# lacp system-priority 2500 Related Commands Command show lacp Description Displays LACP information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 176
time 1000 The following example shows how to disable the debounce timer for an Ethernet interface: switch(config-if)# no link debounce Related Commands Command show interface Description Displays the interface configuration information. 2-28 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 177
aging time, which may or may not be the default value of 300 seconds depending if the global configuration of the switch for aging time has been changed. Aging time is counted from the last time that the switch detected the MAC address. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-29 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 178
switch: switch(config)# mac-address-table aging-time 500 Related Commands Command show mac-address-table show mac-address-table aging-time Description Displays information about the MAC address table. Displays information about the MAC address aging time. 2-30 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 179
Default None Command Modes Configuration mode Command History Release switch(config)# mac-address-table notification threshold limit 45 interval 1024 Related Commands Command show mac-address-table Description Displays information about MAC address table. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 180
4094. Drops all traffic that is received from and going to the configured MAC address in the specified VLAN. Specifies the interface. The type can table: switch(config)# mac-address-table static 0050.3e8d.6400 vlan 3 interface ethernet 1/4 2-32 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 181
Chapter 2 Ethernet Commands mac-address-table static Send comments to [email protected] Related Commands Command show mac-address-table Description Displays information about MAC address table. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-33 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 182
. Examples This example shows how to create a SPAN session: switch# configure terminal switch(config)# monitor session 2 Related Commands Command Description show monitor session Displays SPAN session configuration information. 2-34 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 183
, VLAN0002. Command Default None Command Modes VLAN configuration mode Command History Release 4.0(0)N1(1a) Modification switch(config)# vlan 2 switch(config-vlan)# name accounting Related Commands Command show vlan Description Displays VLAN information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 184
switch(config)# spanning-tree mst configuration switch(config-mst)# name accounting Related Commands Command show spanning-tree mst configuration spanning-tree mst configuration Description Displays information about the MST protocol. Enters MST configuration mode. 2-36 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 185
Use the option that provides the balance criteria with the greatest variety in your configuration. For example, if the traffic on a EtherChannel is going only to a source IP: switch(config)# port-channel load-balance ethernet source-ip OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-37 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 186
port-channel load-balance ethernet Chapter 2 Ethernet Commands Send comments to [email protected] Related Commands Command show port-channel load-balance Description Displays information on EtherChannel load balancing. 2-38 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 187
Chapter 2 Ethernet Commands private-vlan Send comments to [email protected] private-vlan To configure private VLANs, use the private-vlan command. To return the specified a private port that is assigned to a primary VLAN. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-39 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 188
port on a Cisco Nexus 5000 Series switch running the current release of Cisco NX-OS does not support IEEE 802.1q encapsulation and cannot be used as a trunk port. Examples This example shows how to assign VLAN 5 to a private VLAN as the primary VLAN: switch# configure terminal switch(config)# vlan - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 189
Chapter 2 Ethernet Commands private-vlan association Send comments to [email protected] private-vlan association To configure the association between a primary VLAN and a secondary VLAN on in the range for the association. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-41 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 190
be associated with one primary VLAN. You cannot configure a VLAN that is already associated to a primary VLAN as a primary VLAN. Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco NX-OS does not support IEEE 802.1q encapsulation and cannot be used - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 191
-tree mst configuration switch(config-mst)# private-vlan synchronize Related Commands Command show spanning-tree mst configuration spanning-tree mst configuration Description Displays information about the MST protocol. Enters MST configuration mode. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 192
revision number of the MST region configuration: switch(config)# spanning-tree mst configuration switch(config-mst)# revision 5 Related Commands Command show spanning-tree mst Description Displays information about the MST protocol. 2-44 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 193
or keywords. Command Default Not shut down. Command Modes VLAN configuration mode Command History Release 4.0(0)N1(1a) Modification This command was down, or disabled, the VLAN: switch(config)# vlan 2 switch(config-vlan)# no shutdown OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-45 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 194
shutdown (VLAN configuration) Chapter 2 Ethernet Commands Send comments to [email protected] Related Commands Command show vlan Description Displays VLAN information. 2-46 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 195
interfaces. Explicitly configuring BPDU Filtering on switch (config)# interface ethernet 1/4 switch(config-if)# spanning-tree bpdufilter enable Related Commands Command show spanning-tree summary Description Displays information about the spanning tree state. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 196
spanning-tree bpdufilter Chapter 2 Ethernet Commands Send comments to [email protected] 2-48 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 197
[email protected] already configured when you enter the . Command Modes Interface configuration mode Command History Release data-packet loop and disrupt the switch and network operation. When you enable command is configured. Typically, this feature is used in a service-provider - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 198
This example shows how to enable BPDU Guard on this interface: switch(config-if)# spanning-tree bpduguard enable Related Commands Command show spanning-tree summary Description Displays information about the spanning tree state. 2-50 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 199
comments to [email protected] spanning-tree by the media speed. Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification ,000 19 200,000 4 20,000 2 2,000 When you configure the value, higher values will indicate higher costs. On access ports - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 200
that is associated with that interface: switch(config)# interface ethernet 1/4 switch(config-if)# spanning-tree cost 250 Related Commands Command show spanning-tree Description Displays information about the spanning tree configuration. 2-52 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 201
[email protected] spanning-tree Default Disabled. Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a Root Guard is enabled, although the switch accepts the command to enable Loop Guard shows how to enable Root Guard: switch(config-if)# spanning-tree guard - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 202
a point-to-point link while a half-duplex configuration is assumed to be on a shared link. Note On a Cisco Nexus 5000 Series switch, port duplex is not configurable. Examples This example shows how to configure the port as a shared link: switch(config-if)# spanning-tree link-type shared Related - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 203
default Send comments to [email protected] spanning-tree loopguard default To Command Default Disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a example shows how to enable Loop Guard: switch(config)# spanning-tree loopguard default Related Commands - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 204
This example shows how to switch to MST mode: switch(config)# spanning-tree mode mst switch(config-mst)# Related Commands Command show spanning-tree summary Description Displays the information about the spanning tree configuration. 2-56 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 205
. To reduce service disruptions, when you enter MST configuration mode, make changes to a copy of the current MST configuration. When you are done editing the configuration, you can apply all the changes at once by using the exit keyword. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-57 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 206
Description Maps a VLAN or a set of VLANs to an MST instance. Sets the name of an MST region. Sets the revision number for the MST configuration. Displays the information about the MST protocol. 2-58 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 207
considered a single port. The port cost is the aggregation of all the configured port costs assigned to that channel. Examples This example shows how to set the interface path cost: switch(config-if)# spanning-tree mst 0 cost 17031970 OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-59 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 208
spanning-tree mst cost Chapter 2 Ethernet Commands Send comments to [email protected] Related Commands Command show spanning-tree mst Description Displays the information about the MST protocol. 2-60 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 209
. Examples This example shows how to set the forward-delay timer: switch(config)# spanning-tree mst forward-time 20 Related Commands Command show spanning-tree mst Description Displays the information about the MST protocol. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-61 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 210
diameter. Examples This example shows how to set the hello-time delay timer: switch(config)# spanning-tree mst hello-time 3 Related Commands Command show spanning-tree mst Description Displays the information about the MST protocol. 2-62 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 211
require a license. Examples This example shows how to set the max-age timer: switch(config)# spanning-tree mst max-age 40 Related Commands Command show spanning-tree mst Description Displays the information about the MST protocol. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-63 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 212
Send comments to [email protected] spanning-tree mst max-hops to 255 hops. Command Default 20 hops. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command to set the number of possible hops: switch(config)# spanning-tree mst max-hops 25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 213
: switch(config-if)# spanning-tree mst 0 port-priority 64 Related Commands Command show spanning-tree mst spanning-tree port-priority Description Displays the information about the MST protocol. Configures port priority for default STP, which is Rapid PVST+. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 214
[email protected] spanning- is 32768. Command Modes Configuration mode Command History Release You can set the priority-value argument to 0 to make the switch root. You can enter the instance-id argument as a single how to set the bridge priority: switch(config)# spanning-tree mst 0 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 215
cisco spanning-tree instance. Specifies the switch as a secondary root, should the generation of configuration messages by the root switch. The range is from 1 to 10 seconds; the default is 2 seconds. Command Default None Command Modes Configuration : switch(config)# spanning-tree - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 216
spanning-tree mst root Chapter 2 Ethernet Commands Send comments to [email protected] Related Commands Command show spanning-tree mst Description Displays the information about the MST protocol. 2-68 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 217
on the switch interoperate seamlessly between MST and Rapid PVST+. See spanning-tree mst simulate pvst global to change this setting globally. Command Modes Interface configuration mode use the spanning-tree mst simulate pvst command. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-69 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 218
device running Rapid PVST+: switch(config-if)# spanning-tree mst simulate pvst disable Related Commands Command spanning-tree mst simulate pvst global Description Enables global seamless interoperation between MST and Rapid PVST+. 2-70 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 219
cisco.com spanning-tree mst simulate pvst global To prevent the Multiple Spanning Tree (MST) switch PVST+ on the switch, use the spanning- configuration simulate pvst global command, the switch running in MST mode moves the configuration applies to the entire switch. the switch to seamless operation between - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 220
device running Rapid PVST+: switch(config)# no spanning-tree mst simulate pvst global Related Commands Command spanning-tree mst simulate pvst Description Enables seamless interoperation between MST and Rapid PVST+ by the interface. 2-72 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 221
Command Default Short. Command Modes Configuration mode Command History Release 4.0(0)N1 switch(config)# spanning-tree pathcost method long Related Commands Command show spanning-tree summary Description Displays information about the spanning tree state. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 222
normal no spanning-tree port type Syntax Description trunk (Optional) Configures the trunk port as a spanning tree edge port. Command Default switches, bridges, etc... to this interface when portfast is enabled, can cause temporary bridging loops. Use with CAUTION 2-74 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 223
cisco.com When you use this command without the trunk keyword, the system returns an additional message similar to the following: %Portfast has been configured mode. To configure trunk interfaces as example shows how to configure an interface connected to a on linkup: switch(config-if)# - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 224
of this spanning-tree port type edge bpdufilter default command by configuring BPDU Filtering at the interface level. See the spanning-tree bpdufilter port, BPDU Filtering prevents the switch from receiving or sending BPDUs on this port. 2-76 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 225
@cisco.com Examples This example shows how to enable BPDU Filtering globally on all spanning tree edge operational ports by default: switch( configuration. Enables BPDU Filtering on the interface. Configures an interface as a spanning tree edge port. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 226
To enable BPDU Guard by default, you must do the following: • Configure the interface as spanning tree edge ports by entering the spanning-tree port spanning tree edge ports: switch(config)# spanning-tree port type edge bpduguard default 2-78 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 227
-tree summary spanning-tree bpduguard spanning-tree port type edge Description Displays the information about the spanning tree configuration. Enables BPDU guard on the interface. Configures an interface as a spanning tree edge port. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-79 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 228
port type edge command. The default spanning tree port type is normal. Examples This example shows how to globally configure all ports connected to hosts as spanning tree edge ports: switch(config)# spanning-tree port type edge default 2-80 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 229
to [email protected] Related Commands Command show spanning-tree summary spanning-tree port type edge Description Displays information about the spanning tree configuration. Configures an interface as a spanning tree edge port. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 230
cisco.com spanning-tree port type network To configure the interface that connects to a switch as a network spanning tree port, regardless of the global configuration setting for network port types. You can configure all ports that are connected to switches as spanning tree network ports by default - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 231
as a spanning tree network port: switch(config-if)# spanning-tree port type network Related Commands Command show spanning-tree interface Description Displays information about the spanning tree configuration per specified interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-83 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 232
command. The default spanning tree port type is normal. Examples This example shows how to globally configure all ports connected to switches as spanning tree network ports: switch(config)# spanning-tree port type network default 2-84 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 233
2 Ethernet Commands spanning-tree port type network default Send comments to [email protected] Related Commands Command show spanning-tree summary Description Displays information about the spanning tree configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-85 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 234
switch(config-if)# spanning-tree port-priority 32 Related Commands Command show spanning-tree spanning-tree interface priority Description Displays information about the spanning tree state. Displays information on the spanning tree port priority for the interface. 2-86 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 235
Optional) Specifies the number of seconds between the generation of configuration messages by the root switch; the range of valid values is from 1 to 10 Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 236
to configure the switch as the secondary root switch for VLAN 10 with a network diameter of 4: switch(config)# spanning-tree vlan 10 root secondary diameter 4 Related Commands Command show spanning-tree Description Displays information about the spanning tree state. 2-88 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 237
error. By default, all ports on a Cisco Nexus 5000 Series switch are 10 Gigabits. Examples The following example shows how to to set the speed for a 1-Gigabit Ethernet port: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# speed 1000 Related Commands Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 238
The VLAN is actively passing traffic. Command Modes VLAN configuration mode Command History Release 4.0(0)N1(1a) Modification This switch(config)# vlan 2 switch(config-vlan)# state suspend Related Commands Command show vlan Description Displays VLAN information. 2-90 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 239
keywords. Command Default VLAN interfaces are disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) 4.0(1a)N1(1) switch: switch(config)# svi enable Related Commands Command interface vlan Description Creates a VLAN interface. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 240
to configure an Ethernet interface to join VLAN 2: switch(config)# interface ethernet 1/7 switch(config-if)# switchport access vlan 2 Related Commands Command show interface switchport Description Displays the administrative and operational status of a port. 2-92 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 241
: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# switchport block multicast Related Commands Command show interface switchport Description Displays the switch port information for a specified interface or all interfaces. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 242
how to set a port to host mode for private VLANs: switch(config-if)# switchport mode private-vlan host Related Commands Command show interface switchport Description Displays information on all interfaces configured as switch ports. 2-94 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 243
a port to promiscuous mode for private VLANs: switch(config-if)# switchport mode private-vlan promiscuous Related Commands Command show interface switchport Description Displays information on all interfaces configured as switch ports. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-95 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 244
or community ports. Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco NX-OS does not support IEEE 802.1q encapsulation and cannot be used as a trunk port. Examples This example shows how to configure a Layer 2 host private VLAN port with a primary - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 245
Chapter 2 Ethernet Commands switchport private-vlan host-association Send comments to [email protected] Related Commands Command Description show vlan private-vlan Displays information on private VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-97 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 246
or community ports. Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco NX-OS does not support IEEE 802.1q encapsulation and cannot be used as a trunk port. Examples This example shows how to configure the associate primary VLAN 18 to secondary - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 247
Command show interface switchport show interface private-vlan mapping Description Displays information on all interfaces configured as switch ports. Displays the information about the private VLAN mapping for VLAN interfaces, or SVIs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-99 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 248
disabled by default. You can configure UDLD aggressive mode only on point-to-point links between network devices that support UDLD aggressive mode. If UDLD mode for the switch: switch# configure terminal switch(config)# udld aggressive 2-100 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 249
[email protected] This example shows how to reset all ports that were shutdown by UDLD: switch# configure terminal switch(config)# udld reset Related Commands Command show udld Description Displays the administrative and operational UDLD status. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 250
Ethernet port: switch(config-if)# udld aggressive This example shows how to disable UDLD for an Ethernet port: switch(config-if)# udld disable Related Commands Command show udld Description Displays the administrative and operational UDLD status. 2-102 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 251
or recreate, that specified VLAN, the switch automatically reinstates all the original ports to that VLAN. Examples This example shows how to add a new VLAN and enter VLAN configuration mode: switch(config)# vlan 2 switch(config-vlan)# OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-103 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 252
VLANs and enter VLAN configuration mode: switch(config)# vlan 2,5,10-12,20,25,4000 switch(config-vlan)# This example shows how to delete a VLAN: switch(config)# no vlan 2 Related Commands Command show vlan Description Displays VLAN information. 2-104 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 253
current command mode. • ip-Enables configuration of IP features. Additional commands available in IP configuration mode: - domain-list-Adds additional to enter VRF context mode: switch(config)# vrf context management switch(config-vrf)# OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-105 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 254
vrf context Chapter 2 Ethernet Commands Send comments to [email protected] Related Commands Command show vrf Description Displays VRF information. 2-106 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 255
Send comments to [email protected] 3 C H A P T E R Ethernet Show Commands This chapter describes the Cisco NX-OS Ethernet show commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 256
mac-address-table static show mac-address-table Description Adds static entries to the MAC address table or configures a static MAC address with IGMP snooping disabled for that address. Displays information on the MAC address table. Cisco Nexus 5000 Series Command Reference 3-2 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 257
command was introduced. Usage Guidelines Before you can configure private VLANs, you must enable them by using the feature about primary and secondary private VLAN mapping: switch# show interface private-vlan mapping Related Commands OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-3 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 258
comments to [email protected] show interface switchport To display information about all the switch port interfaces, use example shows how to display information for all Ethernet interfaces: switch# show interface switchport Related Commands Command Description switchport access vlan - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 259
or the svi enable command. The commands for configuring interface VLANs are not visible until you enable this switch# show interface vlan 5 private-vlan mapping When you specify a primary VLAN, the switch displays all secondary VLANs mapped to that primary VLAN. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 260
Show Commands Send comments to [email protected] This example shows how to display the status of the VLAN: switch# show interface vlan 5 status Related show vlan private-vlan Displays summary information for all private VLANs. Cisco Nexus 5000 Series Command Reference 3-6 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 261
snooping Send comments to [email protected] show ip igmp snooping To display the Internet Group Management Protocol (IGMP) snooping configuration of the switch, use the show ip igmp Enables IGMP snooping on the VLAN interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-7 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 262
This command was introduced. Usage Guidelines Use the show lacp command to troubleshoot problems related to LACP in a network. Examples This example shows how to display the LACP system identification: switch# show lacp system-identifier Cisco Nexus 5000 Series Command Reference 3-8 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 263
times: switch# show mac-address-table aging-time Related Commands Command mac-address-table aging-time show mac-address-table Description Configures the aging time for entries in the MAC address table. Displays information about the MAC address table. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 264
Chapter 3 Ethernet Show Commands Send comments to [email protected] show mac-address-table count To display the number display the number of dynamic entries currently in the MAC address table: switch# show mac-address-table count dynamic Related Commands Command show mac-address- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 265
show mac-address-table notification Send comments to [email protected] show mac-address-table notification To display notifications about This example shows how to display MAC address move notifications: switch# show mac-address-table notification mac-move Related Commands Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 266
cisco switch maintains static MAC address entries that are saved in its startup configuration across reboots and flushes the dynamic entries. Examples This example shows how to display the information about the entries for the MAC address table: switch MAC address: switch# show mac - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 267
[email protected] This example shows how to display the information about the MAC address table for a specific interface: switch# Adds static entries to the MAC address table or configures a static MAC address with IGMP snooping disabled for that Cisco Nexus 5000 Series Command Reference 3-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 268
# show monitor session 1 This example shows how to display a range of SPAN sessions: switch# show monitor session range 1-4 Related Commands Command monitor session Description Displays the contents of the startup configuration file. 3-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 269
This example shows how to display detailed information on the running configuration: switch# show running-config all Related Commands Command show startup-config Description Displays the contents of the startup configuration file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-15 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 270
running STP configuration: switch# show switch# show running-config spanning-tree all Note Display output differs slightly depending on whether you are running Rapid PVST+ or MST. Related Commands Command show spanning-tree Description Displays information about STP. 3-16 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 271
also displayed. Examples This example shows how to display the running configuration for VLAN 5: switch# show running-config vlan 5 Related Commands Command show vlan Description Displays information about all the VLANs on the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-17 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 272
is used. The method differs for Rapid PVST+ (configurable, default is short) and MST (nonconfigurable, operational switch# show spanning-tree inconsistentports This example shows how to display the path cost method: switch(config)# show spanning-tree pathcost method 3-18 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 273
. Displays bridge ID, timers, and protocol for the local bridge on the switch. Displays brief summary information about STP. Displays detailed information about STP. Displays STP interface status and configuration of specified interfaces. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-19 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 274
Description Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. 3-20 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 275
interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-21 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 276
Send comments to [email protected] show spanning-tree bridge To display status and configuration of the local bridge, use shows display STP information for the bridge: switch# show spanning-tree bridge Related Commands Command Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 277
interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-23 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 278
interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. 3-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 279
interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 280
running STP, the switch returns an error message. When you are running MST, this command displays the PVST simulation setting. Note If you are running MST, use the show spanning-tree mst command to show more detail on the specified interfaces. 3-26 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 281
about STP. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-27 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 282
channel number} [detail]] show spanning-tree mst [configuration [digest]] show spanning-tree mst [detail | switch)# show spanning-tree mst 0 This example shows how to display detailed STP information about the MST protocol: switch)# show spanning-tree mst detail 3-28 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 283
status and configuration of specified interfaces. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 284
cost from the root to this bridge. (Optional) Displays detailed information on the status and configuration for the root bridge. (Optional) Displays the STP forward delay interval for the root protocol for the local bridge on the switch. 3-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 285
Commands show spanning-tree root Send comments to [email protected] Command show spanning-tree brief show spanning-tree Displays detailed information about STP. Displays STP interface status and configuration of specified interfaces. Displays information about MST STP. Displays summary - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 286
interface status and configuration of specified interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays STP information for specified VLANs. 3-32 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 287
in the blocked state for the specified VLANs. (Optional) Displays the status and configuration of the bridge for the specified VLANs. (Optional) Displays the MAC address for the ) Displays which STP protocol is active on the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-33 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 288
information STP. Displays information about STP active interfaces only. Displays bridge ID, timers, and protocol for the local bridge on the switch. Displays brief summary information about STP. Displays detailed information about STP. 3-34 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 289
status and configuration of specified interfaces. Displays information about MST STP. Displays status and configuration of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-35 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 290
This example shows how to display information from the startup configuration file: switch# show startup-config Related Commands Command Description show running-config Displays the contents of the currently running configuration file. 3-36 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 291
introduced. Usage Guidelines This command displays information for all VLANs, including private VLANs, on the switch. Each access port can belong to only one VLAN. Trunk ports can be on multiple Status field is act/lshut or sus/lshut. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-37 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 292
configured on the switch: switch# show vlan summary Related Commands Command Description show interface switchport Displays information about the ports, including those in private VLANs. show vlan private-vlan Displays private VLAN information. 3-38 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 293
using the show vlan name command. Examples This example shows how to display information for the individual VLAN 5: switch# show vlan id 5 Related Commands Command show vlan Description Displays information about VLANs on the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-39 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 294
shows how to display information on the type for the specified private VLAN: switch(config)# show vlan id 42 private-vlan type Related Commands Command show interface VLANs. Displays information about all the VLANs on the switch. 3-40 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 295
Send comments to [email protected] 4 C H A P T E R Fabric Extender Commands This chapter describes the Cisco NX-OS commands used to manage a Cisco Nexus 2000 Series Fabric Extender from a Cisco Nexus 5000 Series switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 296
support personnel. Examples This example shows how to access the CLI of a connected Fabric Extender to run diagnostic commands: switch# attach fex 101 Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 297
)# fex 101 switch(config-fex)# no beacon Related Commands Command fex show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Displays all configured Fabric Extender chassis connected to the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-3 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 298
terminal switch(config)# fex 101 switch(config-fex)# no description Related Commands Command fex show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Displays all configured Fabric Extender chassis connected to the switch. Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 299
a Fabric Extender to an Ethernet or EtherChannel interface. Specifies the number of statically pinned uplinks connected to a Fabric Extender. Assigns a serial number to a Fabric Extender. Displays all configured Fabric Extender chassis connected to the switch. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 300
)# switchport mode fex-fabric switch(config-if)# fex associate 101 Related Commands Command show fex switchport mode fex-fabric Description Displays all configured Fabric Extender chassis connected to the switch. Sets the interface to be an uplink port. Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 301
(see the Cisco Nexus 2000 Series Fabric Extender Software Configuration Guide), the host interfaces on the Fabric Extender are pinned to the fabric interfaces in the order that they were initially configured. The next time that you reboot the Fabric Extender, the configured fabric interfaces are - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 302
level for Fabric Extender events: switch(config)# logging fex 4 This example shows how to reset the logging level: switch(config)# no logging fex Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 303
(config)# fex 101 switch(config-fex)# pinning max-links 4 This example shows how to revert to the uplink count to the default for a Fabric Extender: switch# configure terminal switch(config)# fex 101 switch(config-fex)# no pinning max-links OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-9 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 304
redistribute show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Redistributes the host interfaces on a Fabric Extender. Displays all configured Fabric Extender chassis connected to the switch. 4-10 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 305
Fabric Extender: switch# configure terminal switch(config)# fex 101 switch(config-fex)# serial Rack16_FEX101 This example shows how to remove a serial number from a Fabric Extender: switch# configure terminal switch(config)# fex 101 switch(config-fex)# no serial OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 306
show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Associates a Fabric Extender to an Ethernet or EtherChannel interface. Displays all configured Fabric Extender chassis connected to the switch. 4-12 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 307
how to display the results from the diagnostic tests for a Fabric Extender: switch# show diagnostic result fex 101 Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 308
example shows how to display the environmental sensor status for a Fabric Extender: switch# show environment fex 101 Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. 4-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 309
. Examples This example shows how to display information about all attached Fabric Extender chassis: switch# show fex Related Commands Command fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-15 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 310
about the transceiver connecting a Fabric Extender to the Cisco Nexus 5000 Series switch: switch# show fex transceiver Related Commands Command fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. 4-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 311
. Examples This example shows how to display the version information about a Fabric Extender: switch# show fex version Related Commands Command fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-17 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 312
Examples This example shows how to display all Fabric Extender fabric interfaces: switch# show interface fex-fabric Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. 4-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 313
pinned to an EtherChannel fabric interface on the parent switch: switch# show interface port-channel 1 fex-intf Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-19 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 314
information about all transceivers that connect to fabric interfaces: switch# show interface transceiver fex-fabric Related Commands Command show fex Description Displays all configured Fabric Extender chassis connected to the switch. 4-20 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 315
if)# switchport mode fex-fabric Related Commands Command fex associate show fex Description Associates a Fabric Extender to an Ethernet or EtherChannel interface. Displays all configured Fabric Extender chassis connected to the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 4-21 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 316
switchport mode fex-fabric Chapter 4 Fabric Extender Commands Send comments to [email protected] 4-22 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 317
Send comments to [email protected] 5 C H A P T E R Quality of Service Commands This chapter describes the Cisco NX-OS quality of service commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 5-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 318
class-map Chapter 5 Quality of Service Commands Send comments to [email protected] class-map To create or modify a class map and enter the class-map configuration mode, use the class-map command. To remove a class map, use the no form of this command. class-map class-map-name no class - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 319
shows how to disable FCoE for an Ethernet interface: switch)# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# no fcoe mode Related Commands Command show fcoe Description Displays information about FCoE. OL-16599-01 Cisco Nexus 5000 Series Command Reference 5-3 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 320
Service Commands Send comments to nx5000-docfeedback@cisco. switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# flowcontrol receive on RelateCdommands Command Description priority-flow-control Sets the PFC mode for the selected interface. Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 321
Commands match cos Send comments to [email protected] match cos To define a traffic class based on the Class of Service (CoS) value in the 802.1Q, use the match cos command. To remove the match cos configuration, use the no form of this command. match cos multi-range-cos-values - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 322
-pmap)# class class1 switch(config-pmap-c)# ? bandwidth Specify bandwidth for the class mtu Configure the system class MTU multicast-optimize Optimize multicast traffic distribution pause Configure pause behavior priority Configure traffic class priority Use the service-policy command to - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 323
of Service Commands policy-map Send comments to [email protected] Related Commands Command class-map service-policy show policy-map Description Creates or modifies a table map. Attaches a policy map to an interface. Displays policy maps. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 324
PFC on an interface: switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# priority-flow-control mode on Related Commands Command flowcontrol Description Sets link-level flow control for the selected interface. Cisco Nexus 5000 Series Command Reference 5-8 OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 325
system qos switch(config-sys-qos)# service-policy policy-map1 The following example shows how to attach a policy map to an interface: switch(config)# class-map best-effort-drop-class switch(config-cmap)# match cos 5 switch(config)# policy-map policy_map1 OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 326
)# interface ethernet 1/1 switch(config-if)# service-policy output policy_map1 Related Commands Command class-map policy-map show policy-map Description Creates or modifies a class map. Creates or modifies a policy map. Displays policy maps. 5-10 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 327
cisco.com show class-map To display class maps, use the show class-map command. show class-map [name] Syntax Description name (Optional) Specifies the class map to display. Command Default None Command Modes Global configuration display a class map: switch# show class-map my_class_map Related Commands - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 328
Service Commands Send comments to [email protected] show policy-map To display policy maps, use the show policy-map command. show policy-map [name] Syntax Description name (Optional) Specifies the policy-map name to display. Command Default None Command Modes Global configuration - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 329
N1(1a) Modification This command was introduced. Examples This example shows how to display system QoS information: switch(config)# show system qos Related Commands Command system qos Description Configures the system class QoS. OL-16599-01 Cisco Nexus 5000 Series Command Reference 5-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 330
Quality of Service Commands Send comments to [email protected] show Default None Command Modes Global configuration. Command History Release 4.0(0)N1( details for a specified interface: switch(config)# show interface ethernet 1/1 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 331
Service Commands show policy-map interface Send comments to [email protected] show policy-map interface To display the system policy configured None Command Modes Global configuration. Command History Release for a default system class: switch(config)# show policy-map interface - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 332
example shows how to define the upper bound of any MTU in the system: switch(config)# system jumbomtu 9216 Related Commands Command show interface Description Displays the jumbo MTU frames sent and received on the specified interface. 5-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 333
to configure a system qos: switch# configure terminal switch(config)# system qos switch(config-sys-qos)# service-policy policy-map1 Related Commands Command service- policy Description Associates the system class policy-map to the service policy for the system OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 334
frames received on an interface: switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# untagged cos 4 Related Commands Command match cos Description Sets the CoS value to match for the selected class. 5-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 335
Send comments to [email protected] 6 C H A P T E R Security Commands This chapter describes the Cisco NX-OS security commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 336
. Examples This example shows how to configure any RADIUS server for AAA accounting: switch(config)# aaa accounting default group Related Configures AAA RADIUS server groups. Configures RADIUS servers. Displays AAA accounting status information. Configures TACACS+ servers. Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 337
host command to configure the host servers. switch(config)# aaa authentication login console group radius This example shows how to revert to the default AAA authentication console login method: switch(config)# no aaa authentication login console group radius OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 338
Commands Command aaa group server radius-server host show aaa authentication tacacs-server host Description Configures AAA server groups. Configures RADIUS servers. Displays AAA authentication information. Configures TACACS+ servers. Cisco Nexus 5000 Series Command Reference 6-4 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 339
server host command to configure the host servers. switch(config)# aaa authentication login default group radius This example shows how to revert to the default AAA authentication console login method: switch(config)# aaa authentication login default group radius OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 340
Commands Command aaa group server radius-server host show aaa authentication tacacs-server host Description Configures AAA server groups. Configures RADIUS servers. Displays AAA authentication information. Configures TACACS+ servers. Cisco Nexus 5000 Series Command Reference 6-6 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 341
@cisco.com aaa authentication login error-enable To configure that Default Disabled. Command Modes Configuration mode Command History Release failure messages to the console: switch(config)# aaa authentication login error messages to the console: switch(config)# no aaa authentication login - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 342
keywords. Command Default Disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a switch(config)# no aaa authentication login mschap enable Related Commands Command show aaa authentication Description Displays the status of MSCHAP authentication. Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 343
Command Modes Configuration mode Command switch(config-radius)# This example shows how to delete a RADIUS server group: switch(config)# no aaa group server radius RadServer Related Commands Command show aaa groups Description Displays server group information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 344
switch(config)# vlan access-map vlan-map-01 switch(config-access-map)# match ip address ip-acl-01 switch(config-access-map)# action forward switch VLAN access map. Configures a VLAN access map. Applies a VLAN access map to one or more VLANs. 6-10 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 345
(Optional) Name of the IPv4 ACL whose counters the switch clears. Command Default None Command Modes EXEC mode Command Configures an IPv4 ACL. Displays information about one or all IPv4, IPv6, and MAC ACLs. Displays information about one or all IPv4 ACLs. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 346
(1a) Modification This command was introduced. Examples This example shows how to clear the accounting log: switch# clear accounting log Related Commands Command show accounting log Description Displays the accounting log contents. 6-12 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 347
group server tacacs+ TacServer switch(config-tacacs+)# no deadtime 5 Related Commands Command aaa group server feature tacacs+ radius-server host Description Configures AAA server groups. Enables TACACS+. Configures a RADIUS server. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 348
comments to [email protected] Command show radius-server groups show tacacs-server groups tacacs-server host Description Displays RADIUS server group information. Displays TACACS+ server group information. Configures a TACACS+ server. 6-14 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 349
Chapter 6 Security Commands deny (IPv4) Send comments to [email protected] deny (IPv4) To create an IPv4 ACL rule that denies portgroup] {[dscp dscp] | [precedence precedence]} [fragments] [log] [time-range time-range-name] OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-15 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 350
to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence number of the deny command, which causes the switch to insert the and Destination" in the "Usage Guidelines" section. 6-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 351
[email protected] dscp dscp (Optional) Specifies that the rule matches only those packets with the specified 6-bit differentiated services value in the • default-Default DSCP value (000000) • ef-Expedited Forwarding (101110) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-17 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 352
initial fragments. log (Optional) Specifies that the switch generates an informational logging message about each packet time range that applies to this rule. You can configure a time range by using the time-range command. icmp trace 6-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 353
deny (IPv4) Send comments to [email protected] operator port [port] portgroup portgroup flags Specifies that the rule matches only packets that belong to an established TCP connection. The switch considers TCP packets with the ACK or RST bits set to belong to an established connection - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 354
cisco.com If you do not specify a sequence number, the switch assigns the rule a sequence number that is 10 greater than the last rule in the ACL. Command Modes IPv4 ACL configuration to IPv4-address/32 and IPv4-address 0.0.0.0. 6-20 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 355
to [email protected] The following example shows how to specify the source argument with the host keyword and the 192.168.67.132 IPv4 address: switch(config-acl)# deny and DF set • parameter-problem-All parameter problems OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-21 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 356
cmd-Remote commands (rcmd, 514) daytime-Daytime (13) discard-Discard (9) domain-Domain Name Service (53) drip-Dynamic Routing Information Protocol (3949) echo-Echo (7) exec-EXEC (rsh, ) kshell-Kerberos shell (544) login-Login (rlogin, 513) 6-22 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 357
Chapter 6 Security Commands deny (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto- -SNMP Traps (162) sunrpc-Sun Remote Procedure Call (111) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-23 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 358
Related Commands Command ip access-list permit (IPv4) remark show ip access-list Description Configures an IPv4 ACL. Configures a permit rule in an IPv4 ACL. Configures a remark in an IPv4 ACL. Displays all IPv4 ACLs or one IPv4 ACL. 6-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 359
Chapter 6 Security Commands deny (IPv6) Send comments to [email protected] deny (IPv6) To create an IPv6 ACL rule that denies traffic dscp] [flow-label flow-label-value] [fragments] [log] [time-range time-range-name] OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 360
(IPv6) Chapter 6 Security Commands Send comments to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence , see "Source and Destination" in the "Usage Guidelines" section. 6-26 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 361
to [email protected] dscp dscp flow-label flow-label-value fragments (Optional) Specifies that the rule matches only packets with the specified 6-bit differentiated services value in the is contained only in initial fragments. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-27 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 362
and destination port numbers (Optional) Specifies the time range that applies to this rule. You can configure a time range by using the time-range command. (ICMP only: Optional) ICMPv6 message type create and change IP port-group objects. 6-28 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 363
arguments does not affect how you specify the other. When you configure a rule, use the following methods to specify the source and named lab-svrs-1301 to specify the destination argument: switch(config-acl)# deny ipv6 any addrgroup lab-svrs-1301 Cisco Nexus 5000 Series Command Reference 6-29 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 364
1319:8a2e:0370:7344 IPv6 address: switch(config-acl)# deny icmp host problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • reassembly-timeout-Reassembly timeout • redirect-Neighbor redirect • renum-command-Router renumbering command 6-30 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 365
(194) klogin-Kerberos login (543) kshell-Kerberos shell (544) login-Login (rlogin, 513) lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto-RP (496) pop2-Post ) tacacs-TAC Access Control System (49) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-31 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 366
Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and time-Time (37) who-Who service (rwho, 513) xdmcp-X Display Manager Control Protocol (177) 6-32 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 367
to [email protected] Examples This example shows how to configure an IPv6 ACL named acl-lab13-ipv6 with rules denying all TCP and UDP traffic from the 2001:0db8:85a3:: and 2001:0db8:69f2:: networks to the 2001:0db8:be03:2112:: network: switch# configure terminal switch(config)# ipv6 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 368
rule matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos-value switch assigns the rule a sequence number that is 10 greater than the last rule in the ACL. Command Modes MAC ACL configuration 6-34 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 369
cisco.com Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines When the switch applies a MAC ACL to a packet, it evaluates the packet with every rule in the ACL. The switch . When you configure a rule, use Cisco Nexus 5000 Series Command Reference 6-35 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 370
ip switch(config-mac-acl)# permit any any Related Commands Command mac access-list permit (MAC) remark show mac access-list Description Configures a MAC ACL. Configures a deny rule in a MAC ACL. Configures a remark in an ACL. Displays all MAC ACLs or one MAC ACL. 6-36 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 371
role configuration Command switch(config)# role name MyRole switch(config-role)# description User role for my user account. This example shows how to remove the description from a user role: switch(config)# role name MyRole switch(config-role)# no description OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 372
-group name MyGroup switch(config-role-featuregrp)# no feature callhome Related Commands Command role feature-group name show role feature-group Description Creates or configures a user role feature group. Displays the user role feature groups. 6-38 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 373
(config)# role name MyRole switch(config-role)# no interface policy deny Related Commands Command role name show role Description Creates or specifies a user role and enters user role configuration mode. Displays user role information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-39 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 374
allow ARP packets to be sent and received on an interface. Examples This example shows how to enter IP access list configuration mode for an IPv4 ACL named ip-acl-01: switch(config)# ip access-list ip-acl-01 switch(config-acl)# 6-40 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 375
IPv4) show ip access-lists Description Applies an IPv4 ACL to a VTY line. Configures a deny rule in an IPv4 ACL. Applies an IPv4 ACL to an interface. Configures a permit rule in an IPv4 ACL. Displays all IPv4 ACLs or a specific IPv4 ACL. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-41 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 376
inbound traffic. Command Default None Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This a port ACL: switch(config)# interface ethernet 1/2 switch(config-if)# ip port access-group ip-acl-01 in 6-42 Cisco Nexus 5000 Series Command Reference OL- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 377
show ip access-lists show running-config interface Description Configures an IPv4 ACL. Displays all ACLs. Shows either a specific IPv4 ACL or all IPv4 ACLs. Shows the running configuration of all interfaces or of a specific interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-43 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 378
ACL named ipv6-acl-01: switch(config)# ipv6 access-list ipv6-acl-01 switch(config-ipv6-acl)# Related Commands Command deny (IPv6) permit (IPv6) Description Configures a deny rule in an IPv6 ACL. Configures a permit rule in an IPv6 ACL. 6-44 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 379
Modes Interface configuration mode Command switch drops the packet and returns an ICMP host-unreachable message. If you delete the specified ACL from the device without removing the ACL from an interface, the deleted ACL does not affect traffic on the interface. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 380
1/3 switch(config-if)# no ipv6 port traffic-filter ipv6-acl in Related Commands Command ipv6 access-list show access-lists show ipv6 access-lists Description Configures an IPv6 ACL. Displays all ACLs. Shows either a specific IPv6 ACL or all IPv6 ACLs. 6-46 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 381
for a MAC ACL named mac-acl-01: switch(config)# mac access-list mac-acl-01 switch(config-acl)# Related Commands Command deny (MAC) mac access-group Description Configures a deny rule in a MAC ACL. Applies a MAC ACL to an interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-47 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 382
mac access-list Chapter 6 Security Commands Send comments to [email protected] Command permit (MAC) show mac access-lists Description Configures a permit rule in a MAC ACL. Displays all MAC ACLs or a specific MAC ACL. 6-48 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 383
sensitive characters long. Command Default None Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This command 1/2: switch(config)# interface ethernet 1/2 switch(config-if)# mac port access-group mac-acl-01 OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 384
lists show mac access-lists show running-config interface Description Configures a MAC ACL. Displays all ACLs. Shows either a specific MAC ACL or all MAC ACLs. Shows the running configuration of all interfaces or of a specific interface. 6-50 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 385
switch(config)# vlan access-map vlan-map-01 switch(config-access-map)# match ip address ip-acl-01 switch(config-access-map)# action forward switch map is applied. Configures a VLAN access map. Applies a VLAN access map to one or more VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 386
match Chapter 6 Security Commands Send comments to [email protected] 6-52 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 387
Chapter 6 Security Commands permit (IPv4) Send comments to [email protected] permit (IPv4) To create an IPv4 access control list (ACL) ] {[dscp dscp] | [precedence precedence]} [fragments] [log] [time-range time-range-name] OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-53 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 388
to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence number of the permit command, which causes the switch to insert the and Destination" in the "Usage Guidelines" section. 6-54 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 389
to [email protected] dscp dscp (Optional) Specifies that the rule matches only those packets with the specified 6-bit differentiated services value in ) • default-Default DSCP value (000000) • ef-Expedited Forwarding (101110) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-55 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 390
initial fragments. log (Optional) Specifies that the switch generates an informational logging message about each packet time range that applies to this rule. You can configure a time range by using the time-range command. icmp trace 6-56 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 391
permit (IPv4) Send comments to [email protected] operator port [port] portgroup portgroup flags Specifies that the rule matches only packets that belong to an established TCP connection. The switch considers TCP packets with the ACK or RST bits set to belong to an established - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 392
the ACL. Command Modes IPv4 ACL configuration Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines When the switch applies an IPv4 ACL to a packet IPv4-address/32 and IPv4-address 0.0.0.0. 6-58 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 393
to [email protected] The following example shows how to specify the source argument with the host keyword and the 192.168.67.132 IPv4 address: switch(config-acl)# needed and DF set • parameter-problem-All parameter problems OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-59 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 394
cmd-Remote commands (rcmd, 514) daytime-Daytime (13) discard-Discard (9) domain-Domain Name Service (53) drip-Dynamic Routing Information Protocol (3949) echo-Echo (7) exec-EXEC (rsh, ) kshell-Kerberos shell (544) login-Login (rlogin, 513) 6-60 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 395
Chapter 6 Security Commands permit (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto- -SNMP Traps (162) sunrpc-Sun Remote Procedure Call (111) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-61 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 396
.0.0/16 Related Commands Command deny (IPv4) ip access-list remark show ip access-lists Description Configures a deny rule in an IPv4 ACL. Configures an IPv4 ACL. Configures a remark in an ACL. Displays all IPv4 ACLs or one IPv4 ACL. 6-62 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 397
Chapter 6 Security Commands permit (IPv6) Send comments to [email protected] permit (IPv6) To create an IPv6 ACL rule that permits traffic dscp] [flow-label flow-label-value] [fragments] [log] [time-range time-range-name] OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-63 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 398
(IPv6) Chapter 6 Security Commands Send comments to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence , see "Source and Destination" in the "Usage Guidelines" section. 6-64 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 399
to [email protected] dscp dscp flow-label flow-label-value fragments (Optional) Specifies that the rule matches only packets with the specified 6-bit differentiated services value in the is contained only in initial fragments. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-65 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 400
and destination port numbers (Optional) Specifies the time range that applies to this rule. You can configure a time range by using the time-range command. (ICMP only: Optional) ICMPv6 message type create and change IP port-group objects. 6-66 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 401
arguments does not affect how you specify the other. When you configure a rule, use the following methods to specify the source and named lab-svrs-1301 to specify the destination argument: switch(config-acl)# permit ipv6 any addrgroup lab-svrs-1301 Cisco Nexus 5000 Series Command Reference 6-67 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 402
:8a2e:0370:7344 IPv6 address: switch(config-acl)# permit icmp host problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • reassembly-timeout-Reassembly timeout • redirect-Neighbor redirect • renum-command-Router renumbering command 6-68 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 403
(194) klogin-Kerberos login (543) kshell-Kerberos shell (544) login-Login (rlogin, 513) lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto-RP (496) pop2-Post ) tacacs-TAC Access Control System (49) OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-69 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 404
Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and time-Time (37) who-Who service (rwho, 513) xdmcp-X Display Manager Control Protocol (177) 6-70 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 405
-marketing switch(config-ipv6-acl)# permit ipv6 addrgroup eng_ipv6 addrgroup marketing_group Related Commands Command deny (IPv6) ipv6 access-list remark Description Configures a deny rule in an IPv6 ACL. Configures an IPv6 ACL. Configures a remark in an ACL. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 406
matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos-value switch assigns to the rule a sequence number that is 10 greater than the last rule in the ACL. Command Modes MAC ACL configuration 6-72 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 407
cisco.com Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines When the switch applies a MAC ACL to a packet, it evaluates the packet with every rule in the ACL. The switch . When you configure a rule, use Cisco Nexus 5000 Series Command Reference 6-73 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 408
.00ff.ffff ip Related Commands Command deny (MAC) mac access-list remark show mac access-list Description Configures a deny rule in a MAC ACL. Configures a MAC ACL. Configures a remark in an ACL. Displays all MAC ACLs or one MAC ACL. 6-74 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 409
switch(config)# role name MyRole switch(config-role)# interface policy deny switch(config-role-interface)# no permit interface ethernet 1/2 Related Commands Command Description interface policy deny Enters interface policy configuration mode for a user role. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 410
interface Chapter 6 Security Commands Send comments to [email protected] Command role name show role Description Creates or specifies a user role and enters user role configuration mode. Displays user role information. 6-76 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 411
configuration Command switch(config-role-vlan)# permit vlan 1, 10, 12, 20 This example shows how to remove a VLAN from a user role VLAN policy: switch(config)# role name MyRole switch(config-role)# vlan policy deny switch(config-role-vlan)# no permit vlan 2 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 412
Related Commands Command vlan policy deny role name show role Description Enters VLAN policy configuration mode for a user role. Creates or specifies a user role and enters user role configuration mode. Displays user role information. 6-78 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 413
Related Commands Command vrf policy deny role name show role Description Enters VRF policy configuration mode for a user role. Creates or specifies a user role and enters user role configuration mode. Displays user role information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-79 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 414
radius-server deadtime Chapter 6 Security Commands Send comments to [email protected] radius-server deadtime To configure the dead-time interval for all RADIUS servers on a Cisco Nexus 5000 Series switch, use the radius-server deadtime command. To revert to the default, use the no - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 415
requests to a specific RADIUS server when logging in: switch(config)# no radius-server directed-request Related Commands Command show radius-server directed-request Description Displays the directed request RADIUS server configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-81 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 416
Optional) Configures parameters to send test packets to the RADIUS server. Specifies the time interval (in minutes) for monitoring the server. The range is from 1 to 1440 minutes. Specifies a user password in the test packets. The maximum size is 32 characters. 6-82 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 417
idle-time 10 switch(config)# radius-server host 10.10.2.3 test username tester switch(config)# radius-server host 10.10.2.3 test password 2B9ka5 Related Commands Command show radius-server Description Displays RADIUS server information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-83 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 418
to configure RADIUS authentication: switch(config)# radius-server key AnyWord switch(config)# radius-server key 0 AnyWord switch(config)# radius-server key 7 public pac Related Commands Command show radius-server Description Displays RADIUS server information. 6-84 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 419
example shows how to configure the number of retransmissions to RADIUS servers: switch(config)# radius-server retransmit switch(config)# no radius-server retransmit 3 Related Commands Command show radius-server Description Displays RADIUS server information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 420
configure the timeout interval: switch(config)# radius-server timeout 30 This example shows how to revert to the default interval: switch(config)# no radius-server timeout 30 Related Commands Command show radius-server Description Displays RADIUS server information. 6-86 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 421
Modes IPv4 ACL configuration MAC ACL configuration Command History Release switch(config)# ip access-list acl-ipv4-01 switch(config-acl)# 100 remark this ACL denies the marketing department access to the lab switch(config-acl)# show access-list acl-ipv4-01 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 422
Chapter 6 Security Commands Send comments to [email protected] Related Commands Command ip access-list mac access-list show access-list Description Configures an IPv4 ACL. Configures a MAC ACL. Displays all ACLs or one ACL. 6-88 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 423
ACL or time range. Number that the switch adds to each subsequent sequence number. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification . The maximum sequence number is 4294967295. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-89 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 424
any eq echo 17 deny igmp any any switch(config)# resequence ip access-list ip-acl-01 100 10 switch(config)# show ip access-lists ip-acl-01 -lists Description Configures an IPv4 ACL. Configures a MAC ACL. Displays all ACLs or a specific ACL. 6-90 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 425
group and enter user role feature group configuration mode: switch(config)# role feature-group name MyGroup switch(config-role-featuregrp)# This example shows role feature group configuration mode. Displays the user role feature groups. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-91 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 426
-sensitive, alphanumeric character string. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines A Cisco Nexus 5000 Series switch provides the following default user roles: • Network Administrator - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 427
which is applied before rule 1. Examples This example shows how to add rules to a user role: switch(config)# role MyRole switch(config-role)# rule 1 deny command clear users switch(config-role)# rule 1 permit read-write feature-group L3 OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-93 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 428
from a user role: switch(config)# role MyRole switch(config-role)# no rule 10 Related Commands Command role name show role Description Creates or specifies a user role name and enters user role configuration mode. Displays the user roles. 6-94 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 429
aaa group server radius RadServer switch(config-radius)# server 10.10.1.1 This example shows how to delete a server from a RADIUS server group: switch(config)# aaa group server radius RadServer switch(config-radius)# no server 10.10.1.1 OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-95 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 430
-server groups tacacs-server host Description Configures AAA server groups. Enables TACACS+. Configures a RADIUS server. Displays RADIUS server group information. Displays TACACS+ server group information. Configures a TACACS+ server. 6-96 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 431
Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the configuration of the accounting log: switch# show aaa accounting OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-97 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 432
display the authentication login error enable configuration: switch# show aaa authentication login error-enable This example shows how to display the authentication login MSCHAP configuration: switch# show aaa authentication login mschap 6-98 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 433
show aaa groups Send comments to [email protected] show aaa groups To display AAA server group configuration, use the show aaa groups command. show example shows how to display AAA group information: switch# show aaa groups OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-99 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 434
(Optional) Name of an ACL to show. Command Default The switch shows all ACLs, unless you use the access-list-name argument to Configures an IPv4 ACL. Configures a MAC ACL. Displays all IPv4 ACLs or a specific IPv4 ACL. Displays all MAC ACLs or a specific MAC ACL. 6-100 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 435
[email protected] show switch# show accounting log This example shows how to display 400 bytes of the accounting log: switch 00:00 on February 16, 2008: switch# show accounting log start-time 2008 at 16:00:00 on February 29, 2008: switch# show accounting log start-time 2008 Feb 1 15 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 436
ACLs on the switch: switch# show ip access-lists Related Commands Command ip access-list show access-lists show mac access-lists Description Configures an IPv4 ACL. Displays all ACLs or a specific ACL. Displays all MAC ACLs or a specific MAC ACL. 6-102 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 437
: • The ACL configuration contains the statistics per-entry command. • The ACL is applied to an interface that is administratively up. Examples This example shows how to display all IPv6 ACLs on a switch: switch# show ipv6 access-lists OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-103 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 438
show ipv6 access-lists Chapter 6 Security Commands Send comments to [email protected] Related Commands Command ipv6 access-list Description Configures an IPv6 ACL. 6-104 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 439
the switch: switch# show mac access-lists Related Commands Command mac access-list show access-lists show ip access-lists Description Configures a MAC ACL. Displays all ACLs or a specific ACL. Displays all IPv4 ACLs or a specific IPv4 ACL. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 440
10.10.1.1 This example shows how to display the RADIUS directed request configuration: switch# show radius-server directed-request This example shows how to display information for RADIUS server groups: switch# show radius-server groups 6-106 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 441
to display statistics for a specified RADIUS servers: switch# show radius-server statistics 10.10.1.1 Related Commands Command show running-config radius Description Displays the RADIUS information in the running configuration file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-107 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 442
to display information for a specific user role: switch# show role name MyRole This example shows how to display information for all user roles: switch# show role Related Commands Command role name Description Configures user roles. 6-108 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 443
detailed information a specific user role feature: switch# show role feature name boot-variable Related Commands Command role feature-group rule Description Configures feature groups for user roles. Configures rules for user roles. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-109 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 444
information for a specific user role feature group: switch# show role feature-group name SecGroup Related Commands Command role feature-group rule Description Configures feature groups for user roles. Configures rules for user roles. 6-110 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 445
Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the configured AAA information in the running configuration: switch# show running-config aaa OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-111 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 446
was introduced. Examples This example shows how to display information for RADIUS in the running configuration: switch# show running-config radius Related Commands Command show radius-server Description Displays RADIUS information. 6-112 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 447
4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display user account, SSH server, and Telnet server information in the running configuration: switch# show running-config security OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-113 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 448
only when SSH is enabled using the ssh server enable command. Examples This example shows how to display the SSH server key: switch# show ssh key Related Commands Command ssh server key Description Configures the SSH server key. 6-114 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 449
Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the SSH server status: switch# show ssh server Related Commands Command ssh server enable Description Enables the SSH server. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-115 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 450
EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the AAA information in the startup configuration: switch# show startup-config aaa 6-116 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 451
EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the RADIUS information in the startup configuration: switch# show startup-config radius OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-117 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 452
(1a) Modification This command was introduced. Examples This example shows how to display the user account, SSH server, and Telnet server information in the startup configuration: switch# show startup-config security 6-118 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 453
This example shows how to display information for a specified TACACS+ server: switch# show tacacs-server 10.10.2.2 This example shows how to display the TACACS+ directed request configuration: switch# show tacacs-server directed-request OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-119 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 454
to display statistics for a specified TACACS+ server: switch# show tacacs-server statistics 10.10.2.2 Related Commands Command show running-config tacacs+ Description Displays the TACACS+ information in the running configuration file. 6-120 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 455
N1(1a) Modification This command was introduced. Examples This example shows how to display the Telnet server status: switch# show telnet server Related Commands Command telnet server enable Description Enables the Telnet server. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-121 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 456
This example shows how to display information about all the user accounts defined on the switch: switch# show user-account This example shows how to display information about a specific user account: switch# show user-account admin 6-122 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 457
. Examples This example shows how to display all the users currently logged on the switch: switch# show users Related Commands Command clear user username Description Logs out a specific user. Creates and configures a user account. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-123 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 458
the specified VLAN access map: switch# show vlan access-list configures a MAC ACL. Displays information about how a VLAN access map is applied. Displays all IPv4 ACLs or a specific IPv4 ACL. Displays all MAC ACLs or a specific MAC ACL. Configures a VLAN access map. 6-124 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 459
map-name (Optional) VLAN access map to show. Command Default The switch shows all VLAN access maps, unless you use the map-name argument to map is applied. Configures a VLAN access map. Applies a VLAN access map to one or more VLANs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-125 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 460
how to display all VLAN access map information on the switch: switch# show vlan filter Related Commands Command action match show vlan or a VLAN access map. Configures a VLAN access map. Applies a VLAN access map to one or more VLANs. 6-126 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 461
an SSH session using IPv4: switch# ssh 10.10.1.1 vrf management Related Commands Command clear ssh session ssh server enable ssh6 Description Clears SSH sessions. Enables the SSH server. Starts an SSH session using IPv6 addressing. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-127 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 462
session using IPv6: switch# ssh 2001:0DB8::200C:417A vrf management Related Commands Command clear ssh session ssh ssh server enable Description Clears SSH sessions. Starts an SSH session using IPv4 addressing. Enables the SSH server. 6-128 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 463
The range is from 768 to 2048. Command Default 1024-bit length. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The Cisco NX-OS software supports SSH version 2. If you want to remove or replace an SSH server key - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 464
SSH server keys: switch(config)# no ssh server enable switch(config)# no ssh key switch(config)# ssh server enable Related Commands Command show ssh key ssh server enable Description Displays the SSH server key information. Enables the SSH server. 6-130 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 465
This command has no arguments or keywords. Command Default Enabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to enable the SSH server - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 466
-control level command to enable traffic storm control on the interface, configure the traffic storm-control level, and apply the traffic storm-control the suppression threshold level: switch(config-if)# storm-control broadcast level 30 6-132 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 467
traffic: switch(config-if)# no storm-control multicast level Related Commands Command show interface show running-config Description Displays the storm-control suppression counters for an interface. Displays the configuration of the interface. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 468
tacacs+ command before you configure TACACS+. Examples This example shows how to configure the dead-time interval and enable periodic monitoring: switch(config)# tacacs-server deadtime TACACS+. Displays TACACS+ server information. 6-134 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 469
when logging in: switch(config)# no tacacs-server directed-request Related Commands Command feature tacacs+ show tacacs-server directed request Description Enables TACACS+. Displays a directed request TACACS+ server configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-135 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 470
) Configures a TACACS+ server timeout period (in seconds) between retransmissions to the TACACS+ server. The range is from 1 to 60 seconds. Command Default Idle time: disabled. Server monitoring: disabled. Timeout: 1 second. Test username: test. Test password: test. 6-136 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 471
server host 10.10.2.3 test username tester switch(config)# tacacs-server host 10.10.2.3 test password 2B9ka5 Related Commands Command feature tacacs+ show tacacs-server Description Enables TACACS+. Displays TACACS+ server information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-137 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 472
-server key AnyWord switch(config)# tacacs-server key 0 AnyWord switch(config)# tacacs-server key 7 public Related Commands Command feature tacacs+ show tacacs-server Description Enables TACACS+. Displays TACACS+ server information. 6-138 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 473
Default 1 second. Command Modes Configuration mode Command History Release 4.0(0)N1(1a switch(config)# no tacacs-server timeout 3 Related Commands Command feature tacacs+ show tacacs-server Description Enables TACACS+. Displays TACACS+ server information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 474
telnet Chapter 6 Security Commands Send comments to [email protected] telnet To create a Telnet session using IPv4 on a Cisco Nexus 5000 Series switch, use the telnet command. telnet {ipv4-address | hostname} [port-number] [vrf vrf-name] Syntax Description ipv4-address hostname port - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 475
Modes Configuration mode Command switch(config)# telnet server enable This example shows how to disable the Telnet server: switch(config)# no telnet server enable Related Commands Command show telnet server Description Displays the Telnet server status. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 476
telnet6 Chapter 6 Security Commands Send comments to [email protected] telnet6 To create a Telnet session using IPv6 on the example shows how to start a Telnet session using an IPv6 address: switch# telnet6 2001:0DB8:0:0:E000::F vrf management Related Commands Command clear line - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 477
tacacs+ TacServer switch(config-tacacs+)# use-vrf management This example shows how to remove the VRF instance from a TACACS+ server group: switch(config)# aaa group server tacacs+ TacServer switch(config-tacacs+)# no use-vrf management OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-143 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 478
tacacs-server host vrf Description Configures AAA server groups. Enables TACACS+. Configures a RADIUS server. Displays RADIUS server information. Displays TACACS+ server information. Configures a TACACS+ server. Configures a VRF instance. 6-144 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 479
Default No expiration date, password, or SSH key. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The switch accepts only strong passwords. The characteristics of a strong password include the following: • At - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 480
username user1 password Ci5co321 This example shows how to configure the SSH key for a user account: switch(config)# username user1 sshkey file bootflash:key_file Related Commands Command show user-account Description Displays the user account configuration. 6-146 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 481
[email protected] vlan access-map To create a new VLAN access map or to configure an existing switch(config)# vlan access-map vlan-map-01 switch(config-access-map)# match ip address ip-acl-01 switch(config-access-map)# action forward switch Cisco Nexus 5000 Series Command Reference 6-147 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 482
vlan-list VLAN-list Name of the VLAN access map that you want to create or configure. Specifies the ID of one or more VLANs whose traffic the VLAN access map filters. to VLANs 20 through 45: switch(config)# vlan filter vlan-map-01 20-45 6-148 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 483
6 Security Commands vlan filter Send comments to [email protected] Related Commands Command action match show vlan access-map map. Displays information about how a VLAN access map is applied. Configures a VLAN access map. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-149 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 484
: switch# configure terminal switch(config)# role name MyRole switch(config-role)# no vlan policy deny Related Commands Command role name show role Description Creates or specifies a user role and enters user role configuration mode. Displays user role information. 6-150 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 485
(config)# role name MyRole switch(config-role)# no vrf policy deny Related Commands Command role name show role Description Creates or specifies a user role and enters user role configuration mode. Displays user role information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 6-151 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 486
vrf policy deny Chapter 6 Security Commands Send comments to [email protected] 6-152 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 487
Send comments to [email protected] 7 C H A P T E R System Management Commands This chapter describes the system management commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 488
Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to clear the NVRAM logs: switch# clear logging nvram Related Commands Command show logging nvram Description Displays the NVRAM logs. Cisco Nexus 5000 Series Command Reference 7-2 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 489
) entries: switch# clear logging onboard obfl-log The following example shows how to clear the OBFL stack trace entries: switch# clear logging onboard stack-trace Related Commands Command Description show logging onboard Displays onboard failure logs. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 490
) Modification This command was introduced. Examples This example shows how to clear the current logging session: switch# clear logging session Related Commands Command Description show logging session Displays logging session status. Cisco Nexus 5000 Series Command Reference 7-4 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 491
Management Commands clear ntp session Send comments to [email protected] clear ntp session To clear the Network Time Protocol progress: switch# clear ntp session Related Commands Command show ntp Description Displays NTP information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 492
4.0(0)N1(1a) Modification This command was introduced. Examples The following example shows how to discard the NTP I/O statistics: switch# clear ntp statistics io Related Commands Command show ntp Description Displays NTP information. Cisco Nexus 5000 Series Command Reference 7-6 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 493
with a severity level of 4 (warning) or higher to the console session: switch# configure terminal switch(config)# logging console 4 Related Commands Command Description show logging console Displays the console logging configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-7 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 494
command was introduced. Examples This example shows how to log interface events: switch# configure terminal switch(config)# logging event link-status default Related Commands Command show logging Description Displays the logging status. Cisco Nexus 5000 Series Command Reference 7-8 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 495
configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# logging event port link-status default Related Commands Command show interface show logging Description Displays the interface configuration information. Displays the logging status. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 496
Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to enable logging messages from the AAA facility that have a severity level of 2 or higher: switch(config)# logging level aaa 2 7-10 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 497
Chapter 7 System Management Commands logging level Send comments to [email protected] Related Commands Command show logging level Description Displays the facility logging level configuration. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-11 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 498
Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to configure a log file called logfile to store system messages and set its severity level to 4: switch(config)# logging logfile logfile 4 7-12 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 499
Chapter 7 System Management Commands logging logfile Send comments to [email protected] Related Commands Command show logging logfile Description Displays the log file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 500
Appears during debugging only Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This switch(config)# logging module Related Commands Command Description show logging module Displays the module logging status. 7-14 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 501
cisco.com logging monitor Use the logging monitor command to enable the device to log messages to the monitor (terminal line). This configuration Default None Command Modes Configuration mode Command History Release to enable monitor log messages: switch(config)# logging monitor Related Commands - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 502
4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to configure a remote syslog server at a specified IPv4 address, using the default outgoing facility: switch(config)# logging server 172.28.254.253 7-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 503
how to configure a remote syslog server at a specified host name, with severity level 5 or higher: switch(config)# logging server syslogA 5 Related Commands Command show logging server Description Displays the configured syslog servers. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 504
This example shows how to set the logging timestamp units to microseconds: switch(config)# logging timestamp microseconds Related Commands Command show logging timestamp Description Displays the logging timestamp configuration. 7-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 505
Chapter 7 System Management Commands ntp Send comments to [email protected] ntp To configure the NTP peers and servers for the switch, use the ntp command. Use the no form of this command to remove configured peers and servers. ntp {peer hostname | server hostname} [prefer] [use-vrf vrf- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 506
the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress, use the ntp abort command. ntp abort Syntax Description This command has no other arguments or keywords. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 507
cisco.com ntp commit To apply the pending configuration pertaining to the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress in the fabric how to commit changes to the active NTP configuration: switch(config)# ntp commit Related Commands Command ntp - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 508
to distribute the active NTP configuration to the fabric: switch(config)# ntp distribute Related Commands Command ntp commit show ntp Description Commits the NTP configuration changes to the active configuration. Displays NTP information. 7-22 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 509
sync-retry Send comments to [email protected] ntp sync-retry To retry synchronization with the configured NTP servers, use the ntp sync following example shows how to retry synchronization with the configured NTP servers: switch# ntp sync-retry Related Commands Command ntp distribute - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 510
This command was introduced. Examples This example shows how to display the console logging configuration: switch# show logging console Related Commands Command logging console Description Configures logging to the console. 7-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 511
Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples This example shows how to display the logging configuration: switch# show logging info OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 512
last Chapter 7 System Management Commands Send comments to [email protected] show logging last Use the show logging last command to display how to display the last 42 lines of the log file: switch# show logging last 42 7-26 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 513
. Examples This example shows how to display the EtherChannel logging severity level configuration: switch# show logging level port-channel Related Commands Command logging level Description Configures the facility logging level. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-27 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 514
how to display the messages in the log file that were timestamped within the span shown: switch# show logging logfile start-time 2008 mar 11 12:10:00 Related Commands Command logging logfile Description Configures logging to a log file. 7-28 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 515
N1(1a) Modification This command was introduced. Examples This example shows how to display the module logging configuration: switch# show logging module Related Commands Command logging module Description Configures module logging. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-29 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 516
This command was introduced. Examples This example shows how to display the monitor logging configuration: switch# show logging monitor Related Commands Command logging monitor Description Configures logging on the monitor. 7-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 517
System Management Commands show logging nvram Send comments to [email protected] show logging nvram Use the show logging nvram command to to display the last 20 messages in the NVRAM log: switch# show logging nvram last 20 OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-31 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 518
-history Displays the OBFL history information. obfl-logs Displays the OBFL technical support log information. stack-trace Displays the OBFL kernel stack trace information. starttime 15:04:57 The valid values for file are as follows: 7-32 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 519
Chapter 7 System Management Commands show logging onboard Send comments to [email protected] • bootflash: • ftp: • scp: • sftp: • tftp: • volatile: The valid values for type are • less [-E | -d]-Quits at the end of the file. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-33 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 520
important events and messages that can assist with diagnosing problems with hardware cards or modules installed in a Cisco router or switch. Data is logged to files stored in nonvolatile and output system (BIOS) version. Firmware version. 7-34 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 521
when OBFL is manually disabled. • Timestamp when OBFL is manually enabled. • Timestamp when OBFL data is manually cleared. This example shows how to display the OBFL kernel stack trace information: switch# show logging onboard stack-trace OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-35 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 522
show logging onboard Chapter 7 System Management Commands Send comments to [email protected] The show logging onboard stack-trace command displays the following information: • or disabled OBFL entries based on the error type. 7-36 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 523
Modification This command was introduced. Examples This example shows how to display the syslog server configuration: switch# show logging server Related Commands Command logging server Description Configures a remote syslog server. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-37 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 524
Chapter 7 System Management Commands Send comments to [email protected] show logging session status Use the show logging session status shows how to display the logging session status: switch# show logging session status 7-38 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 525
Management Commands show logging status Send comments to [email protected] show logging status Use the show logging status command to This example shows how to display the logging status: switch# show logging status OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-39 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 526
was introduced. Examples This example shows how to display the logging timestamp configuration: switch# show logging timestamp Related Commands Command logging timestamp Description Configures the logging timestamp granularity. 7-40 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 527
Commands show ntp peer-status Send comments to [email protected] show ntp peer-status To do display the license. Examples This example shows how to display the peer status for NTP: switch(config)# show ntp peer-status Related Commands Command show ntp peers Description Displays - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 528
7 System Management Commands Send comments to [email protected] show ntp peers To display information about Network switch(config)# show ntp peers Related Commands Command Description show ntp peer-status Displays status information about NTP peers. 7-42 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 529
ntp statistics Send comments to [email protected] show ntp statistics To display Network ipaddr address Displays statistics for the peer with the configured IPv4 or IPv6 address. The IPv4 address format is example displays statistics for NTP: switch(config)# show ntp statistics local - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 530
Chapter 7 System Management Commands Send comments to [email protected] show ntp timestamp-status To display the Network Time This example displays the NTP timestamp status: switch(config)# show ntp timestamp-status 7-44 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 531
cisco.com System Message Logging Facilities Table 7-3 lists the facilities that you can use in system message logging configuration for Device Alias Distribution Service. delta statistics syslog for evmc syslog messages. fabric start cfg mgr syslog Cisco Nexus 5000 Series Command Reference 7-45 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 532
plugin port port-channel qd radius rdl res_mgr rib Description Feature manager syslog level. Configure level for flogi syslog messages. fs daemon syslog level. FSPF syslog level. Sets level res_mgr syslog messages. Sets level for rib. 7-46 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 533
System Management Commands System Message Logging Facilities Send comments to [email protected] Table 7-3 System Message Logging Facilities (continued) Facility rlir rscn zone server. Sets level for zschk syslog messages. OL-16599-01 Cisco Nexus 5000 Series Command Reference 7-47 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 534
System Message Logging Facilities Chapter 7 System Management Commands Send comments to [email protected] 7-48 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 535
Send comments to [email protected] 8 C H A P T E R Fibre Channel Commands This chapter describes the Cisco NX-OS Fibre Channel and virtual Fibre Channel commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 536
comments to [email protected] cfs distribute To enable or disable Cisco Fabric Services (CFS) distribution on the switch, use the cfs distribute mode, fabric-wide distribution is enabled. Applications can distribute configuration data to all CFS-capable switches in the fabric where the - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 537
[email protected] cfs ipv4 distribute To enable Cisco Fabric Services (CFS Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines All CFS over IP enabled switches with similar multicast addresses form one CFS over IP fabric - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 538
.com Related Commands Command Description cfs ipv4 mcast-address Configures an IPv4 multicast address for Cisco Fabric Services (CFS) distribution over IPv4. show cfs status Displays whether CFS distribution is enabled or disabled. Cisco Nexus 5000 Series Command Reference 8-4 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 539
cisco.com cfs ipv4 mcast-address To configure an IPv4 multicast address for Cisco Fabric Services Configuration switches with similar multicast addresses form one CFS over IP fabric configure an IP multicast address for CFS over IPv4: switch CFS distribution over IPv4: switch(config)# no cfs ipv4 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 540
comments to [email protected] Related Commands Command cfs ipv4 distribute show cfs status Description Enables or disables Cisco Fabric Services (CFS) distribution over IPv4. Displays whether CFS distribution is enabled or disabled. Cisco Nexus 5000 Series Command Reference 8-6 OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 541
[email protected] cfs ipv6 distribute To enable Cisco Fabric Services (CFS Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines All CFS over IP enabled switches with similar multicast addresses form one CFS over IP fabric - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 542
.com Related Commands Command Description cfs ipv6 mcast-address Configures an IPv6 multicast address for Cisco Fabric Services (CFS) distribution over IPv6. show cfs status Displays whether CFS distribution is enabled or disabled. Cisco Nexus 5000 Series Command Reference 8-8 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 543
cisco.com cfs ipv6 mcast-address To configure an IPv6 multicast address for Cisco Fabric Services Configuration switches with similar multicast addresses form one CFS over IP fabric configure an IP multicast address for CFS over IPv6: switch CFS distribution over IPv6: switch(config)# no cfs ipv6 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 544
comments to [email protected] Related Commands Command cfs ipv6 distribute show cfs status Description Enables or disables Cisco Fabric Services (CFS) distribution over IPv6. Displays whether CFS distribution is enabled or disabled. 8-10 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 545
restricted to switches with a similar region ID. Cisco Fabric Services (CFS) regions provide the ability to create distribution islands within the application scope. Currently, the regions are supported only for physical scope applications. In the absence of any region configuration, the application - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 546
Default Staggered merge is disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification switch(config)# cfs staggered-merge enable Related Commands Command show cfs status Description Displays whether staggered merge is enabled. 8-12 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 547
Fibre Channel Commands clear device-alias Send comments to [email protected] clear device-alias To clear device alias information, use The following example shows how to clear the device alias session: switch# clear device-alias session Related Commands Command show device-alias - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 548
The following example shows how to clear the entire list of configured hosts for remote capture: switch# clear fcdomain Related Commands Command show fcdomain Description Displays the list of hosts configured for a remote capture. 8-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 549
Channel Commands clear fcflow stats Send comments to [email protected] clear fcflow stats To clear Fibre Channel flow statistics how to clear aggregated Fibre Channel flow statistics for flow index 1: switch(config)# clear fcflow stats aggregated index 1 Related Commands Command show - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 550
command was introduced. Examples The following example shows how to clear the name server statistics: switch# clear fcns statistics vsan 1 Related Commands Command show fcns statistics Description Displays the name server statistics. 8-16 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 551
(1a) Modification This command was introduced. Examples The following example shows how to clear the FSCM log: switch# clear fcsm log Related Commands Command show fcs Description Displays the fabric configuration server information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-17 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 552
shows how to clear the fabric configuration server statistics for VSAN 10: switch# clear fcs statistics vsan 10 Related Commands Command show fcs statistics Description Displays the fabric configuration server statistics information. 8-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 553
comments to [email protected] clear fctimer session To clear fctimer Cisco Fabric Services (CFS) session configuration and locks, use switch# clear fctimer session Related Commands Command show fctimer Description Displays fctimer information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 554
Send comments to [email protected] clear fspf counters To clear the Fabric Shortest Path First (FSPF) switch# clear fspf counters vsan 1 interface fc 3/2 Related Commands Command show fspf Description Displays global FSPF information for a specific VSAN. 8-20 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 555
clears learned entries in the active database up to for the entire VSAN: switch# clear port-security database auto-learn vsan 1 Related Commands Command show port-security Description Displays the configured port security information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-21 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 556
) Modification This command was introduced. Examples The following example shows how to clear RLIR statistics for VSAN 1: switch# clear rlir statistics vsan 1 Related Commands Command show rlir Description Displays RLIR information. 8-22 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 557
Commands clear rscn session Send comments to [email protected] clear rscn session To clear a Registered State switch# clear rscn session vsan 1 Related Commands Command rscn show rscn Description Configures an RSCN. Displays RSCN information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 558
) Modification This command was introduced. Examples The following example shows how to clear RSCN statistics for VSAN 1: switch# clear rscn statistics vsan 1 Related Commands Command show rscn Description Displays RSCN information. 8-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 559
The following example shows how to clear all configured information in the zone server for VSAN 1: switch# clear zone database vsan 1 Related Commands Command show zone Description Displays zone information for any configured interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 560
Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress, use the device-alias abort command. device-alias abort Syntax Description This command has no other arguments or keywords. Command Default None Command Modes Configuration mode Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 561
-alias commit Send comments to [email protected] device-alias commit To apply the pending configuration pertaining to the Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the device-alias commit command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 562
[email protected] device-alias database To initiate a Distributed Device Alias Services (device alias) session and configure the device locks all the databases on all the switches in this fabrics. When you exit device alias database configuration mode, the device alias session ends and - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 563
[email protected] device-alias distribute To enable Cisco Fabric Services (CFS) distribution for Distributed Device Alias Services (device alias database. Configures and activates the device alias database. Displays device alias information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 564
fcalias table can distributed to all other switches in the physical fabric using the device-alias distribute command so Configures and activates the device alias database. Distributes fcalias database changes to the fabric. Displays device alias database information. 8-30 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 565
alias enhanced mode: switch(config)# device-alias mode enhanced Related Commands Command device-alias database show device-alias Description Enters device alias database configuration mode. Displays device alias database information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-31 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 566
database switch(config-device-alias-db)# device-alias name Device1 pwwn 21:00:00:20:37:6f:db:bb Related Commands Command device-alias database show device-alias Description Enters device alias database configuration mode. Displays device alias database information. 8-32 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 567
database switch(config-device-alias-db)# device-alias rename Device1 Device2 Related Commands Command device-alias database show device-alias Description Enters device alias database configuration mode. Displays device alias database information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 568
discovery for the specified VSAN and domain ID: switch# discover custom-list add vsan 1 domain 2 The following example deletes the specified VSAN and domain ID from the customized list: switch# discover custom-list delete vsan 1 domain 2 8-34 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 569
to [email protected] discover scsi-target To discover SCSI targets on local storage to the switch or remote storage across the fabric, use the example shows how to discover local targets assigned to all OSs: switch# discover scsi-target local os all discovery started The following - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 570
:00:00:00:00:00 PRLI RSP: 0x01 SPARM: 0x0012... The following example begins discovering targets from a customized list assigned to the Linux operating system: switch# discover scsi-target custom-list os linux discovery started 8-36 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 571
: switch(config)# fabric profile reliable-multicast The following example sets the fabric profile to the default value: switch(config)# no fabric profile Related Commands Command show fabric profile Description Displays the current setting of the fabric. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 572
(if no state is configured): switch(config)# no fabric-binding activate vsan 1 force Related Commands Command fabric-binding database fabric-binding enable Description Configures a fabric-binding database. Enables fabric-binding. 8-38 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 573
copies from the active database to the configuration database in VSAN 1: switch# fabric-binding database copy vsan 1 Related Commands Command fabric-binding diff Description Provides the differences between the fabric-binding databases. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-39 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 574
differences between the configuration database and the active database: switch# fabric-binding database diff config vsan 1 Related Commands Command fabric-binding copy Description Copies from the active to the configuration fabric binding database. 8-40 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 575
database vsan 10 The following example deletes the sWWN and domain ID of a switch from the configured database list: switch(config)# fabric-binding database vsan 5 switch(config-fabric-binding)# no swwn 21:00:15:30:23:1a:11:03 domain 101 OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-41 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 576
binding database vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] Related Commands Command fabric-binding activate fabric-binding enable Description Activates fabric-binding. Enables fabric-binding. 8-42 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 577
example disables fabric binding on that switch: switch(config)# no fabric-binding enable Related Commands Command fabric-binding activate fabric-binding database Description Activates fabric-binding. Configures a fabric-binding database. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 578
comments to [email protected] fcalias clone To is from 1 to 4093. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command named origAlias to cloneAlias on VSAN 45: switch(config)# fcalias clone origAlias cloneAlias vsan 45 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 579
how to configure an fcalias called AliasSample on VSAN 3: switch(config)# fcalias name AliasSample vsan 3 switch(config-fcalias)# Related Commands Command member (fcalias configuration mode) Description Configures alias members for a specified zone. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 580
The following example shows how to rename an fcalias: switch(config)# fcalias rename oldalias newalias vsan 10 Related Commands Command fcalias name show fcalias Description Configures fcalias names. Displays fcalias information. 8-46 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 581
or nondisruptive reconfiguration. (Optional) Forces the disruptive fabric reconfiguration. Command Default Enabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-47 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 582
shows how configure the fabric world wide name (fWWN) for VSAN3: switch(config)# fcdomain fabric-name 20:1:ac:16:5e:0:21:01 vsan 3 Related Commands Command show fcdomain Description Displays global information about the Fibre Channel domain configurations. 8-48 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 583
Command Description fcdomain Configures Fibre Channel domain features. fcdomain commit vsan Commits cached data and releases the lock. show fcdomain Displays global information about the Fibre Channel domain configurations. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-49 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 584
fcdomain fcdomain abort vsan show fcdomain Description Configures Fibre Channel domain features. Flushes cached data without committing and releases the lock. Displays global information about the Fibre Channel domain configurations. 8-50 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 585
disables fabric distribution using CFS: switch(config)# no fcdomain distribute Related Commands Command fcdomain show fcdomain Description Configures Fibre Channel domain features. Displays global information about the Fibre Channel domain configurations. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 586
switch(config-if)# fcdomain rcf-reject vsan 1 Related Commands Command show fcdomain show interface fc Description Displays global information about the Fibre Channel domain configurations. Displays an interface configuration for a specified Fibre Channel interface. 8-52 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 587
The following example shows how to revert to the default switch latency: switch(config)# no fcdroplatency switch 4000 Related Commands Command show fcdroplatency Description Displays the configured Fibre Channel drop latency parameters. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-53 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 588
id destination-fcid source-fcid netmask Configures aggregated fcflow statistics. Specifies a switch(config)# fcflow stats index 1 0x145601 0x5601 0xffffff vsan 1 The following example disables the flow counter for index 1001: switch(config)# no fcflow stats index 1001 8-54 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 589
Chapter 8 Fibre Channel Commands fcflow stats Send comments to [email protected] Related Commands Command show fcflow stats Description Displays the configured Fibre Channel drop latency parameters. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-55 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 590
Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines Fibre Channel standards require a unique FCID to be allocated to an N port attached to a Fx port in any switch. To conserve the number of FCIDs used, Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 591
how the switch assigns FCIDs. Examples The following example sets the FCID allocation to flat: switch(config)# fcinterop fcid-allocation flat Related Commands Command show flogi database Description Displays the fabric login (FLOGI) table. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 592
Commands Send comments to [email protected] fcns no-auto-poll To hh:hh:hh:hh:hh. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command how to disable automatic polling for VSAN 2: switch(config)# fcns no-auto-poll vsan 2 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 593
using the CLI or the Cisco Fabric Manager. All name server registration requests come from the same port whose parameter is registered or changed. If it does not, then the request is rejected. Examples The following example shows configuring a proxy port for VSAN 2: switch(config)# fcns proxy-port - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 594
Disabled. Command Modes Configuration mode Command History Release switch(config)# fcns reject-duplicate-pwwn vsan 2 Related Commands Command show fcns Description Displays the name server database and statistical information for a specified VSAN or for all VSANs. 8-60 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 595
is 1 to 10. (Optional) Specifies the priority the frame receives in the switch fabric. The range is 0 to 1. Command Default None Command Modes EXEC mode . A value of 0 will ping forever. switch# fcping fcid 0xd70000 vsan 1 count 10 OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-61 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 596
is 5 seconds. The range is from 1 through 10 seconds. switch# fcping fcid 0xd500b4 vsan 1 timeout 10 The following example displays fcping operation using the device alias of the specified destination: switch# fcping device-alias x vsan 1 8-62 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 597
switch. The range is 1 to 239. Specifies the cost of the route. The range is 1 to 65535. Default cost is 10. Configures the static route for a destination switch hop switch for VSAN 4: switch(config)# fcroute 0x111211 interface san-port-channel 1 domain 3 vsan 4 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 598
the next hop switch, the cost of the route, and configures the static route for a destination switch remotely connected for VSAN 3: switch(config)# fcroute route map configuration and status. Activates the preferred path Fibre Channel route map. 8-64 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 599
The following example shows how to enable FCS platform and node-name checking fabric wide: switch(config)# fcs plat-check-global vsan 2 Related Commands Command show fcs Description Displays fabric configuration server information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-65 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 600
This command was introduced. Examples The following example shows how to register FCS attributes: switch(config)# fcs register Related Commands Command show fcs Description Displays fabric configuration server information. 8-66 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 601
2-4 The following example shows how to add to more than one range of VSANs: switch(config)# fcs virtual-device-add vsan-ranges 2-4,5-8 Related Commands Command show fcs Description Displays fabric configuration server information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-67 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 602
Chapter 8 Fibre Channel Commands fcsp Send comments to [email protected] fcsp To configure an Fibre Channel Security Protocol (FC-SP) authentication mode for a specific interface in a FC-SP-enabled switch, use the fcsp command. To disable an FC-SP on the interface, use the no form of the - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 603
Chapter 8 Fibre Channel Commands fcsp Send comments to [email protected] Related Commands Command fcsp enable show interface Description Enables FC-SP. Displays an interface configuration for a specified interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-69 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 604
the hash algorithm may prevent RADIUS or TACACS+ usage. If you change the DH group configuration, ensure to change it globally for all switches in the fabric. Examples The following example enables FC-SP: switch(config)# # fcsp enable 8-70 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 605
following example configures a password entered in an encrypted format for the local switch: switch(config)# fcsp dhchap password 7 sfsfdf Related Commands Command fcsp enable show fcsp Description Enable FC-SP. Displays configured FC-SP information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 606
History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example enables FC-SP: switch(config)# fcsp enable Related Commands Command show fcsp Description Displays configured FC-SP information. 8-72 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 607
following example configures the FCSP reauthentication on a virtual Fibre Channel interface: switch# fcsp reauthenticate vfc 1 Related Commands Command fcsp enable show fcsp Description Enable FC-SP. Displays configured FC-SP information. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 608
Examples The following example configures the FCSP timeout value: switch(config)# fcsp enable switch(config)# fcsp timeout 60 Related Commands Command fcsp enable show fcsp Description Enable FC-SP. Displays configured FC-SP information. 8-74 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 609
vsan vsan-id Specifies the distributed services timeout value (DS_TOV). The range switch(config)# fctimer e_d_tov 5000 switch(config)# fctimer r_a_tov 7000 Related Commands Command show fctimer Description Displays the configured Fibre Channel timer values. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 610
a Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in progress, use the fctimer abort command. fctimer abort Syntax Description This command has no other arguments or keywords. Command Default None Command Modes Configuration mode Command History Release Release - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 611
cisco.com fctimer commit To apply the pending configuration pertaining to the Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in progress in the fabric changes to the active Fibre Channel timer configuration: switch(config)# fctimer commit Related Commands Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 612
Fibre Channel timers: switch(config)# fctimer distribute Related Commands Command fctimer commit show fctimer Description Commits the Fibre Channel timer configuration changes to the active configuration. Displays fctimer information. 8-78 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 613
Specifies a VSAN ID. The range is 1 to 4093. Configures the timeout value. The range is 1 to 10. Command switch# fctrace fcid 0x660000 vsan 1 The following example traces a route to the specified device alias in VSAN 1: switch# fctrace device-alias x vsan 1 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 614
not suppressed. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example suppresses FDMI updates in VSAN 1: switch# fdmi suppress-updates vsan 1 8-80 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 615
a domain will be accepted by switch. The parameter ls-arrival-time is configuring min-ls-arrival, the default value for FSPF is 1000 milliseconds. If configuring min-ls-interval, the default value for FSPF is 5000 milliseconds. Command Modes Configuration mode OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 616
the FSPF configuration in VSAN 3: switch(config)# fspf config vsan 1 switch(fspf-config)# spf static switch(fspf-config)# exit switch(config)# no fspf config vsan 3 switch(config)# Related link state updates in specified VSAN 8-82 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 617
fc 2/1 switch(config-if)# fspf cost 5000 vsan 1 Related Commands Command show fspf interface show interface fc Description Displays information for each selected interface. Displays an interface configuration for a specified Fibre Channel interface. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 618
fc 2/1 switch(config-if)# fspf dead-interval 4000 vsan 1 Related Commands Command show fspf interface show interface fc Description Displays information for each selected interface. Displays an interface configuration for a specified Fibre Channel interface. 8-84 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 619
VSAN 7: switch(config)# fspf enable vsan 5 switch(config)# no fspf enable vsan 7 Related Commands Command fspf config vsan show fspf interface Description Configures FSPF features for a VSAN. Displays information for each selected interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 620
Fibre Channel interfaces. This command configures FSPF for the specified Fibre switch(config)# interface fc 2/1 switch(config-if)# fspf hello-interval 3 vsan 1 Related Commands Command show fspf interface Description Displays information for each selected interface. 8-86 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 621
fc 2/1 switch(config-if)# fspf passive vsan 1 Related Commands Command show fspf interface show interface fc Description Displays information for each selected interface. Displays an interface configuration for a specified FCIP interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 622
fc 2/1 switch(config-if)# fspf retransmit-interval 6 vsan 1 Related Commands Command show fspf interface show interface fc Description Displays information for each selected interface. Displays an interface configuration for a specified FCIP interface. 8-88 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 623
dash. Command Default Disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) switch(config)# no in-order-guarantee vsan 101 Related Commands Command show in-order-guarantee Description Displays the in-order-guarantee status. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 624
8 Fibre Channel Commands Send comments to [email protected] interface fc To configure a Fibre Channel interface on a Cisco Nexus 5000 Series switch, use the interface fc command. The interface fc command enters interface configuration mode, which includes five commands (each with a no - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 625
- 5 , fc 2/5 - 7 Refer to the Cisco Nexus 5000 Series CLI Configuration Guide for information on port number allocation. Use the no shutdown configuring the interface in a manually configured channel group. Examples The following example configures ports 1 to 4 in Fibre Channel interface 3: switch - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 626
interface san-port-channel Chapter 8 Fibre Channel Commands Send comments to [email protected] interface san-port-channel To configure a SAN port channel interface on a Cisco Nexus 5000 Series switch, use the interface san-port-channel command. The interface san-port-channel command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 627
SAN port channel interface 3: switch(config)# interface san-port-channel 3 Related Commands Command show interface shutdown Description Displays an interface configuration for a specified interface. Disables and enables an interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-93 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 628
interface vfc Chapter 8 Fibre Channel Commands Send comments to [email protected] interface vfc To configure a virtual Fibre Channel interface on a Cisco Nexus 5000 Series switch, use the interface vfc command. To revert to defaults, use the no form of the command. interface vfc vfc- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 629
Commands interface vfc Send comments to [email protected] Related Commands Command show interface shutdown Description Displays an interface configuration for a specified interface. Disables and enables an interface. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-95 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 630
abort To discard the logging Cisco Fabric Services (CFS) distribution session in progress, use the logging abort command. logging abort Syntax Description This command has no other arguments or keywords. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 631
Channel Commands logging commit Send comments to [email protected] logging commit To apply the pending configuration pertaining to the logging Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the logging commit command. logging commit Syntax Description - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 632
the distribute logging configuration changes: switch(config)# logging distribute Related Commands Command logging commit show logging Description Commits the logging configuration changes to the active configuration. Displays logging information. 8-98 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 633
Default None Command Modes Fcalias configuration mode Command History Release 4.0(0)N1 switch(config)# fcalias name samplealias The following example defines a Fibre Channel interface for the member: switch(switch(config-fcalias)# member interface fc3/1 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 634
example shows how to delete the specified member: switch(config-fcalias)# no member interface fc3/1 Related Commands Command fcalias name show fcalias Description Configures an alias. Displays the member name information in an alias. 8-100 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 635
mode and zoneset-zone configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines Create a zone set zone member only if you need to add member to a zone from the zone set prompt. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-101 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 636
on VSAN 1: switch(config)# zoneset name ZoneSet1 vsan 1 switch(config-zoneset- configuration mode) zone name (zone set configuration mode) show zoneset Description Used to specify a name for a zone set. Configures a zone in a zoneset. Displays zone set information. 8-102 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 637
Command Modes Zone set configuration mode Command History Release switch(config)# zoneset name Zoneset1 vsan 10 switch(config-zoneset)# member ZoneA Related Commands Command show zone zoneset name Description Displays zone information. Creates a zone set. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 638
all VSANs on the switch: switch(config)# npiv enable The following example disables NPIV for all VSANs on the switch: switch(config)# no npiv enable Related Commands Command show interface Description Displays interface configurations. 8-104 Cisco Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 639
comments to [email protected] npv auto- None Command Modes Configuration mode Command History balancing can be configured only in NPV server performs a new login to the core switch. This action causes traffic disruption on the attached disruptive load-balancing: switch(config)# npv auto- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 640
, all related configurations are automatically erased and the switch is rebooted. Examples The following example shows how to enable NPV mode: switch(config)# npv enable Related Commands Command show npv status Description Displays the NPV current status. 8-106 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 641
traffic-map Send comments to [email protected] npv traffic-map To configure a N Port Virtualization (NPV) traffic map, use the npv traffic map command. To disable this feature, use the no form of the command. This command is only available when the switch is operating in NPV mode. npv - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 642
specified VSAN. Enters the port security database configuration mode for the specified VSAN. Specifies learn command. In this case, you need to manually populate the port security database by individually securing switch(config)# port-security activate vsan 1 8-108 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 643
VSAN 1 port security database to activate even if there are conflicts: switch(config)# port-security activate vsan 1 force Related Commands Command show port-security database Description Displays configured port security information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-109 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 644
the port security Cisco Fabric Services (CFS) distribution session in progress, use the port-security abort command. port-security abort vsan vsan-id Syntax Description vsan vsan-id Specifies the VSAN ID. The range is 1 to 4093. Command Default None Command Modes Configuration mode Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 645
cisco.com port-security commit To apply the pending configuration pertaining to the port security Cisco Fabric Services (CFS) distribution session in progress in the fabric to commit changes to the active port security configuration: switch(config)# port-security commit vsan 13 Related Commands - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 646
and the configuration database: switch# port-security database diff active vsan 1 The following example provides information on the differences between the configuration database and the active database: switch# port-security database diff config vsan 1 8-112 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 647
[email protected] Related Commands Command Description port-security database Copies and provides information on the differences within the port security database. show port-security database Displays configured port security information. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 648
configuration to the fabric: switch(config)# port-security distribute Related Commands Command port-security commit show port-security Description Commits the port security configuration changes to the active configuration. Displays port security information. 8-114 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 649
Modes Configuration mode Command switch(config)# port-security enable The following example shows how to disable port security: switch(config)# no port-security enable Related Commands Command show port-security Description Displays port security information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 650
configured). Examples The following example shows how to enable port tracking: switch(config configuration and status information for a specified Fibre Channel interface. Displays configuration and status information for a specified SAN port channel interface. 8-116 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 651
that it is tracking: switch(config)# interface fc 2/2 switch(config-if)# no port-track configuration and status information for a specified Fibre Channel interface. Displays configuration and status information for a specified SAN port channel interface. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 652
tracking for specific interfaces: switch(config)# interface fc 2/3 switch(config-if)# port-track configuration and status information for a specified Fibre Channel interface. Displays configuration and status information for a specified SAN port channel interface. 8-118 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 653
following example shows how to purge all dynamic, unused FCIDs in VSAN 4: switch# purge fcdomain fcid vsan 4 The following example shows how to purge all dynamic, unused FCIDs in VSANs 4, 5, and 6: switch# purge fcdomain fcid vsan 4-6 OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-119 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 654
hosts and not to the configured preferred host. • The preferred switch(config)# rlir preferred-cond fcid 0x654321 vsan 2 The following example removes FC ID 0x654321 as the RLIR preferred host for VSAN 2: switch(config)# no rlir preferred-cond fcid 0x654321 vsan 2 8-120 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 655
Fibre Channel Commands rlir preferred-cond fcid Send comments to [email protected] Related Commands Command show rlir clear rlir debug rlir Description Displays (DRLIR) frames. Clears the RLIRs. Enables RLIR debugging. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-121 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 656
Chapter 8 Fibre Channel Commands rscn Send comments to [email protected] rscn To configure a registered state change notification (RSCN), which is a Fibre Channel service that informs N ports about changes in the fabric, use the rscn command. rscn {multi-pid | suppress domain-swrscn} vsan - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 657
distribute Enables the distribution of an RSCN configuration. rscn event-tov Configures an RSCN event timeout. clear rscn session vsan Clears the RSCN session for a specified VSAN. show rscn Displays RSCN configuration information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-123 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 658
. Usage Guidelines If you commit the changes made to the active database, the configuration is committed to all the switches in the fabric. On a successful commit, the configuration change is applied throughout the fabric and the lock is released. Examples The following example commits an RSCN - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 659
introduced. Usage Guidelines The RSCN timer configuration must be the same on all switches in the VSAN. Cisco Fabric Service (CFS) automatically distributes the RSCN timer configuration to all switches in a fabric. Only the RSCN timer configuration is distributed. Examples The following example - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 660
using the rscn distribute command. The RSCN timer is registered with Cisco Fabric Services (CFS) during initialization and switchover. Examples The following example configures an RSCN event timeout value on VSAN 1: switch(config)# rscn event-tov 20 vsan 1 Related Commands Command rscn abort - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 661
change the properties of an autocreated channel group to a persistent channel group: switch# san-port-channel 10 persistent Related Commands Command san-port-channel protocol show information. Displays SAN port channel information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-127 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 662
auto-poll vsan 1 The following example configures a SCSI target discovery: switch(config)# scsi-target discovery The following example configures SCSI target ns-polling discovery for VSAN 1: switch(config)# scsi-target ns-poll vsan 1 8-128 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 663
1 Related Commands Command discover scsi-target show scsi-target Description Discovers SCSI targets on local storage to the switch or remote storage across the fabric. Displays information about existing SCSI target configurations. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-129 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 664
-port and 48-port 4-Gbps switching module interfaces. Configures trunking parameters on the interface. Specifies the allowed list for interface(s). Configures the VSAN range. (Optional) Adds the VSAN ID to the range of allowed VSAN list 8-130 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 665
. Examples The following example configures switch port parameters for a Fibre Channel interface: switch(config)# interface fc 2/3 switch(config-if)# switchport description techdocsSample switch(config-if)# switchport mode E OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-131 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 666
)# interface vfc 2 switch(config-if)# switchport mode F Related Commands Command fcrxbbcredit extended enable show interface Description Enables extended BB_credits on the switch. Displays an interface configuration for a specified interface. 8-132 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 667
or keywords. Command Default None Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This errors command, the switch generates a syslog message when bit error threshold events are detected. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 668
the detection of bit error events from disabling the interface: switch(config)# interface fc2/1 switch(config-if)# no switchport ignore bit-errors Related Commands Command show interface Description Displays interface information. 8-134 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 669
The following example shows how to configure port shutdown: switch(config)# system default switchport shutdown The following example shows how to configure the trunk mode: switch(config)# system default switchport trunkmode auto OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-135 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 670
Commands Send comments to [email protected] Related Commands Command show system default switchport show interface brief Description Displays default values for switch port attributes. Displays Fibre Channel port modes. 8-136 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 671
Send comments to [email protected] system default zone default-zone permit To configure default values for a zone, switch(config)# system default zone default-zone permit The following example restores the default setting: switch(config Cisco Nexus 5000 Series Command Reference 8-137 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 672
Commands Send comments to [email protected] system default zone distribute full To configure default values for distribution to a values to the active zone set only: switch(config)# no system default zone distribute full 138 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 673
Guidelines If the trunking protocol is disabled on a switch, no port on that switch can apply new trunk configurations. Existing trunk configurations are not affected, and the TE port continues to function in trunking mode, but only supports traffic in VSANs that it negotiated previously (when the - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 674
to [email protected] vsan database To create multiple fabrics sharing the interface by slot and port number on the switch. Configures the SAN port channel interface specified by the the interop mode. The range is 1 to 4. Configures load-balancing scheme. Sets src-id/dst-id for - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 675
), you must suspend the VSAN. You should unsuspend the VSAN only after you configure a VSAN-dependent switch WWN with the McData OUI [08:00:88]. Examples The following example shows how to create multiple fabrics sharing the same physical infrastructure and how to assign ports to VSANs - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 676
vsan database Chapter 8 Fibre Channel Commands Send comments to [email protected] Related Commands Command wwn vsan Description Configures a WWN for a suspended VSAN that has Interop mode 4 enabled. 8-142 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 677
by an administrator or individual who is completely familiar with switch operations. For more information, refer to the Cisco Nexus 5000 Series CLI Configuration Guide. Examples The following example allocates a secondary range of MAC addresses: switch(config)# wwn secondary-mac 00:99:55:77:55:55 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 678
The VSAN must be suspended. • The VSAN must have interop mode 4 enabled before you can specify the switch WWN for it. • The switch WWN must be unique throughout the entire fabric. • The configured switch WWN must have McData OUI [08:00:88]. Examples The following example shows how to assign a WWN - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 679
[email protected] zone 1 to 4093. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification form of the zone name (configuration mode) command to delete the zone group cloneZone on VSAN 45: switch(config)# zone clone origZone cloneZone - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 680
Command Modes Configuration mode Command History switch where the lock originated. Examples The following example commits zoning changes to VSAN 200: switch(config)# zone commit vsan 200 Related Commands Command show zone Description Displays zone information. 8-146 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 681
ID. The range is 1 to 4093. Command Default None Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines 8000 zones are supported in a Cisco Nexus 5000 Series switch. If you attempt to merge VSANs, the merge will fail if - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 682
[email protected] . Copies the active zone set to the full-zone set. Configures to copy active zone set on a VSAN to full zone set zone set to the full zone set: switch# zone copy active-zoneset full-zoneset vsan to a remote location using SCP: switch# zone copy vsan 3 active-zoneset - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 683
permits default zoning in VSAN 2: switch(config)# zone default-zone permit vsan 2 Related Commands Command system default zone default-zone permit show zone Description Configures default values for a zone. Displays zone information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-149 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 684
is 1 to 4093. Command Default Disabled. Command Modes Configuration mode Command History Release Release 4.0 Modification This command switch(config)# zone merge-control restrict vsan 10 Related Commands Command show zone Description Displays zone information. 8-150 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 685
fabric. All switches in the fabric then enable enhanced zoning mode. Examples The following example shows how to enable enhanced zoning mode: switch(config)# zone mode enhanced vsan 10 Related Commands Command show zone Description Displays zone information. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 686
configures members for the specified zone (Zone2) based on the member type (pWWN, fabric pWWN, FCID, or Fibre Channel alias) and value specified: switch(config)# zone name Zone2 vsan 10 switch(config-zone)# member fcalias Payroll switch(config-zone)# member domain-id 2 portnumber 23 8-152 Cisco - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 687
zone name (configuration mode) Send comments to [email protected] Related Commands Command show zone zone rename zone-attribute-group name Description Displays zone information. Renames zones. Configures zone attribute groups. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 688
zone from a zone set: switch(config-zoneset)# no zone name Zone2 Related Commands Command show zoneset zone name (configuration mode) zoneset Description Displays zone set information. Configure zones. Configures zone set attributes. 8-154 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 689
was introduced. Examples The following example shows how to rename a zone: switch# zone rename ZoneA ZoneB vsan 10 Related Commands Command show zone zone name Description Displays zone information. Creates and configures zones. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-155 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 690
mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] zoneset (configuration mode) To group zones under one zone set, use the zoneset command. it has no effect on VSANs that have not yet been created. 8-156 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 691
in VSAN 22: switch(config)# zoneset distribute full vsan 22 Related Commands Command system default zone distribute full show zoneset Description Configures default values for distribution to a zone set Displays zone set information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-157 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 692
from the adjacent switch connected through the VSAN 2 interface: switch# zoneset import interface fc2/3 vsan 2 The following example exports the zone set database to the adjacent switch connected through VSAN 5: switch# zoneset export vsan 5 8-158 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 693
distributes the zone set in VSAN 333: switch# zoneset distribute vsan 333 Related Commands Command show zone status vsan show zoneset Description Displays the distribution status for the specified VSAN. Displays zone set information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-159 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 694
zoneset (EXEC mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] 8-160 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 695
Send comments to [email protected] 9 C H A P T E R Fibre Channel Show Commands This chapter describes the Cisco NX-OS Fibre Channel show commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 696
is the default configuration. Command Default None services that use CFS do not appear in the output unless those services are running. The following example shows how to display CFS information for the device alias application: switch# show cfs application name device-alias Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 697
@cisco.com The following example shows how to display CFS merge operation information for the device alias application: switch# show cfs merge status device-alias The following example shows whether or not CFS distribution is enabled: switch# show cfs status OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 698
available only when the switch is in NPV mode. Examples The following example shows all the NPV debug commands available on the switch: switch# show debug npv Related Commands Command debug npv Description Enables debugging NPV configurations. Cisco Nexus 5000 Series Command Reference 9-4 OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 699
how to display all global fcaliases and all VSAN dependent fcaliases: switch# show device-alias name efg The following example shows how to display all global fcaliases and all VSAN dependent fcaliases: switch# show device-alias statistics OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-5 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 700
to [email protected] Related Commands Command device-alias name device-alias database device-alias distribute Description Configures device alias names. Configures device alias information. Enables device alias CFS distribution. Cisco Nexus 5000 Series Command Reference 9-6 OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 701
: switch# show fabric-binding database vsan 4 The following example displays fabric binding statistics: switch# show fabric-binding statistics The following example displays fabric binding status for each VSAN: switch# show fabric-binding status OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 702
binding efmd statistics The following example displays EFMD statistics for a specified VSAN: switch# show fabric-binding efmd statistics vsan 4 The following example displays fabric binding violations: switch# show fabric-binding violations Cisco Nexus 5000 Series Command Reference 9-8 OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 703
example displays FC2 active socket information: switch# show fc2 socket The following example displays FC2 socket binding information: switch# show fc2 bind The following example displays FC2 local N port information: switch# show fc2 nport OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-9 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 704
N port PLOGI notifications for each socket: switch# show fc2 socknotify The following example displays FC2 local N ports for each socket: switch# show fc2 socknport The following example displays FC2 VSAN table: switch# show fc2 vsan 9-10 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 705
cryptic device name, add only one member per fcalias. Examples The following example displays fcalias configuration information: switch# show fcalias vsan 1 Related Commands Command fcalias name Description Configures fcalias names. OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-11 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 706
the fabric for the principal switch. switch. (Optional) Displays persistent FC IDs (across reboot). (Optional) Displays the pending configuration. (Optional) Displays the difference between the running configuration and the pending configuration Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 707
fcdomain pending-diff vsan 10 The following example displays the status of the distribution session: switch# show fcdomain session-status vsan 1 Related Commands Command fcdomain Description Configures the Fibre Channel domain feature. OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-13 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 708
Default None Command Modes EXEC mode. Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays the configured Fibre Channel latency parameters: switch# show fcdroplatency 9-14 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 709
[email protected] show fcflow stats To display the configured switch# show fcflow stats aggregated The following example displays fcflow details: switch# show fcflow stats The following example displays fcflow index usage: switch# show fcflow stats usage OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 710
Fibre Channel area company list of company IDs: switch# show fcid-allocation area Fcid area allocation company id 00:32:23 + Total company ids: 7 + - Additional user configured company ids. * - Explicitly deleted company ids from default list. Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 711
especially if the fabric is large or switch# show fcns database detail The following example displays the management VSAN (VSAN 2): switch# show fcns database vsan 2 The following example displays the database for all configured VSANs: switch# show fcns database OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 712
show fcns database Chapter 9 Fibre Channel Show Commands Send comments to [email protected] Related Commands Command fcns Description Configuration-mode command for name server configuration. 9-18 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 713
Show Commands show fcns statistics Send comments to [email protected] show fcns statistics To display the statistical information for displays statistical information for a specified VSAN: switch# show fcns statistics OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-19 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 714
. Command Default None Command Modes EXEC mode. Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays the FCoE status: switch# show fcoe 9-20 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 715
distance: switch# show fcroute distance The following example displays multicast routing information: switch# show fcroute multicast The following example displays FCID information for a specified VSAN: switch# show fcroute multicast vsan 3 OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 716
unicast 0x040101 0xffffff vsan 4 The following example displays route database information: switch# show fcroute summary The following example displays route database information for a specified VSAN: switch# show fcroute summary vsan 4 9-22 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 717
[email protected] show fcs Use the show fcs commands to display the status of the fabric configuration. switch# show fcs ie nwwn 20:01:00:05:30:00:16:df vsan 1 This command displays platform information: switch# show fcs platform name SamplePlatform vsan 1 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 718
within a specified VSAN: switch# show fcs port vsan 24 This command displays ports within a specified WWN: switch# show fcs port pwwn 20:51:00:05:30:00:16:de vsan 24 This command displays FCS statistics: switch# show fcs statistics 9-24 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 719
fc 2/1 wwn The following example displays hash algorithm and DHCHAP groups configured for the local switch: switch# show fcsp dhchap The following example displays the DHCHAP local password database: switch# show fcsp dhchap database OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-25 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 720
to [email protected] The following example displays he ASCII representation of the device WWN: switch# show fcsp asciiwwn 30:11:bb:cc:dd:33:11:22 Related Commands Command fcsp enable Description Enables the FC-SP feature for this switch. 9-26 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 721
distributed services time fabric stability configured global TOVs: switch# show fctimer The following example displays configured TOVs for a specified VSAN: switch# show fctimer vsan 10 Related Commands Command fctimer Description Configures fctimer parameters. OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 722
@cisco.com show fdmi To display the Fabric-Device that are configured to suppress switch# show fdmi database detail vsan 1 The following example displays details for the specified HBA entry: switch# show fdmi database detail Hba-id 21:01:00:e0:8b:2a:f6:54 vsan 1 9-28 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 723
by interface numbers and then by VSAN IDs. In a Fibre Channel fabric, each host or disk requires an FCID. Use the show flogi database command switch# show flogi database The following example displays the FLOGI interface: switch# show flogi database interface fc 2/3 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 724
flogi database vsan 1 The following example displays the FLOGI for a specific FCID: switch# show flogi database fcid 0xef02e2 Related Commands Command show fcns database Description Displays all the local and remote name server entries 9-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 725
interface to configure. Specifies the switch# show fspf interface vsan 1 fc2/1 The following example displays FSPF database information: switch# show fspf database vsan 1 This command displays FSPF information for a specified VSAN: switch# show fspf vsan 1 OL-16599-01 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 726
EXEC mode. Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays the present configuration status of the in-order delivery feature: switch# show in-order-guarantee 9-32 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 727
Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays the load-balancing information for the specified source and destination in VSAN 3: switch# show loadbalancing vsan 3 0x3345 0x2546 OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-33 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 728
to [email protected] show npv switch is in NPV mode. Examples The following example displays the information on NPV FLOGI session: switch# show npv flogi-table Related Commands Command show npv status Description Displays the NPV current status. 9-34 Cisco Nexus 5000 Series - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 729
only when the switch is in NPV mode. Examples The following example displays the current status of NPV: switch# show npv status Related Commands Command Description show npv flogi-table Displays the information about NPV FLOGI session. OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 730
only when the switch is in NPV mode. Examples The following example displays the current status of NPV: switch# show npv traffic-map Related Commands Command show npv flogi-table Description Displays the information about NPV FLOGI session. 9-36 Cisco Nexus 5000 Series Command Reference OL - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 731
number of port indexes is 256, any module that exceeds that limit does not power up. There is no startup module index distribution for the Cisco Nexus 5000 Series switch. Examples The following example displays port index allocation information: switch# show port index-allocation OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 732
Send comments to [email protected] show port-security To display configured port security feature information, use port can be individually displayed. If you specify the fabric world wide name (fWWN) or interface options, all Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 733
and the autolearn configuration. switch# show port-security status The following example displays the previous 100 violations. switch# show port-security violations Related Commands Command port-security Description Configures port security parameters. OL-16599-01 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 734
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show rlir To display Registered Link Incident Report (RLIR) switch# show rlir erl vsan 1 The following example displays RLIR statistics: switch# show rlir statistics vsan 1 9-40 Cisco Nexus 5000 Series Command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 735
event timeout value configured on VSAN 1: switch# show rscn event-tov vsan 1 The following example shows the difference between the active RSCN configuration and the pending RSCN configuration on VSAN 1: switch# show rscn pending-diff vsan 1 OL-16599-01 Cisco Nexus 5000 Series Command Reference - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 736
the SAN port channel database: switch# show san-port-channel consistency The following example displays detailed information about the consistency status of the SAN port channel database: switch# show san-port-channel consistency detail 9-42 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 737
Channel Show Commands show san-port-channel Send comments to [email protected] The show san-port-channel usage command displays details of the used and unused SAN port channel numbers: switch# show san-port-channel usage OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-43 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 738
Show Commands Send comments to [email protected] show scsi-target To display information about existing SCSI target configurations, use the show scsi-target command. of a SCSI discovery: switch# show scsi-target status 9-44 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 739
example displays auto-polling information: switch# show scsi-target auto-poll The following example displays the port WWN that is assigned to each operating system (Windows, AIX, Solaris, Linux, or HPUX): switch# show scsi-target pwwn OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-45 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 740
4093. Command Default None Command Modes EXEC mode. Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays topology information: switch# show topology 9-46 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 741
Show Commands show trunk protocol Send comments to [email protected] show trunk protocol To display trunk protocol status, use . Examples The following example displays trunk protocol status: switch# show trunk protocol OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-47 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 742
For example, show int fc2/1 - 3 , fc2/4 , fc3/2 Examples The following example displays configured VSAN information: switch# show vsan 1 The following example displays membership information for all VSANs. switch # show vsan membership 9-48 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 743
Chapter 9 Fibre Channel Show Commands show vsan Send comments to [email protected] The following example displays membership information for a specified interface: switch # show vsan membership interface fc1/1 OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-49 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 744
Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays the WWN of the switch: switch# show wwn switch The following example displays a user-configured VSAN WWN: switch# show wwn vsan-wwn 9-50 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 745
current status. Command Default None Command Modes EXEC mode. Command History Release 4.0(0)N1(1a) Modification This command was introduced. Examples The following example displays configured zone information: switch# show zone OL-16599-01 Cisco Nexus 5000 Series Command Reference 9-51 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 746
of control frames exchanged with other switches: switch# show zone statistics The following example displays the status of the configured zones: switch# show zone status The following . Status: Displays status of last zone distribution. 9-52 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 747
[email protected] show zoning database: switch# show zone analysis of the full zoning database: switch# sh zone analysis vsan 1 Zoning / CIM / INTERNAL] or Merge [interface] or Remote [Domain, IP-Address] [Switch name] Num zonesets: 1 Num zones: 1 Num aliases: 0 Num attribute groups: - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 748
database was last modified locally through a configuration change from one of the following applications (IVR) or from the IP storage services manager. • Merge-Indicates that the full the switch name is set. The default switch name switch and the Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 749
show zone analysis Send comments to [email protected] Table 9-4 show zone analysis Field Descriptions displayed in this section. The following example displays zone set analysis information: switch# show zone analysis zoneset zs1 vsan 1 Related Commands Command zone compact - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 750
was introduced. Examples The following example displays configured zone set information: switch# show zoneset vsan 1 The following example displays configured zone set information for a specific VSAN: switch# show zoneset vsan 2-3 9-56 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 751
Send comments to [email protected] A aaa accounting default command 6-2 aaa authentication login console command 6-3 aaa authentication login default command 25 cli var name command 1-12 clock set command 1-14 clock summer-time command 1-15 Cisco Nexus 5000 Series Command Reference IN-1 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 752
1-36 IN-2 Cisco Nexus 5000 Series Command Reference exit (global) command 1-37 F fabric-binding activate command 8-38 fabric-binding database command 8-39 fabric-binding database diff command 8-40 fabric-binding database vsan command 8-41 fabric-binding enable command 8-43 fabric profile command - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 753
Index Send comments to [email protected] fctimer distribute command 8-78 fctrace command 8-79 fdmi suppress-updates command 8-80 feature (user server command 7-16 logging timestamp command 7-18 M mac access-list command 6-47 OL-16599-01 Cisco Nexus 5000 Series Command Reference IN-3 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 754
command 2-34 move command 1-59 N name (MST configuration) command 2-36 name (VLAN configuration) command 2-35 npiv enable command 8-104 npv auto 75 permit vlan command 6-77 permit vrf command 6-79 IN-4 Cisco Nexus 5000 Series Command Reference ping6 command 1-64 ping command 1-62 pinning max- - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 755
cisco.com rscn distribute command 8-125 rscn event-tov command 8-126 rule command 6-93 run-script command 1-68 S san-port-channel persistent command 8-127 save command 1-69 scsi-target command 8-128 send command 1-70 serial command 4-11 server command 6-95 service interface fex-fabric command 4-18 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 756
1-97 show radius-server command 6-106 show rlir command 9-40 IN-6 Cisco Nexus 5000 Series Command Reference show role command 6-108 show role feature command 6-109 show 107 show tacacs-server command 6-119 show tech-support command 1-108, 9-45 show telnet server command 6-121 show terminal command 1-109 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 757
command 2-55 spanning-tree mode command 2-56 spanning-tree mst configuration command 2-57 spanning-tree mst cost command 2-59 spanning-tree bit-errors command 8-133 switchport mode fex-fabric command 4-21 switchport mode private-vlan host command 115 Cisco Nexus 5000 Series Command Reference IN-7 - HP Cisco MDS 9124 | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 758
zoneset (configuration mode) command 8-156 zoneset (EXEC mode) command 8-158 V vlan (EXEC mode) command 2-103 vlan access-map command 6-147 vlan filter command 6-148 vlan policy deny command 6-150 vrf context command 2-105 vrf policy deny command 6-151 vsan database command 8-140 IN-8 Cisco Nexus
Send comments to [email protected]
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Cisco Nexus 5000 Series Command
Reference
Release 4.0(1a)N2(1)
March 2009
Text Part Number: OL-16599-01