HP Cisco MDS 9222i Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2
HP Cisco MDS 9222i - Multiservice Modular Fabric Switch Manual
View all HP Cisco MDS 9222i manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Cisco MDS 9222i manual content summary:
- HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 3
Send comments to [email protected] 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 Request xix Related Documentation xix Basic System Commands 1-1 banner motd 1-2 boot 1-3 cd - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 5
Contents Send comments to [email protected] show cli history 1-76 show cli variables 1-77 show clock 1-78 show 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 7
Contents Send comments to [email protected] monitor session 2-34 name (VLAN configuration) 2-35 name (MST configuration) 2-36 port-channel load-balance spanning-tree port type network default 2-84 spanning-tree port-priority 2-86 OL-16599-01 Cisco Nexus 5000 Series Command Reference v - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 8
Contents Send comments to [email protected] spanning-tree vlan 2-87 speed (Ethernet) 2-89 state 2-90 svi enable 2-91 switchport access show spanning-tree brief 3-24 show spanning-tree detail 3-25 show spanning-tree interface 3-26 Cisco Nexus 5000 Series Command Reference vi OL-16599-01 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 14
Contents Send comments to [email protected] cfs ipv6 mcast-address 8-9 cfs region 8-11 cfs 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 16
Contents Send comments to [email protected] in-order-guarantee 8-89 interface fc 8-90 interface san-port-channel 8-92 interface scsi-target 8-128 switchport 8-130 switchport ignore bit-errors 8-133 system default switchport 8-135 Cisco Nexus 5000 Series Command Reference xiv OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 17
Send comments to [email protected] system default zone default-zone -16599-01 Fibre Channel Show Commands 9-1 show cfs 9-2 show debug npv 9-4 show device-alias 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- - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 19
Description Describes the basic Cisco NX-OS system commands. Describes 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 - HP Cisco MDS 9222i | 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 Terminal sessions and information that the switch displays are in screen font. references to material not covered in the manual. Caution Means reader be careful. In - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 23
Send comments 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 24
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 of this command. banner motd delimiter message delimiter no banner motd - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 25
1a) Modification This command was introduced. Usage Guidelines The Cisco NX-OS software uses the boot variable for loading 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 26
Chapter 1 Basic System Commands boot Send comments 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. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 27
Chapter 1 Basic System Commands cd Send comments to [email protected] cd To change the current working directory in the device file to change the current working directory on the current file system: switch# cd my-scripts This example shows how to change the current working directory to another - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 29
System Commands clear cores Send comments to [email protected] clear cores To clear the core files, use 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 30
Chapter 1 Basic System Commands Send comments to [email protected] clear debug-logfile To clear the contents of the . Examples This example shows how to clear the debug log file: switch# clear debug-logfile syslogd_debugs Related Commands Command debug logfile debug logging show - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 33
Basic System Commands clear user Send comments to [email protected] clear user To log out a particular user, use 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 35
cli var name Send comments to [email protected] This example shows how to reference the TIMESTAMP variable: switch# copy running-config > bootflash:run-config-$(TIMESTAMP).cnfg This example shows how to remove a CLI variable: switch# cli no var name testvar Related Commands Command - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 38
clock summer-time Chapter 1 Basic System Commands Send comments 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 39
Basic System Commands clock timezone Send comments to [email protected] clock timezone To configure the time zone offset from example shows how 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 40
Chapter 1 Basic System Commands Send comments to [email protected] configure session To create or modify a configuration session, shows how to create a configuration session: switch# configure session MySession switch(config-s)# Related Commands Command show configuration session - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 41
configure terminal Send comments to [email protected] configure terminal To enter configuration mode, After you enter the configure terminal command, the system prompt changes from switch# to switch(config)#, indicating that the router is in configuration mode. To leave configuration - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 42
a 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-1, or destination URL for a network server that supports Secure Shell (SSH) and accepts copies of - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 43
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. The file system being used (such as a local memory source - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 44
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 OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 45
1 Basic System Commands copy Send comments to [email protected] 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# copy file1 bootflash://sup-1/file1.bak This example shows - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 46
Chapter 1 Basic System Commands Send comments to [email protected] copy running-config startup-config To save the running example shows saving the running configuration to the startup configuration: switch# copy running-config startup-config Related Commands Command show running - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 47
System Commands databits Send comments to [email protected] databits To configure the number of data configure the number of data bits for the console port: switch# configure terminal switch(config)# line console switch(config-console)# databits 7 This example shows how to revert - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 49
System Commands debug logging Send comments to [email protected] debug logging To enable debug command output logging, for the debug command: switch# debug logging This example shows how to disable the output logging for the debug command: switch# no debug logging Related Commands - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 53
Chapter 1 Basic System Commands dir Send comments 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 55
if)# switchport 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 57
Chapter 1 Basic System Commands exec-timeout Send comments to [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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 58
exit (EXEC) Chapter 1 Basic System Commands Send comments to [email protected] exit (EXEC) To close an active terminal session by logging off the switch, use the exit command. exit Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 59
Commands exit (global) Send comments to [email protected] exit (global) To exit any configuration mode to , EXEC mode, the exit command will exit the EXEC mode and disconnect from the switch (see the description of the exit (EXEC) command for details). Examples The following example - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 60
Chapter 1 Basic System Commands Send comments to [email protected] feature fcoe To enable virtual and native Fibre introduced. Usage Guidelines You must save the configuration, and then reboot the switch to enable or disable the FCoE feature. Examples This example shows how to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 61
Commands feature interface-vlan Send comments to [email protected] feature interface-vlan To enable the creation of example shows how to enable the interface VLAN feature on the switch: switch(config)# feature interface-vlan Related Commands Command interface vlan Description Creates - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 62
channel mode using the channel-group mode command. Examples This example shows how to enable LACP EtherChannels on the switch: switch(config)# feature lacp Related Commands Command show lacp Description Displays information on LACP. 1-40 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 63
. You cannot disable the private VLANs if there are operational ports on the 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 IEEE 802.1q encapsulation and cannot be used as a trunk port - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 64
Guidelines You must use the feature tacacs+ command before you configure TACACS+. Note When you disable TACACS+, the Cisco NX-OS software removes the TACACS+ configuration. Examples This example shows how to enable TACACS+: switch(config)# feature tacacs+ This example shows how to disable TACACS - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 65
udld Send comments to [email protected] feature udld To enable the Cisco-proprietary Unidirectional Link Detection (UDLD) protocol unidirectional link exists, use the feature udld command. To disable UDLD on the switch, use the no form of this command. feature udld no feature udld - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 69
a compressed file that has the .gz extension added to its filename. The Cisco NX-OS software uses Lempel-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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 70
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 hostname: Engineering2 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 72
rebooted automatically. This is done to maintain the software version compatibility between parent switch and the Fabric Extender. You can use install all command to downgrade the Cisco NX-OS software on the switch. To determine if the downgrade software is compatible with the current configuration - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 73
Chapter 1 Basic System Commands install all Send comments to [email protected] This example shows how to install the Cisco NX-OS software from an SCP server: switch# install all kickstart scp://[email protected]/nx-os_kick.bin system bootflash:scp://[email protected]/nx-os_sys.bin - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 75
Basic System Commands line console Send comments to [email protected] line console To specify the console port and how to enter console port configuration mode: switch# configure terminal switch(config)# line console switch(config-console)# Related Commands Command databits exec- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 76
switch(config-line)# Related Commands Command exec-timeout session-limit show line Description 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 77
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 Reference - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 80
switch(config-console)# no modem set-string Related Commands Command line console modem init-string show line Description Enters console port configuration mode. Downloads the user-input initialization string to a modem. Displays information about the console port configuration. 1-58 Cisco - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 81
# 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 Reference 1-59 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 82
move Chapter 1 Basic System Commands Send comments to [email protected] Related Commands Command cd copy delete dir pwd Description Changes the current working directory. Makes a copy of a file. Deletes a file or directory. Displays the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 83
System Commands parity Send comments to [email protected] parity To configure the parity for the shows how to configure the parity for the console port: switch# configure terminal switch(config)# line console switch(config-console)# parity even This example shows how to revert - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 85
ping 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 87
Send 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 88
Release 4.0(0)N1(1a) 4.0(1a)N2(1) 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 90
Chapter 1 Basic System Commands Send comments to [email protected] run-script To run a command script file at 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 91
1 Basic System Commands save Send comments to [email protected] save To save the current configuration session to a a configuration session to a file in bootflash: switch# configure session MySession switch(config-s)# save bootflash:sessions/MySession Related Commands Command - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 93
1 Basic System Commands setup Send comments to [email protected] setup To enter the basic device setup dialog, use shows how to enter the basic device setup script: switch# setup Related Commands Command Description show running-config Displays the running configuration. OL-16599 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 94
# 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 Reference OL-16599 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 95
System Commands show banner motd Send comments to [email protected] show banner motd To display the message-of-the- introduced. Examples This example shows how to display the MOTD banner: switch# show banner motd Unauthorized access is prohibited! Related Commands Command banner - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 96
Chapter 1 Basic System Commands Send comments to [email protected] show boot To display the boot variable configuration, use 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 97
System Commands show cli alias Send comments to [email protected] show cli alias To display the command alias configuration, 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 98
Chapter 1 Basic System Commands Send comments to [email protected] show cli history To display the command history, use lines of the command history: switch# show cli history 10 This example shows how to display unformatted command history: switch# show cli history unformatted Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 99
Commands show cli variables Send comments to [email protected] show cli variables To display the configuration of introduced. Examples This example shows how to display the CLI variables: switch# show cli variables Related Commands Command cli var name Description Configures CLI - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 100
Chapter 1 Basic System Commands Send comments to [email protected] show clock To display the current date and time was introduced. Examples This example shows how to display the current clock setting: switch# show clock This example shows how to display the current clock setting and - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 102
Chapter 1 Basic System Commands Send comments to [email protected] show debug logfile To display the contents of the 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 104
file Chapter 1 Basic System Commands Send comments to [email protected] show file To display the contents of a file on 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 106
how to 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 107
running system image and an earlier system image prior to downgrading the Cisco NX-OS software, use the show incompatibility system command. show This example shows how to display the configuration incompatibilities: switch# show incompatibility system bootflash://sup-local/old_image.bin Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 108
1 Basic System Commands Send comments to [email protected] show install all To display information related to the example shows how to display the status of the software installation process: switch# show install all status Related Commands Command install all show boot Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 109
1a)N2(1) Modification This command was introduced. This command was modified to provide Fabric Extender support. Examples This example shows how to display the switch hardware inventory information: switch# show inventory This example shows how to display the hardware inventory information for - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 110
installed 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 111
Chapter 1 Basic System Commands show license host-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, use the show license host-id command. show license host-id Syntax Description This command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 112
Send comments to [email protected] show license usage To Command Default Displays license usage for the switch. Command Modes EXEC mode Command History usages of the license by features. This field is not supported. License status. "Unused" indicates that no features that require - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 113
System Commands show license usage Send comments to [email protected] Table 1-6 show license usage Columns (continued) 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 114
Chapter 1 Basic System Commands Send comments to [email protected] show line To display terminal port configuration information, shows how to display information about the terminal port configuration information: switch# show line This example shows how to display only the information - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 115
Basic System Commands show module Send comments to [email protected] show module To display module information, use the was modified to provide Fabric Extender support. Examples This example shows how to display information for all modules in the chassis: switch# show module This - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 show the switch. Displays the CPU utilization information for processes. Displays the memory allocation information for processes. 1-96 Cisco Nexus - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 120
Chapter 1 Basic System Commands Send comments to [email protected] show running-config To display the running configuration, use to display the changes that you have made to the running configuration: switch# show running-config This example shows how to display the entire running - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 121
Commands show running-config diff Send comments to [email protected] show running-config diff To display the differences 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 122
show running-config diff Chapter 1 Basic System Commands Send comments to [email protected] Related Commands Command copy running-config startup-config show running-config show startup-config Description Copies the running configuration to the startup configuration. Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 123
[email protected] show sprom To display the contents of the serial PROM (SPROM) on the switch, use 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 125
System Commands show startup-config Send comments to [email protected] show startup-config To display the startup configuration, Examples This example shows how to display the startup configuration: switch# show startup-config Related Commands Command copy running-config startup- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 126
how to 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 127
Commands show system cores Send comments to [email protected] show system cores To display the core filename, example shows how to display destination information for the system core files: switch# show system cores Related Commands Command system cores Description Configures the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 128
Extender 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 130
shows 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 131
Basic System Commands show terminal Send comments to [email protected] show terminal To display information about the terminal display information about the terminal configuration for a session: switch# show terminal Related Commands Command terminal length terminal session-timeout - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 132
introduced. This command was modified to provide Fabric Extender support. Examples This example shows how to display 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 133
Chapter 1 Basic System Commands sleep Send comments to [email protected] sleep To cause the command-line interface (CLI) to 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 134
# 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 Reference - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 135
# 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 Reference - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 137
Commands system startup-config unlock Send comments to [email protected] system startup-config unlock To unlock the startup configuration 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 138
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 hostname: Engineering2 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 139
20 lines 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 140
Chapter 1 Basic System Commands Send comments to [email protected] terminal length To set the number of lines of on 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 142
Chapter 1 Basic System Commands Send comments to [email protected] terminal terminal-type To set the terminal type for the to 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 143
Basic System Commands terminal width Send comments to [email protected] terminal width To set the number of character to display 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 144
Chapter 1 Basic System Commands Send comments to [email protected] traceroute To discover the routes that packets take The default is the IPv4 address for the management interface of the switch. Command Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 145
Basic System Commands traceroute6 Send comments to [email protected] traceroute6 To discover the routes that packets take when The default is the IPv6 address for the management interface of the switch. Command Default None Command Modes EXEC mode Command History Release 4.0(1a) - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 146
license Chapter 1 Basic System Commands Send comments to [email protected] update license To update an existing license, use the update was introduced. Examples This example shows how to update a license: switch# update license bootflash:fm.lic fm-update.lic Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 147
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 Command - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 150
interface) Chapter 2 Ethernet Commands Send comments to [email protected] bandwidth (interface) To set the inherited and received 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 152
how to enable 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 153
Commands cdp Send comments to [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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 154
Chapter 2 Ethernet Commands Send comments to [email protected] cdp enable To enable the Cisco Discovery Protocol (CDP) on an Ethernet interface, use CDP on an Ethernet interface: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# cdp enable Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 155
of channel group. The number range is from 1 to 4096. Cisco NX-OS creates the EtherChannel associated with this channel group if the to change the channel mode to active or passive before enabling LACP, the switch returns an error message. After you enable LACP globally, by using the feature - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 156
move to; the switch automatically removes the specified 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 157
Commands channel-group (Ethernet) Send comments to [email protected] • Rate mode • Shutdown • SNMP trap If an interface to LACP channel group 5 in active mode: switch(config)# interface ethernet 1/1 switch(config-if)# channel-group 5 mode active Related Commands Command show - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 159
Commands clear mac dynamic Send comments to [email protected] clear mac dynamic To clear dynamic entries from how to clear all dynamic entries for VLAN 2 from the MAC address table: switch# clear mac dynamic vlan 2 Related Commands Command show mac dynamic Description Displays the - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 163
-protocol Send comments to [email protected] 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. clear spanning-tree detected-protocol - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 164
(interface) Chapter 2 Ethernet Commands Send comments to [email protected] delay (interface) To set a delay value for an 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 165
)# interface 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 168
)# interface 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 169
interface port-channel Send comments to [email protected] interface port-channel To create an EtherChannel interface EtherChannel group interface with channel-group number 50: switch(config)# interface port-channel 50 switch(config-if)# Related Commands Command show interface port - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 171
Commands ip igmp snooping (EXEC) Send comments to [email protected] ip igmp snooping (EXEC) To enable Internet Group Management introduced. Examples This example shows how to enable IGMP snooping: switch# ip igmp snooping Related Commands Command Description show ip igmp snooping - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 172
ip igmp snooping (VLAN) Chapter 2 Ethernet Commands Send comments to [email protected] ip igmp snooping (VLAN) To configure Internet Group Management Protocol (IGMP) on a VLAN, use the ip igmp snooping command. To negate the command or - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 173
snooping 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 174
priority Chapter 2 Ethernet Commands Send comments to [email protected] lacp port-priority To set the priority for the to set the LACP port priority for the interface to 2000: switch(config-if)# lacp port-priority 2000 Related Commands Command show lacp Description Displays LACP information - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 175
Chapter 2 Ethernet Commands lacp system-priority Send comments to [email protected] lacp system-priority To set the system priority of the switch for the Link Aggregation Control Protocol (LACP), use the lacp system-priority command. To return the system priority to the default value, - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 177
Commands mac-address-table aging-time Send comments to [email protected] mac-address-table aging-time To configure the aging time for 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 178
-time Chapter 2 Ethernet Commands Send comments to [email protected] Examples This example shows how to change the length of time an entry remains in the MAC address table to 500 seconds for the entire switch: switch(config)# mac-address-table aging-time 500 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 179
Commands mac-address-table notification Send comments to [email protected] mac-address-table notification To configure log message percent, restricting the update interval to once every 1024 seconds: switch(config)# mac-address-table notification threshold limit 45 interval 1024 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 180
Chapter 2 Ethernet Commands Send comments to [email protected] mac-address-table static To configure a static to the MAC address 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-01 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 182
Chapter 2 Ethernet Commands Send comments to [email protected] monitor session Create a new SPAN session configuration This example shows how to create a SPAN session: switch# configure terminal switch(config)# monitor session 2 Related Commands Command Description show monitor - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 183
Commands name (VLAN configuration) Send comments to [email protected] name (VLAN configuration) To set the name for VLANs. Examples This example shows how to name VLAN 2: switch(config)# vlan 2 switch(config-vlan)# name accounting Related Commands Command show vlan Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 184
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 Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 185
port-channel load-balance ethernet Send comments to [email protected] port-channel load-balance ethernet To set the load- -balancing method to use the 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 9222i | 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 9222i | 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 is defined as a private port that is assigned to a primary VLAN. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-39 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 188
, the system uses the first number in the range for the association. 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 assign - HP Cisco MDS 9222i | 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 a private VLAN, use the private-vlan association command. To remove - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 190
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 as a trunk port. Examples This example shows how to create - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 191
spanning-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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 192
Chapter 2 Ethernet Commands Send comments to [email protected] revision To set the revision number for the Multiple 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines Two or more switches with the same VLAN mapping and name are considered to be in different - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 193
VLAN remain, and when you reenable, or recreate, that specified VLAN, the switch automatically reinstates all the original ports to that VLAN. To find out if a 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 195
Commands spanning-tree bpdufilter Send comments to [email protected] spanning-tree bpdufilter To enable BPDU Filtering on the on the Ethernet spanning tree edge port 1/4: switch (config)# interface ethernet 1/4 switch(config-if)# spanning-tree bpdufilter enable Related Commands - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 197
comments to [email protected] spanning-tree bpduguard could cause a data-packet loop and disrupt the switch and network operation. When you enable this BPDU Guard configured. Typically, this feature is used in a service-provider environment where the network administrator wants to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 198
spanning-tree bpduguard Chapter 2 Ethernet Commands Send comments to [email protected] Examples 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 199
Chapter 2 Ethernet Commands spanning-tree cost Send comments to [email protected] spanning-tree cost To set the path cost of the interface for Spanning Tree Protocol all the VLANs on a trunk port as the same port cost. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-51 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 200
Chapter 2 Ethernet Commands Send comments to [email protected] The EtherChannel bundle is considered a single port the spanning tree VLAN that is associated with that interface: switch(config)# interface ethernet 1/4 switch(config-if)# spanning-tree cost 250 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 201
Commands spanning-tree guard Send comments to [email protected] spanning-tree guard To enable or disable Loop Guard Guidelines You cannot enable Loop Guard if Root Guard is enabled, although the switch accepts the command to enable Loop Guard on spanning tree edge ports. Examples - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 202
duplex mode. A full-duplex port is considered as 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 203
spanning-tree loopguard default Send comments to [email protected] spanning-tree loopguard default To enable Loop Guard as command. Examples This example shows how to enable Loop Guard: switch(config)# spanning-tree loopguard default Related Commands Command show spanning-tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 204
spanning-tree mode Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree mode To switch between Rapid per VLAN Spanning Tree Plus (Rapid PVST+) and Multiple Spanning Tree (MST) Spanning Tree Protocol (STP) modes, use the spanning-tree mode command. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 205
tree mst configuration Send comments to [email protected] spanning-tree mst configuration To enter the private-vlan host command to fix this problem. Changing an MST configuration mode parameter can cause connectivity loss. To reduce service disruptions, when you enter MST configuration - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 206
configuration Chapter 2 Ethernet Commands Send comments to [email protected] In the unlikely event that two administrators commit a example shows how to enter MST-configuration mode: switch(config)# spanning-tree mst configuration switch(config-mst)# This example shows how to reset the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 207
Ethernet Commands spanning-tree mst cost Send comments to [email protected] spanning-tree mst cost To set the path-cost parameter 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 209
Chapter 2 Ethernet Commands spanning-tree mst forward-time Send comments to [email protected] spanning-tree mst forward-time To set the forward-delay timer for all the instances on the switch, use the spanning-tree mst forward-time command. To return to the default settings, use the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 210
spanning-tree mst hello-time Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree mst hello-time To set the hello-time delay timer for all the instances on the switch, use the spanning-tree mst hello-time command. To return to the default settings, use the no - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 211
comments to [email protected] spanning-tree mst max-age To set the max-age timer for all the instances on the switch, use the spanning-tree . Examples This example shows how to set the max-age timer: switch(config)# spanning-tree mst max-age 40 Related Commands Command show spanning - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 212
max-hops Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree mst max-hops To specify the number of Examples This example shows how to set the number of possible hops: switch(config)# spanning-tree mst max-hops 25 Related Commands Command show spanning-tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 213
-tree mst port-priority Send comments to [email protected] spanning-tree mst port-priority To set the values are rejected. Examples This example shows how to set the interface priority: switch(config-if)# spanning-tree mst 0 port-priority 64 Related Commands Command show spanning - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 214
2 Ethernet Commands Send comments to [email protected] spanning-tree mst priority To set the bridge 53248, 57344, and 61440. You can set the priority-value argument to 0 to make the switch root. You can enter the instance-id argument as a single instance or a range of instances, - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 215
-tree mst root Send comments to [email protected] spanning-tree mst root To designate the primary that is high enough to make the bridge root of the spanning-tree instance. Specifies the switch as a secondary root, should the primary root fail. (Optional) Specifies the timer values for - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 217
-tree mst simulate pvst Send comments to [email protected] spanning-tree mst simulate pvst To reenable specific To return specific interfaces to the default settings that are set globally for the switch, use the no form of this command. spanning-tree mst simulate pvst spanning- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 218
pvst Chapter 2 Ethernet Commands Send comments to [email protected] Examples This example shows how to prevent specified ports from automatically interoperating with a connected device running Rapid PVST+: switch(config-if)# spanning-tree mst simulate pvst disable Related Commands - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 219
Ethernet Commands spanning-tree mst simulate pvst global Send comments to [email protected] spanning-tree mst simulate pvst global To prevent the Multiple Spanning Tree (MST) switch from automatically interoperating with a connecting device running Rapid per VLAN Spanning Tree (Rapid - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 220
global Chapter 2 Ethernet Commands Send comments to [email protected] Examples This example shows how to prevent all ports on the switch from automatically interoperating with a connected device running Rapid PVST+: switch(config)# no spanning-tree mst simulate pvst global Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 221
comments to [email protected] spanning-tree calculations and yields valued in the range of 2 through 2,00,000,000. The short path-cost calculation method (16 bits mode. When you are using MST spanning tree mode, the switch uses only the long method for calculating path cost; this - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 222
accidental topology loop could cause a data-packet loop and disrupt the switch and network operation. When linkup occurs, spanning tree edge ports are Note This is the same functionality that was previously provided by the Cisco-proprietary PortFast feature. When you use this command, the system - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 223
spanning-tree port type edge Send comments to [email protected] When you use this command without the trunk keyword, , which automatically transitions that interface to the forwarding state on linkup: switch(config-if)# spanning-tree port type edge Related Commands Command show spanning - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 224
default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge bpdufilter default To enable on a 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 225
tree port type edge bpdufilter default Send comments to [email protected] Examples This example shows how to enable BPDU Filtering globally on all spanning tree edge operational ports by default: switch(config)# spanning-tree port type edge bpdufilter default Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 226
default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge bpduguard default To enable all 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 227
Chapter 2 Ethernet Commands spanning-tree port type edge bpduguard default Send comments to [email protected] Related Commands Command show spanning-tree summary spanning-tree bpduguard spanning-tree port type edge Description Displays the information about the spanning tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 228
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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 229
Chapter 2 Ethernet Commands spanning-tree port type edge default Send comments 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 230
spanning-tree port type network Chapter 2 Ethernet Commands Send comments to [email protected] 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, use the spanning-tree port type - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 231
Commands spanning-tree port type network Send comments to [email protected] Examples This example shows how to configure an interface connected to a switch or bridge as a spanning tree network port: switch(config-if)# spanning-tree port type network Related Commands Command show - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 234
Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port-priority To set an interface priority is chosen as the root bridge by changing the port priority to 32: switch(config-if)# spanning-tree port-priority 32 Related Commands Command show spanning-tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 235
Commands spanning-tree vlan Send comments to [email protected] spanning-tree vlan To configure Spanning Tree ) 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 seconds. (Optional) Specifies - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 236
spanning-tree vlan Chapter 2 Ethernet Commands Send comments to [email protected] Usage Guidelines Caution When disabling spanning tree on a VLAN using the no spanning-tree vlan vlan-id command, ensure that all switches and bridges in the VLAN have spanning tree disabled. You cannot - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 237
example, if you insert a 1-Gigabit SFP transceiver into a port without configuring the speed 1000 command, you will get this 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 238
. VLANs in the suspended state do not pass packets. Examples This example shows how to suspend VLAN 2: switch(config)# vlan 2 switch(config-vlan)# state suspend Related Commands Command show vlan Description Displays VLAN information. 2-90 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 239
Ethernet Commands svi enable Send comments to [email protected] svi enable To enable the creation of VLAN example shows how to enable the interface VLAN feature on the switch: switch(config)# svi enable Related Commands Command interface vlan Description Creates a VLAN interface - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 240
Ethernet Commands Send comments to [email protected] switchport access vlan To set the access VLAN when the interface is in access mode, use the switchport access vlan command. To reset the access-mode VLAN to the appropriate default VLAN for the switch, use the no form of this command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 241
# 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 Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 242
host Chapter 2 Ethernet Commands Send comments to [email protected] switchport mode private-vlan host To set the interface shows how to set a port to host mode for private VLANs: switch(config-if)# switchport mode private-vlan host Related Commands Command show interface - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 243
mode private-vlan promiscuous Send comments to [email protected] switchport mode private-vlan promiscuous To set the port does not have a valid private VLAN mapping configured. • The port is a Switched Port Analyzer (SPAN) destination. If you delete a private VLAN port mapping or if - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 244
information on primary VLANs, secondary VLANS, and isolated 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 246
information on primary VLANs, secondary VLANS, and isolated 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 247
Chapter 2 Ethernet Commands switchport private-vlan mapping Send comments to [email protected] This example shows how to remove the all private VLAN association from the port: switch(config-if)# no switchport private-vlan mapping Related Commands Command show interface switchport - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 248
UDLD aggressive mode only on point-to-point links between network devices that support UDLD aggressive mode. If UDLD aggressive mode is enabled, when a port UDLD mode for the switch: switch# configure terminal switch(config)# udld aggressive 2-100 Cisco Nexus 5000 Series Command Reference OL-16599- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 249
Chapter 2 Ethernet Commands udld (configuration mode) Send comments to [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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 250
Chapter 2 Ethernet Commands Send comments to [email protected] udld (Ethernet) To enable and configure the a UDLD mode for an interface, you must make sure that UDLD is enabled on the switch. UDLD must also be enabled on the other linked interface and its device. To use the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 251
Commands vlan (EXEC mode) Send comments to [email protected] vlan (EXEC mode) To add a VLAN or mapping for that VLAN, and when you reenable, or recreate, that specified VLAN, the switch automatically reinstates all the original ports to that VLAN. Examples This example shows how to - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 253
Ethernet Commands vrf context Send comments to [email protected] vrf context To create a virtual routing and example shows how 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 256
Chapter 3 Ethernet Show Commands Send comments to [email protected] show interface mac-address To display the information shows how to display the information on MAC addresses for the entire switch: switch# show interface mac-address Related Commands Command mac-address-table static - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 257
show interface private-vlan mapping Send comments to [email protected] show interface private-vlan mapping To display information display information about primary and secondary private VLAN mapping: switch# show interface private-vlan mapping Related Commands Command Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 258
show interface switchport Chapter 3 Ethernet Show Commands Send comments to [email protected] show interface switchport To display information about all the switch port interfaces, use the show interface switchport command. show interface switchport Syntax Description This command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 259
Commands show interface vlan Send comments to [email protected] show interface vlan To display brief descriptive information displays descriptive information for the specified VLAN, including private VLANs. The switch displays output for the show interface vlan vlan-id private-vlan - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 260
show interface vlan Chapter 3 Ethernet 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 Commands Command Description show interface switchport Displays information about the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 261
Chapter 3 Ethernet Show Commands show ip igmp 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 snooping command. show ip igmp snooping [explicit- - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 263
mac-address-table aging-time Send comments to [email protected] show mac-address-table aging-time To display information about Examples This example shows how to display MAC address aging times: switch# show mac-address-table aging-time Related Commands Command mac-address-table - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 266
3 Ethernet Show Commands Send comments to [email protected] show mac-address-table To display the information information about the entries for the MAC address table for a specific MAC address: switch# show mac address-table address 0018.bad8.3fbd This example shows how to display - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 267
Chapter 3 Ethernet Show Commands show mac-address-table Send comments to [email protected] This example shows how to display the information about the MAC address table for a specific interface: switch# show mac address-table interface ethernet 1/3 This example shows how to display the - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 270
Chapter 3 Ethernet Show Commands Send comments to [email protected] show running-config spanning-tree To display the running shows how to display detailed information on the running STP configuration: switch# show running-config spanning-tree all Note Display output differs slightly - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 271
Commands show running-config vlan Send comments to [email protected] show running-config vlan To display the running 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 272
This example shows how to determine if any ports are in any STP--inconsistent state: 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 Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 273
Ethernet Show Commands show spanning-tree Send comments to [email protected] Table 3-1 describes the fields that are displayed in the bridge ID, timers, and protocol for the local bridge on the switch. Displays brief summary information about STP. Displays detailed information about STP - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 275
Commands show spanning-tree active Send comments to [email protected] show spanning-tree active To display STP information on shows how to display STP information on the STP-active interfaces: switch# show spanning-tree active Related Commands Command show spanning-tree show - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 276
Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree bridge To display status and configuration Examples This example shows display STP information for the bridge: switch# show spanning-tree bridge Related Commands Command show spanning-tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 277
Commands show spanning-tree bridge Send comments to [email protected] Command show spanning-tree detail show spanning-tree interface of the root bridge for the STP instance to which this switch belongs. Displays summary information about STP. Displays STP information for specified VLANs. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 278
show spanning-tree brief Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree brief To display a brief summary of the STP status and configuration on the switch, use the show spanning-tree brief command. show spanning-tree brief [active] Syntax - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 279
Chapter 3 Ethernet Show Commands show spanning-tree detail Send comments to [email protected] show spanning-tree detail To display detailed information on the STP status and configuration on the switch, use the show spanning-tree detail command. show spanning-tree detail [active] - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 280
Ethernet Show Commands Send comments to [email protected] show spanning-tree interface To display information on no port type displays. If you specify an interface that is not running STP, the switch returns an error message. When you are running MST, this command displays the PVST - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 281
Chapter 3 Ethernet Show Commands show spanning-tree interface Send comments to [email protected] Examples This example shows how to display STP information on a specified interface: switch(config)# show spanning-tree interface ethernet 1/3 This example shows how to display detailed - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 282
This example shows how to display STP information about a specific MST instance: 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 Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 283
Chapter 3 Ethernet Show Commands show spanning-tree mst Send comments to [email protected] This example shows how to display STP information about specified MST interfaces: switch)# show spanning-tree mst interface ethernet 8/2 This example shows how to display information about the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 284
Examples This example shows how to display information for the root bridge: switch(config)# show spanning-tree root Related Commands Command show spanning-tree show spanning ID, timers, and protocol for the local bridge on the switch. 3-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 285
Chapter 3 Ethernet Show Commands show spanning-tree root Send comments to [email protected] Command show spanning-tree brief show spanning-tree detail show spanning-tree interface show spanning-tree mst show spanning-tree summary show spanning-tree - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 286
show spanning-tree summary Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree summary To display summary STP information on the switch, use the show spanning-tree summary command. show spanning-tree summary [totals] Syntax Description totals ( - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 287
Ethernet Show Commands show spanning-tree vlan Send comments to [email protected] show spanning-tree vlan To display STP information for specified VLANs, VLANs. (Optional) Displays which STP protocol is active on the switch. OL-16599-01 Cisco Nexus 5000 Series Command Reference 3-33 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 289
Commands show spanning-tree vlan Send comments to [email protected] Command show spanning-tree interface show spanning-tree mst 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 290
Chapter 3 Ethernet Show Commands Send comments to [email protected] show startup-config To display the contents of the shows how to display information from the startup configuration file: switch# show startup-config Related Commands Command Description show running-config - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 291
3 Ethernet Show Commands show vlan Send comments to [email protected] show vlan To display VLAN information, use the show 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 292
Show Commands Send comments to [email protected] Examples This example shows how to display information for all VLANs on the switch: switch# show vlan This example shows how to display the VLAN name, status, and associated ports only: switch# show vlan brief This example shows how - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 293
Ethernet Show Commands show vlan id Send comments to [email protected] show vlan id To display information and statistics for an 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 296
. We recommend that you use this command only following direction from Cisco technical 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 297
switch# configure terminal switch(config)# 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 298
# configure 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 299
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 Command Reference 4-5 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 300
(config-if)# 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 301
introduced. Usage Guidelines When you provision the Fabric Extender using the Statically Pinned mode (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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 302
alert 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 303
# configure terminal switch(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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 304
pinning 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 305
for a 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 306
associate 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 310
information 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 313
interfaces 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 - HP Cisco MDS 9222i | 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 - HP Cisco MDS 9222i | 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 318
of Service Commands Send comments to [email protected] switch(config-cmap)# This example shows how to remove a class map: switch(config)# no class-map my_class1 Related Commands Command policy-map show class-map Description Creates or modifies a policy map. Displays class maps. Cisco - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 319
Service Commands fcoe mode Send comments to nx5000-docfeedback@cisco does not support FCoE. If 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 320
flowcontrol Chapter 5 Quality of Service Commands Send comments to [email protected] flowcontrol To enable IEEE 802.3x link- traffic received on an interface: switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# flowcontrol receive on RelateCdommands - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 321
Send comments to [email protected] match cos To define a traffic class based on the Class of Service (CoS) value in the switch(config)# class-map class_cos switch(config-cmap)# match cos 2, 5-6 This example shows how to remove the match on CoS: switch(config)# class-map class_cos switch - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 322
shows how to create or modify a policy map: switch(config)# policy-map my_policy1 switch(config-pmap)# class class1 switch(config-pmap-c)# mtu 9216 This example shows how to remove a policy map: switch(config)# no policy-map my_policy1 Cisco Nexus 5000 Series Command Reference 5-6 OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 323
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 Reference 5-7 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 324
priority-flow-control Chapter 5 Quality of Service Commands Send comments to [email protected] priority-flow-control To set the ( to force-enable PFC on an interface: switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# priority-flow-control mode on - HP Cisco MDS 9222i | 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 326
-policy Chapter 5 Quality of Service Commands Send comments to [email protected] switch(config-pmap)# class best-effort-drop-class switch(config-pmap-c)# mtu 9216 switch(config)# interface ethernet 1/1 switch(config-if)# service-policy output policy_map1 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 327
Chapter 5 Quality of Service Commands show class-map Send comments to [email protected] show class-map To display command. Examples This example shows how to display a class map: switch# show class-map my_class_map Related Commands Command class-map Description Creates or modifies a - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 328
policy-map Chapter 5 Quality of Service Commands Send comments to [email protected] show policy-map To display is displayed. Examples This example shows how to display a policy map: switch# show policy-map my_policy_map Related Commands Command class-map policy-map Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 329
Chapter 5 Quality of Service Commands show system qos Send comments to [email protected] show system qos To display . Examples This example shows how to display system QoS information: switch(config)# show system qos Related Commands Command system qos Description Configures - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 330
priority-flow-control Chapter 5 Quality of Service Commands Send comments to [email protected] show interface priority-flow-control display the priority flow control details for a specified interface: switch(config)# show interface ethernet 1/1 priority-flow-control Port Mode - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 331
Chapter 5 Quality of Service Commands show policy-map interface Send comments to [email protected] show policy-map interface the per class pause statistics displayed for a default system class: switch(config)# show policy-map interface ethernet 3/1 Related Commands Command policy- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 332
system jumbomtu Chapter 5 Quality of Service Commands Send comments to [email protected] system jumbomtu To define the upper 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 334
cos Chapter 5 Quality of Service Commands Send comments to [email protected] untagged cos Ethernet frames 4 for untagged frames received on an interface: switch# configure terminal switch(config)# interface ethernet 1/2 switch(config-if)# untagged cos 4 Related Commands Command - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 336
Chapter 6 Security Commands Send comments to [email protected] aaa accounting default To configure authentication, authorization, shows how to configure any RADIUS server for AAA accounting: switch(config)# aaa accounting default group Related Commands Command aaa group server - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 337
aaa authentication login console Send comments to [email protected] aaa authentication login console To configure AAA authentication example shows how to configure AAA authentication console login method: switch(config)# aaa authentication login console group radius This example shows - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 338
aaa authentication login console Chapter 6 Security Commands Send comments to [email protected] Related Commands Command aaa group server radius-server host show aaa authentication tacacs-server host Description Configures AAA server groups. Configures RADIUS servers. Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 339
aaa authentication login default Send comments to [email protected] aaa authentication login default To configure the default example shows how to configure the AAA authentication console login method: switch(config)# aaa authentication login default group radius This example shows how - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 340
aaa authentication login default Chapter 6 Security Commands Send comments to [email protected] Related Commands Command aaa group server radius-server host show aaa authentication tacacs-server host Description Configures AAA server groups. Configures RADIUS servers. Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 341
authentication login error-enable Send comments to [email protected] aaa authentication login error-enable To configure that the to enable the display of AAA authentication failure messages to the console: switch(config)# aaa authentication login error-enable This example shows how to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 342
mschap enable This example shows how to disable MSCHAP authentication: 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 Command Reference 6-8 OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 343
group server radius RadServer 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 Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 344
action Chapter 6 Security Commands Send comments to [email protected] action To specify what the switch does when a packet matches a permit command in a VLAN access control list (VACL), use the action command. To remove an action command, use the no form - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 345
Commands clear access-list counters Send comments to [email protected] clear access-list counters To clear the counters for -list-name (Optional) Name of the IPv4 ACL whose counters the switch clears. Command Default None Command Modes EXEC mode Command History Release 4.0(0) - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 346
Chapter 6 Security Commands Send comments to [email protected] clear accounting log To clear the accounting log, introduced. Examples This example shows how to clear the accounting log: switch# clear accounting log Related Commands Command show accounting log Description Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 347
)# aaa 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 348
deadtime Chapter 6 Security Commands Send 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 - HP Cisco MDS 9222i | 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 traffic ] {[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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 350
@cisco.com Syntax Description sequence-number protocol source destination (Optional) Sequence number of the deny command, which causes the switch has a sequence number of 10. If you do not specify a sequence number, the switch adds the rule to the end of the ACL and assigns to it a sequence number - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 351
Chapter 6 Security Commands deny (IPv4) Send comments to [email protected] dscp dscp (Optional) Specifies that the rule matches only those packets with the specified 6-bit differentiated services value in the DSCP field of the IP header. The dscp argument can be one of the following - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 352
Chapter 6 Security Commands Send comments to [email protected] precedence precedence (Optional) Specifies that the rule is contained only in initial fragments. log (Optional) Specifies that the switch generates an informational logging message about each packet that matches the rule. - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 354
deny (IPv4) Chapter 6 Security Commands Send comments to [email protected] 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 Command History Release 4.0(0)N1( - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 355
[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 ) • echo-reply-Echo reply • general-parameter-problem-Parameter problem • host-isolated-Host isolated • host-precedence-unreachable - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 356
Chapter 6 Security Commands Send comments to [email protected] • port-unreachable-Port unreachable • precedence- 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 ( - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 357
Commands deny (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) discard-Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and Key - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 358
deny (IPv4) Chapter 6 Security Commands Send comments to [email protected] syslog-System Logger (514) tacacs-TAC Access Control System (49) talk-Talk (517) tftp-Trivial File Transfer Protocol (69) time-Time (37) who-Who service (rwho, 513) xdmcp-X Display Manager Control Protocol (177) - HP Cisco MDS 9222i | 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 matching ] [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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 360
deny (IPv6) Chapter 6 Security Commands Send comments to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence number of the deny command, which causes the device to insert the command in that - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 361
Chapter 6 Security Commands deny (IPv6) Send comments 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 DSCP field of the IPv6 header. The dscp - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 362
deny (IPv6) Chapter 6 Security Commands Send comments to [email protected] log time-range time-range-name icmp-message operator port [port] portgroup portgroup (Optional) Specifies that the device generates an informational logging message about - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 363
Commands deny (IPv6) Send comments to [email protected] established flags (TCP only; Optional) Specifies use an IPv6 address object group named lab-svrs-1301 to specify the destination argument: switch(config-acl)# deny ipv6 any addrgroup lab-svrs-1301 • Address and variable-length - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 364
cisco.com IPv6-address/prefix-len The following example shows how to specify the source argument with the IPv6 address and VLSM for the 2001:0db8:85a3:: network: switch big • parameter-option-Parameter option problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 365
Commands deny (IPv6) Send comments to [email protected] • renum-result-Router renumbering result • renum- 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) - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 368
Send comments to [email protected] deny (MAC) To of 10. If you do not specify a sequence number, the switch adds the rule to the end of the ACL and assigns to matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 369
) Send comments to [email protected] 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 enforces the first rule whose conditions - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 370
Commands Send comments to [email protected] Examples This example shows how to configure a MAC ACL named mac-ip-filter with rules that permit any non-IPv4 traffic between two groups of MAC addresses: switch(config)# mac access-list mac-ip-filter switch(config-mac-acl)# deny 00c0.4f00 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 371
description (user role) Send comments to [email protected] description (user role) To configure a description for example shows how to configure the description for a user role: switch(config)# role name MyRole switch(config-role)# description User role for my user account. This - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 372
role feature-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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 374
to configure rules for the ACL. If the specified ACL does not exist, the switch creates it when you enter this command. Use the ip access-group command to apply 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 375
Chapter 6 Security Commands ip access-list Send comments to [email protected] Related Commands Command access-class deny (IPv4) ip access-group permit (IPv4) show 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 376
affect traffic on the interface. Examples This example shows how to apply an IPv4 ACL named ip-acl-01 to Ethernet interface 1/2 as 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-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 377
Chapter 6 Security Commands ip port access-group Send comments to [email protected] This example shows how to remove an IPv4 ACL named ip-acl-01 from Ethernet interface 1/2: switch(config)# interface ethernet 1/2 switch(config-if)# no ip port access-group ip-acl-01 in Related Commands - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 378
Chapter 6 Security Commands Send comments to [email protected] ipv6 access-list To create an IPv6 access commands to configure rules for the ACL. If the specified ACL does not exist, the switch creates it when you enter this command. Every IPv6 ACL has the following implicit rule as - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 379
denies the packet, the 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 Command Reference - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 380
Chapter 6 Security Commands Send comments to [email protected] Examples This example shows how to apply an IPv6 ACL named ipv6-acl to Ethernet interface 1/3: switch# configure terminal switch(config)# interface ethernet 1/3 switch(config-if)# ipv6 port traffic-filter ipv6-acl in - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 381
Commands mac access-list Send comments to [email protected] mac access-list To create a Media Access Control MAC ACLs to filter all traffic. When you use the mac access-list command, the switch enters MAC access list configuration mode, where you can use the MAC deny and permit - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 383
ACL does not affect traffic on the interface. Examples This example shows how to apply a MAC ACL named mac-acl-01 to Ethernet interface 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 Reference 6-49 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 384
mac port access-group Chapter 6 Security Commands Send comments to [email protected] This example shows how to remove a MAC ACL named mac-acl-01 from Ethernet interface 1/2: switch(config)# interface ethernet 1/2 switch(config-if)# no mac port access-group mac-acl-01 Related Commands - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 385
Chapter 6 Security Commands match Send comments to [email protected] match To specify an access control list (ACL) specified ACL is a MAC ACL. Specifies the ACL. Command Default By default, the switch classifies traffic and applies IPv4 ACLs to IPv4 traffic and MAC ACLs to all other - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 388
permit (IPv4) Chapter 6 Security Commands Send comments to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence number of the permit command, which causes the switch to insert the command in that numbered position in the access list. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 389
Chapter 6 Security Commands permit (IPv4) Send comments to [email protected] dscp dscp (Optional) Specifies that the rule matches only those packets with the specified 6-bit differentiated services value in the DSCP field of the IP header. The dscp argument can be one of the following - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 390
Chapter 6 Security Commands Send comments to [email protected] precedence precedence (Optional) Specifies that the rule is contained only in initial fragments. log (Optional) Specifies that the switch generates an informational logging message about each packet that matches the rule. - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 392
) Chapter 6 Security Commands Send comments to [email protected] If you do not specify a sequence number, the specify the source argument with the IPv4 address and VLSM for the 192.168.67.0 subnet: switch(config-acl)# permit udp 192.168.67.0/24 any • Host address-You can use the host - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 393
[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 ping) • echo-reply-Echo reply • general-parameter-problem-Parameter problem • host-isolated-Host isolated • host-precedence-unreachable- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 394
Chapter 6 Security Commands Send comments to [email protected] • port-unreachable-Port unreachable • precedence- 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 ( - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 395
Commands permit (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) -Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and Key - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 396
(IPv4) Chapter 6 Security Commands Send comments to [email protected] syslog-System Logger (514) tacacs-TAC Access Control System (49) talk-Talk (517) tftp-Trivial File Transfer Protocol (69) time-Time (37) who-Who service (rwho, 513) xdmcp-X Display Manager Control Protocol (177 - HP Cisco MDS 9222i | 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 ] [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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 398
permit (IPv6) Chapter 6 Security Commands Send comments to [email protected] Syntax Description sequence-number protocol source destination (Optional) Sequence number of the permit command, which causes the device to insert the command in that - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 399
Chapter 6 Security Commands permit (IPv6) Send comments 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 DSCP field of the IPv6 header. The dscp - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 400
permit (IPv6) Chapter 6 Security Commands Send comments to [email protected] log time-range time-range-name icmp-message operator port [port] portgroup portgroup (Optional) Specifies that the device generates an informational logging message about - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 401
Commands permit (IPv6) Send comments to [email protected] established flags (TCP only; Optional) Specifies an IPv6 address object group named lab-svrs-1301 to specify the destination argument: switch(config-acl)# permit ipv6 any addrgroup lab-svrs-1301 • Address and variable-length - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 402
cisco.com IPv6-address/prefix-len The following example shows how to specify the source argument with the IPv6 address and VLSM for the 2001:0db8:85a3:: network: switch big • parameter-option-Parameter option problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 403
Commands permit (IPv6) Send comments to [email protected] • renum-result-Router renumbering result • renum 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) - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 405
to [email protected] Examples This example shows how to configure an IPv6 ACL named acl-lab13-ipv6 with rules permitting 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 406
comments to [email protected] permit (MAC) To of 10. If you do not specify a sequence number, the switch adds the rule to the end of the ACL and assigns to matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 407
) Send comments to [email protected] 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 enforces the first rule whose conditions - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 408
Commands Send comments to [email protected] Examples This example shows how to configure a MAC ACL named mac-ip-filter with a rule that permits all IPv4 traffic between two groups of MAC addresses: switch(config)# mac access-list mac-ip-filter switch(config-mac-acl)# permit 00c0.4f00 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 409
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 Command - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 411
vlan policy deny 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 Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 412
permit vlan Chapter 6 Security Commands Send comments to [email protected] 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 413
Security Commands permit vrf Send comments to [email protected] permit vrf To add virtual routing and forwarding of VRFs for a user role VRF policy: switch(config)# role name MyRole switch(config-role)# vrf policy deny switch(config-role-vrf)# permit vrf management Related Commands - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 414
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 global dead-time interval for all RADIUS servers to perform periodic monitoring: switch(config)# radius-server deadtime 5 This example shows how to revert to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 415
radius-server directed-request Send comments to [email protected] radius-server directed-request To allow users to send to send authentication requests to a specific RADIUS server when logging in: switch(config)# radius-server directed-request This example shows how to disallow users - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 416
of Protected Access Credentials on the RADIUS Cisco ACS server for use with Cisco TrustSec. (Optional) Configures accounting. (Optional ) Configures authentication. (Optional) Configures the number of times that the switch tries to connect to a RADIUS server before reverting to local authentication. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 417
test 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 418
Chapter 6 Security Commands Send comments to [email protected] radius-server key To configure a RADIUS shared secret can configure a global key to be used for all RADIUS server configurations on the switch. You can override this global key assignment by using the key keyword in the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 419
Chapter 6 Security Commands radius-server retransmit Send comments to [email protected] radius-server retransmit To specify the number of times that the switch should try a request with a RADIUS server, use the radius-server retransmit command. To revert to the default, use the no - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 420
Chapter 6 Security Commands Send comments to [email protected] radius-server timeout To specify the time between 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 421
create a remark in an IPv4 ACL and display the results: 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 Command Reference 6-87 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 423
6 Security Commands resequence Send comments to [email protected] resequence To reassign sequence numbers to all rules for the first rule in the ACL or time range. Number that the switch adds to each subsequent sequence number. Command Default None Command Modes Configuration mode - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 424
[email protected] Examples This example shows how to resequence an IPv4 ACL named ip-acl-01 with a starting sequence number of 100 and an increment of 10, using the show ip access-lists command to verify sequence numbering before and after the use of the resequence command: switch(config - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 425
: switch(config)# no role feature-group name MyGroup Related Commands Command feature-group name show role feature-group Description Specifies or creates a user role feature group and enters user role feature group configuration mode. Displays the user role feature groups. OL-16599-01 Cisco - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 426
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-Complete read-and-write access to the entire - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 428
Chapter 6 Security Commands rule Send comments to [email protected] This example shows how to remove rule 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 - HP Cisco MDS 9222i | 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 430
server Chapter 6 Security Commands Send comments to [email protected] This example shows how to add a server to a TACACS+ server group: switch(config)# feature tacacs+ switch(config)# aaa group server tacacs+ TacServer switch(config-tacacs+)# server 10.10.2.2 This example shows how to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 431
Security Commands show aaa accounting Send comments to [email protected] show aaa accounting To display AAA accounting configuration, use 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 433
6 Security Commands show aaa groups Send comments to [email protected] show aaa groups To display AAA server group configuration, . Examples This 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 434
: switch# show access-lists Related Commands Command ip access-list mac access-list show ip access-lists show mac access-lists Description 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 435
Commands show accounting log Send comments to [email protected] show accounting log To display the accounting log and ending at 16:00:00 on February 29, 2008: switch# show accounting log start-time 2008 Feb 1 15:59:59 end-time 2008 Feb 29 16:00:00 Related Commands Command clear - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 436
lists Chapter 6 Security Commands Send comments to [email protected] show ip access-lists To display all IPv4 ACLs access-list-name (Optional) Name of an IPv4 ACL to show. Command Default The switch shows all IPv4 ACLs, unless you use the access-list-name argument to specify an ACL - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 437
Security Commands show ipv6 access-lists Send comments to [email protected] show ipv6 access-lists To display all IPv6 ACLs or a 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 439
: 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 6-105 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 441
Chapter 6 Security Commands show radius-server Send comments to [email protected] This example shows how to display information for a specified RADIUS server group: switch# show radius-server groups RadServer This example shows how to display sorted information for all RADIUS servers: - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 443
Security Commands show role feature Send comments to [email protected] show role feature To display the user role example shows how to display detailed information a specific user role feature: switch# show role feature name boot-variable Related Commands Command role feature-group - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 444
group Chapter 6 Security Commands Send comments to [email protected] show role feature-group To display the user role Examples This example shows how to display the user role feature groups: switch# show role feature-group This example shows how to display detailed information about - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 445
Commands show running-config aaa Send comments to [email protected] show running-config aaa To display authentication, authorization, 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 446
radius Chapter 6 Security Commands Send comments to [email protected] show running-config radius To display RADIUS server information how to display information for RADIUS in the running configuration: switch# show running-config radius Related Commands Command show radius-server - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 447
Commands show running-config security Send comments to [email protected] show running-config security To display user account, 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 448
ssh key Chapter 6 Security Commands Send comments to [email protected] show ssh key To display the Secure Shell (SSH) 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. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 449
Security Commands show ssh server Send comments to [email protected] show ssh server To display the Secure Shell ( . 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 450
config aaa Chapter 6 Security Commands Send comments to [email protected] show startup-config aaa To display authentication, authorization, 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 451
Commands show startup-config radius Send comments to [email protected] show startup-config radius To display RADIUS configuration 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 452
security Chapter 6 Security Commands Send comments to [email protected] show startup-config security To display user account, 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 454
Commands Send comments to [email protected] This example shows how to display information for TACACS+ server groups: switch# show tacacs-server groups This example shows how to display information for a specified TACACS+ server group: switch# show tacacs-server groups TacServer This - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 455
Commands show telnet server Send comments to [email protected] show telnet server To display the Telnet server . Examples This example shows how to display the Telnet server status: switch# show telnet server Related Commands Command telnet server enable Description Enables the - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 457
Chapter 6 Security Commands show users Send comments to [email protected] show users To display the users currently logged on the switch, use the show users command. show users Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 458
Chapter 6 Security Commands Send comments to [email protected] show vlan access-list To display the contents to display the contents of the ACL associated with the specified VLAN access map: switch# show vlan access-list vlan1map Related Commands Command ip access-list mac access-list - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 459
Commands show vlan access-map Send comments to [email protected] show vlan access-map To display all VLAN name] Syntax Description 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 select a - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 460
Chapter 6 Security Commands Send comments to [email protected] show vlan filter To display information about instances This example shows how to display all VLAN access map information on the switch: switch# show vlan filter Related Commands Command action match show vlan access-map - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 461
Chapter 6 Security Commands ssh Send comments to [email protected] ssh To create a Secure Shell (SSH) session using IPv4, was introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to start an SSH session using IPv4: switch# ssh 10.10.1.1 vrf - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 462
Chapter 6 Security Commands ssh6 Send comments to [email protected] ssh6 To create a Secure Shell (SSH) session using IPv6, introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to start an SSH session using IPv6: switch# ssh 2001:0DB8::200C: - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 463
1a) Modification This command was introduced. Usage Guidelines The Cisco NX-OS software supports SSH version 2. If you want to remove or replace key length: switch(config)# ssh key rsa This example shows how to create an SSH server key using RSA with a specified key length: switch(config)# ssh - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 464
ssh key Chapter 6 Security Commands Send comments to [email protected] This example shows how to remove the DSA SSH server key: switch(config)# no ssh server enable switch(config)# no ssh key dsa switch(config)# ssh server enable This example shows how to remove all SSH server keys: - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 465
Security Commands ssh server enable Send comments to [email protected] ssh server enable To enable the Secure Shell ( was introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to enable the SSH server: switch(config)# ssh server enable This - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 466
Chapter 6 Security Commands Send comments to [email protected] storm-control level To set the suppression level broadcast traffic and set 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 467
Chapter 6 Security Commands storm-control level Send comments to [email protected] This example shows how to disable the suppression mode for multicast traffic: switch(config-if)# no storm-control multicast level Related Commands Command show interface show running-config - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 468
deadtime Chapter 6 Security Commands Send comments to [email protected] tacacs-server deadtime To set a periodic time interval shows how to configure the dead-time interval and enable periodic monitoring: switch(config)# tacacs-server deadtime 10 This example shows how to revert to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 469
tacacs-server directed-request Send comments to [email protected] tacacs-server directed-request To allow users to to send authentication requests to a specific TACACS+ server when logging in: switch(config)# tacacs-server directed-request This example shows how to disallow users - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 470
-server host Chapter 6 Security Commands Send comments to [email protected] tacacs-server host To configure TACACS+ server host parameters, monitoring: disabled. Timeout: 1 second. Test username: test. Test password: test. 6-136 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 472
config)# tacacs-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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 473
Commands tacacs-server timeout Send comments to [email protected] tacacs-server timeout To specify the time between example shows how to revert to the default TACACS+ server timeout value: switch(config)# no tacacs-server timeout 3 Related Commands Command feature tacacs+ show - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 475
Security Commands telnet server enable Send comments to [email protected] telnet server enable To enable the Telnet server, to enable the Telnet server: switch(config)# telnet server enable This example shows how to disable the Telnet server: switch(config)# no telnet server enable - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 477
aaa group server 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 478
vrf Chapter 6 Security Commands Send comments to [email protected] Related Commands Command aaa group server feature tacacs+ Displays TACACS+ server information. Configures a TACACS+ server. Configures a VRF instance. 6-144 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 479
6 Security Commands username Send comments to [email protected] username To create and configure a user account 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 480
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 Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 481
Security Commands vlan access-map Send comments to [email protected] vlan access-map To create a new VLAN access the map: 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(config-access- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 482
this command, the VLAN-list argument is optional. If you omit this argument, the switch removes the access map from all VLANs where the access map is applied. Command 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 483
Chapter 6 Security Commands vlan filter Send comments to [email protected] Related Commands Command action match show vlan access-map show vlan filter 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 484
# 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 Command - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 489
# 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 Reference 7-3 - HP Cisco MDS 9222i | 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 9222i | 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 shows how to discard the NTP CFS distribution session in progress: switch# clear ntp session Related Commands Command show ntp Description Displays NTP information - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 493
Management Commands logging console Send comments to [email protected] logging console Use the logging console command to of 4 (warning) or higher to the console session: switch# configure terminal switch(config)# logging console 4 Related Commands Command Description show logging - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 494
Chapter 7 System Management Commands Send comments to [email protected] logging event Use the logging event command to log Examples This example shows how to log interface events: switch# configure terminal switch(config)# logging event link-status default Related Commands Command - HP Cisco MDS 9222i | 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 496
Chapter 7 System Management Commands Send comments to [email protected] logging level Use the logging level command to enable the AAA facility that have a severity level of 2 or higher: switch(config)# logging level aaa 2 7-10 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 498
Chapter 7 System Management Commands Send comments to [email protected] logging logfile Use the logging logfile command 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 500
Chapter 7 System Management Commands Send comments to [email protected] logging module Use the logging module command to Examples This example shows how to enable module log messages: switch(config)# logging module Related Commands Command Description show logging module Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 501
Commands logging monitor Send comments to [email protected] logging monitor Use the logging monitor command Examples This example shows how to enable monitor log messages: switch(config)# logging monitor Related Commands Command Description show logging monitor Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 502
7 System Management Commands Send comments to [email protected] logging server Use the logging server command to 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 503
7 System Management Commands logging server Send comments to [email protected] This example shows 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 504
7 System Management Commands Send comments to [email protected] logging timestamp Use the logging timestamp command to set shows how to set the logging timestamp units to microseconds: switch(config)# logging timestamp microseconds Related Commands Command show logging timestamp - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 505
for backwards compatibility. Examples This example forms a server association with a server: switch(config)# ntp server ntp.cisco.com You can specify multiple associations. This example forms a peer association with a peer: switch(config)# ntp peer 10.20.10.0 This example deletes an association - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 506
Send comments to [email protected] ntp abort To discard the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in how to discard the NTP CFS distribution session in progress: switch(config)# ntp abort Related Commands Command ntp distribute show ntp - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 507
to the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the ntp commit command. ntp commit shows how to commit changes to the active NTP configuration: switch(config)# ntp commit Related Commands Command ntp distribute show ntp - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 508
System Management Commands Send comments to [email protected] ntp distribute To enable Cisco Fabric Services (CFS) distribution for Network Time Protocol (NTP to distribute the active NTP configuration to the fabric: switch(config)# ntp distribute Related Commands Command ntp commit - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 509
Management Commands ntp sync-retry Send comments to [email protected] ntp sync-retry To retry synchronization with the example shows how to retry synchronization with the configured NTP servers: switch# ntp sync-retry Related Commands Command ntp distribute show ntp Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 510
7 System Management Commands Send comments to [email protected] show logging console Use the show logging console This example shows how to display the console logging configuration: switch# show logging console Related Commands Command logging console Description Configures - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 511
Management Commands show logging info Send comments to [email protected] show logging info Use the show logging info command to 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 513
Management Commands show logging level Send comments to [email protected] show logging level Use the show logging level command shows how to display the EtherChannel logging severity level configuration: switch# show logging level port-channel Related Commands Command logging level - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 515
Commands show logging module Send comments to [email protected] show logging module Use the show logging module Examples This example shows how to display the module logging configuration: switch# show logging module Related Commands Command logging module Description Configures - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 516
7 System Management Commands Send comments to [email protected] show logging monitor Use the show logging monitor This example shows how to display the monitor logging configuration: switch# show logging monitor Related Commands Command logging monitor Description Configures - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 518
7 System Management Commands Send comments to [email protected] show logging onboard To display the onboard logging information the OBFL history information. obfl-logs Displays the OBFL technical support log information. stack-trace Displays the OBFL kernel stack trace information - HP Cisco MDS 9222i | 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 as follows: • begin [-i] [-x] [word]-Begin with the line that matches the text. - -i- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 520
operating temperatures, hardware uptime, interrupts, and other 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 memory. When the onboard hardware is started up - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 521
: • Timestamp 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 - HP Cisco MDS 9222i | 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: • Time in seconds • Time in microseconds • Error description string • Current process name and - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 523
Commands show logging server Send comments to [email protected] show logging server Use the show logging server Examples This example shows how to display the syslog server configuration: switch# show logging server Related Commands Command logging server Description Configures a - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 526
7 System Management Commands Send comments to [email protected] show logging timestamp Use the show logging timestamp command example shows how to display the logging timestamp configuration: switch# show logging timestamp Related Commands Command logging timestamp Description - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 528
Chapter 7 System Management Commands Send comments to [email protected] show ntp peers To display information about Network was introduced. Examples This example displays information about NTP peers: switch(config)# show ntp peers Related Commands Command Description show ntp peer - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 529
System Management Commands show ntp statistics Send comments to [email protected] show ntp statistics To display Network Time Protocol (NTP) was introduced. Examples This example displays statistics for NTP: switch(config)# show ntp statistics local Related Commands Command clear - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 531
comments to [email protected] System Message Logging syslog messages. Sets syslog level for Device Alias Distribution Service. delta statistics syslog level. Sets level for EPP syslog messages. Sets level for evmc syslog messages. fabric start cfg mgr syslog level. Sets level for fc2d - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 532
System Message Logging Facilities Chapter 7 System Management Commands Send comments to [email protected] Table 7-3 System Message Logging Facilities (continued) Facility feature-mgr flogi fs-daemon fspf ftp fwm gatos im kernel l3vm license local0 local1 local2 local3 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 533
Chapter 7 System Management Commands System Message Logging Facilities Send comments to [email protected] Table 7-3 System Message Logging Facilities (continued) Facility rlir rscn san-port-channel scsi-target security session sifmgr spanning-tree stp syslog sysmgr tcpudp track - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 536
cfs distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] cfs distribute To enable or disable Cisco Fabric Services (CFS) distribution on the switch, use the cfs distribute command. To disable this feature, use the no form of the command. cfs distribute no cfs - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 537
Send comments to [email protected] cfs ipv4 distribute To enable Cisco Fabric Services (CFS) distribution over IPv4 switch. • A switch that has IPv4 distribution enabled cannot detect a switch that IPv6 distribution enabled. The switches operate as if they are in two different fabrics - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 538
cfs ipv4 distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 539
to [email protected] cfs ipv4 mcast-address To configure an IPv4 multicast address for Cisco Fabric Services (CFS) distribution to revert to the default IPv4 multicast address for CFS distribution over IPv4: switch(config)# no cfs ipv4 mcast-address 10.1.10.100 Distribution over this IP - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 540
cfs ipv4 mcast-address Chapter 8 Fibre Channel Commands Send 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 541
Send comments to [email protected] cfs ipv6 distribute To enable Cisco Fabric Services (CFS) distribution over IPv6 switch. • A switch that has IPv4 distribution enabled cannot detect a switch that IPv6 distribution enabled. The switches operate as if they are in two different fabrics - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 542
cfs ipv6 distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 543
to [email protected] cfs ipv6 mcast-address To configure an IPv6 multicast address for Cisco Fabric Services (CFS) distribution over shows how to configure an IP multicast address for CFS over IPv6: switch(config)# cfs ipv6 mcast-address ff13::e244:4754 Distribution over this IP - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 544
cfs ipv6 mcast-address Chapter 8 Fibre Channel Commands Send 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 545
application, the application distribution is 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 546
Chapter 8 Fibre Channel Commands Send comments to [email protected] cfs staggered-merge CFS can merge the data from Examples The following example shows how to enable CFS staggered merge: switch(config)# cfs staggered-merge enable Related Commands Command show cfs status - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 548
Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fcdomain To clear the entire list of 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 550
Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fcns statistics To clear the name server statistics The following example shows how to clear the name server statistics: switch# clear fcns statistics vsan 1 Related Commands Command show fcns statistics - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 552
example 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 553
session Send comments to [email protected] clear fctimer session To clear fctimer Cisco Fabric Services (CFS) session configuration and locks The following example shows how to clear an fctimer session: switch# clear fctimer session Related Commands Command show fctimer Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 554
Channel Commands Send comments to [email protected] clear fspf counters To clear the Fabric Shortest Path First (FSPF) statistics, use . Examples The following example clears the FSPF statistics on VSAN 1: switch# clear fspf counters vsan 1 The following example clears FSPF statistics - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 555
Chapter 8 Fibre Channel Commands clear port-security Send comments to [email protected] clear port-security To clear the port security information on the switch, use the clear port-security command. clear port-security {database auto-learn {interface fc slot/port | san-port-channel - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 557
Channel Commands clear rscn session Send comments to [email protected] clear rscn session To clear a Registered State Change introduced. Examples The following example clears an RSCN session on VSAN 1: switch# clear rscn session vsan 1 Related Commands Command rscn show rscn - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 559
Fibre Channel Commands clear zone Send comments to [email protected] clear zone To clear all configured information in the 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 560
to [email protected] device-alias abort To discard a Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution discard a device alias CFS distribution session in progress: switch(config)# device-alias abort Related Commands Command device-alias - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 561
to the Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the device-alias commit to commit pending changes to the active DPVM database: switch(config)# device-alias commit Related Commands Command device-alias database - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 562
Send comments to [email protected] device-alias database To initiate a Distributed Device Alias Services (device alias) session and device alias session that locks all the databases on all the switches in this fabrics. When you exit device alias database configuration mode, the device - HP Cisco MDS 9222i | 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 shows how to enable distribution for device alias information: switch(config)# device-alias distribute Related Commands Command device-alias - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 564
Send comments to [email protected] device-alias import fcalias has only one member. • The member type is supported by the device name implementation. If any name conflict table can distributed to all other switches in the physical fabric using the device-alias distribute command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 565
Channel Commands device-alias mode Send comments to [email protected] device-alias mode To configure device alias enhanced mode, The following example shows how to device alias enhanced mode: switch(config)# device-alias mode enhanced Related Commands Command device-alias database - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 566
-alias 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 567
device-alias 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 568
Chapter 8 Fibre Channel Commands Send comments to [email protected] discover custom-list To selectively initiate discovery for specified example selectively initiates discovery for the specified VSAN and domain ID: switch# discover custom-list add vsan 1 domain 2 The following example - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 569
Chapter 8 Fibre Channel Commands discover scsi-target Send comments to [email protected] discover scsi-target To discover SCSI targets on local storage to the switch or remote storage across the fabric, use the discover scsi-target command. discover scsi-target {custom-list | local | - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 570
: 1 FCID: 0x9c03d6 PWWN: 00:00:00: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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 571
traffic: 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 572
default (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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 574
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 OL-16599-01 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 577
The following 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 578
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcalias clone To clone a Fibre Channel alias, how to clone a fcalias named origAlias to cloneAlias on VSAN 45: switch(config)# fcalias clone origAlias cloneAlias vsan 45 Related Commands Command show fcalias - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 579
8 Fibre Channel Commands fcalias name Send comments to [email protected] fcalias name To configure a Fibre Channel alias, use configure an fcalias called AliasSample on VSAN 3: switch(config)# fcalias name AliasSample vsan 3 switch(config-fcalias)# Related Commands Command member ( - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 580
rename Chapter 8 Fibre Channel Commands Send comments to [email protected] fcalias rename To rename a Fibre Channel alias (fcalias Examples The following example shows how to rename an fcalias: switch(config)# fcalias rename oldalias newalias vsan 10 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 581
Commands fcdomain Send comments to [email protected] fcdomain To configure the Fibre Channel domain local interfaces are isolated, and the local switch assigns itself the configured domain ID, which becomes the runtime domain ID. Specifies the fabric name. The name format is hh:hh: - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 582
fcdomain Chapter 8 Fibre Channel Commands Send comments to [email protected] Usage Guidelines You can use this command to select the principal switch, configure domain ID distribution, reconfigure the fabric, and allocate FC IDs. We recommend using the optimize fast-restart option on - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 583
Channel Commands fcdomain abort vsan Send comments to [email protected] fcdomain abort vsan To flush cached data without Examples The following example shows how to flush cached data: switch(config)# fcdomain abort vsan 10 Related Commands Command Description fcdomain - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 584
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcdomain commit vsan To commit cached data and release . Examples The following example shows how to commit cached data: switch(config)# fcdomain commit vsan 10 Related Commands Command fcdomain fcdomain abort - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 585
[email protected] fcdomain distribute To enable fabric distribution using Cisco Fabric Services (CFS), use the fcdomain distribute command. To disable fabric fabric distribution using CFS: switch(config)# fcdomain distribute The following example disables fabric distribution using CFS: switch - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 586
vfc 3 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 587
Chapter 8 Fibre Channel Commands fcdroplatency Send comments to [email protected] fcdroplatency To configure the network and switch Fibre Channel drop latency time, use the fcdroplatency command. To disable the Fibre Channel latency time, use the no form of the command. fcdroplatency - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 588
example enables the flow counter for a specific flow: 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 Command Reference OL-16599-01 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 590
Commands Send comments to [email protected] fcid-allocation Use the fcid-allocation command to manually add a FCID to the default port attached to a Fx port in any switch. To conserve the number of FCIDs used, Cisco Nexus 5000 Series switches use a special allocation scheme. Some HBAs - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 591
command defines 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 592
poll Chapter 8 Fibre Channel Commands Send comments to [email protected] fcns no-auto-poll To enable or disable automatic Examples The following example shows how to disable automatic polling for VSAN 2: switch(config)# fcns no-auto-poll vsan 2 Related Commands Command show fcns - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 593
the CLI. The name server can be viewed using the CLI or the Cisco Fabric Manager. All name server registration requests come from the same port whose parameter shows configuring a proxy port for VSAN 2: switch(config)# fcns proxy-port 21:00:00:e0:8b:00:26:d vsan 2 Related Commands Command show fcns - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 594
vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] fcns reject-duplicate-pwwn vsan To reject duplicate Fibre Channel The following example rejects duplicate FCNS pWWNs for VSAN 2: switch(config)# fcns reject-duplicate-pwwn vsan 2 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 595
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcping fcping To ping an N port, use the fcping range 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 Command - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 597
interface fc3/1 domain 3 vsan 2 The following example specifies the SAN port channel interface and the route for the domain of the next 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 Command Reference 8-63 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 598
Chapter 8 Fibre Channel Commands Send comments to [email protected] The following example specifies the Fibre Channel interface, the route for the domain of the next hop switch, and the cost of the route for VSAN 1: switch(config)# fcroute 0x031211 interface fc1/1 domain 3 metric 1 vsan - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 600
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcs register To register FCS attributes, use the fcs FCS attributes: switch(config)# fcs register Related Commands Command show fcs Description Displays fabric configuration server information. 8-66 Cisco Nexus 5000 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 605
fcsp dhchap Send comments to [email protected] The following example configures the use of only the SHA-1 hash algorithm: switch(config)# fcsp dhchap hash sha1 The following example configures the use of only the MD-5 hash algorithm: switch(config)# fcsp dhchap hash md5 The following - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 606
fcsp enable Chapter 8 Fibre Channel Commands Send comments to [email protected] fcsp enable To enable the Fibre Channel Security Protocol (FC-SP) in a switch, use the fcsp enable command. Additional FC-SP commands are available when the FC-SP feature is enabled. To disable FC-SP, use - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 607
Channel Commands fcsp reauthenticate Send comments to [email protected] fcsp reauthenticate To reauthenticate a Fibre Channel or configures the FCSP reauthentication on a virtual Fibre Channel interface: switch# fcsp reauthenticate vfc 1 Related Commands Command fcsp enable show - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 608
8 Fibre Channel Commands Send comments to [email protected] fcsp timeout To configure the timeout value for . Examples The following example configures the FCSP timeout value: switch(config)# fcsp enable switch(config)# fcsp timeout 60 Related Commands Command fcsp enable show - HP Cisco MDS 9222i | 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 This command was introduced. Usage Guidelines The Cisco, Brocade, and McData FC Error Detect ( standard, these values must be the same on each switch in the fabric. Use the vsan option to configure different TOV - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 610
Send comments to [email protected] fctimer abort To discard a Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in how to discard a CFS distribution session in progress: switch(config)# fctimer abort Related Commands Command fctimer distribute show - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 611
to the Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the fctimer commit command. fctimer commit changes to the active Fibre Channel timer configuration: switch(config)# fctimer commit Related Commands Command fctimer distribute show - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 612
Fibre Channel Commands Send comments to [email protected] fctimer distribute To enable Cisco Fabric Services (CFS) distribution for Fibre Channel timer (fctimer how to change the default Fibre Channel timers: switch(config)# fctimer distribute Related Commands Command fctimer commit - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 613
Chapter 8 Fibre Channel Commands Send comments to [email protected] fctrace fctrace To trace the route to an N port, Examples The following example traces a route to the specified fcid in VSAN 1: switch# fctrace fcid 0x660000 vsan 1 The following example traces a route to the specified - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 615
fspf config Send comments to [email protected] fspf config To configure an FSPF feature specifies the minimum time before a new link state update for a domain will be accepted by switch. The parameter ls-arrival-time is an integer specifying time in milliseconds. The range is 0 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 616
8 Fibre Channel Commands Send comments to [email protected] Command History Release 4.0(0)N1(1a) Modification This 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 617
Channel Commands fspf cost Send comments to [email protected] fspf cost To configure FSPF link cost for applicable to virtual Fibre Channel interfaces. FSPF tracks the state of links on all switches in the fabric, associates a cost with each link in its database, and then chooses the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 618
)# interface 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 619
8 Fibre Channel Commands fspf enable Send comments to [email protected] fspf enable To enable FSPF for a VSAN, use enables FSPF in VSAN 5 and disables FSPF in VSAN 7: switch(config)# fspf enable vsan 5 switch(config)# no fspf enable vsan 7 Related Commands Command fspf config - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 620
8 Fibre Channel Commands Send comments to [email protected] fspf hello-interval To verify the health of the following example configures a hello interval of 3 seconds on VSAN 1: switch(config)# interface fc 2/1 switch(config-if)# fspf hello-interval 3 vsan 1 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 621
(config)# interface 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 622
)# interface 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 623
3452 The following example shows how to disable in-order delivery for a specific VSAN: 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 Command Reference 8-89 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 624
interface fc Chapter 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 625
fc 1/1 - 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 command to in a manually configured channel group. Examples The following example configures ports 1 to 4 in Fibre Channel interface 3: switch(config)# - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 627
Chapter 8 Fibre Channel Commands interface san-port-channel Send comments to [email protected] Examples The following example configures SAN port channel interface 3: switch(config)# interface san-port-channel 3 Related Commands Command show interface shutdown Description Displays - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 630
Commands Send comments to [email protected] logging abort To discard the logging Cisco Fabric Services (CFS) distribution session in progress progress: switch(config)# logging abort Related Commands Command show logging Description Displays logging information. 8-96 Cisco Nexus - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 631
pending configuration pertaining to the logging Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the logging commit command. how to commit changes to the active logging configuration: switch(config)# logging commit Related Commands Command show logging Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 632
Fibre Channel Commands Send comments to [email protected] logging distribute To enable Cisco Fabric Services (CFS) distribution for logging, use the to change the distribute logging configuration changes: switch(config)# logging distribute Related Commands Command logging commit - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 633
configuration mode) Send comments to [email protected] member (fcalias configuration mode) To add 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 634
member (fcalias configuration mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] The following example shows how to delete the specified member: switch(config-fcalias)# no member interface fc3/1 Related Commands Command fcalias name show fcalias Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 635
Chapter 8 Fibre Channel Commands member (zone configuration mode) Send comments to [email protected] member (zone configuration mode) To add a member name to a Fibre Channel zone, use the member command. To remove a member name from a zone, use the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 636
mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] Examples The following example shows how to add a member to a zone called zs1 on VSAN 1: switch(config)# zone name zs1 vsan 1 switch(config-zone)# member fcid 0x111112 The following example shows how to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 637
member (zoneset configuration mode) Send comments to [email protected] member (zoneset configuration mode) To configure zone set add a member zone to a zone set: switch(config)# zoneset name Zoneset1 vsan 10 switch(config-zoneset)# member ZoneA Related Commands Command show - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 638
NPIV for 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 639
npv auto-load-balance disruptive Send comments to [email protected] npv auto-load-balance disruptive To enable N Port the server interface so that the server performs a new login to the core switch. This action causes traffic disruption on the attached end devices. To avoid disruption - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 640
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 Reference OL - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 642
activate vsan number no-auto-learn command. In this case, you need to manually populate the port security database by individually securing each port. If the auto automatically enables auto-learning: switch(config)# port-security activate vsan 1 8-108 Cisco Nexus 5000 Series Command Reference OL- - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 643
8 Fibre Channel Commands port-security Send comments to [email protected] The following example deactivates the port security database for the specified VSAN, and automatically disables auto-learning: switch(config)# no port-security activate vsan 1 The following example disables - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 644
Commands Send comments to [email protected] port-security abort To discard the port security Cisco Fabric Services (CFS) distribution session in to discard a port security CFS distribution session in progress: switch(config)# port-security abort vsan 33 Related Commands Command port - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 645
pending configuration pertaining to the port security Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the port-security commit command. to commit changes to the active port security configuration: switch(config)# port-security commit vsan 13 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 646
8 Fibre Channel Commands Send comments to [email protected] port-security database To copy the port security database Examples The following example copies the active to the configured database: switch# port-security database copy vsan 1 The following example provides the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 647
Chapter 8 Fibre Channel Commands port-security database Send comments to [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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 648
Channel Commands Send comments to [email protected] port-security distribute To enable Cisco Fabric Services (CFS) distribution for port security, use to distribute the port security configuration to the fabric: switch(config)# port-security distribute Related Commands Command port - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 649
Channel Commands port-security enable Send comments to [email protected] port-security enable To enable port security, use the to enable port security: switch(config)# port-security enable The following example shows how to disable port security: switch(config)# no port-security - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 650
Chapter 8 Fibre Channel Commands Send comments to [email protected] port-track enable To enable port tracking for indirect how to enable port tracking: switch(config)# port-track enable The following example shows how to disable port tracking: switch(config)# no port-track enable - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 651
Channel Commands port-track force-shut Send comments to [email protected] port-track force-shut To force a shutdown of a of an interface and the interfaces that it is tracking: switch(config)# interface fc 2/2 switch(config-if)# no port-track force-shut Related Commands Command port - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 652
8 Fibre Channel Commands Send comments to [email protected] port-track interface To enable port tracking for specific example shows how to enable port tracking for specific interfaces: switch(config)# interface fc 2/3 switch(config-if)# port-track interface san-port-channel 2 Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 653
Commands purge fcdomain fcid Send comments to [email protected] purge fcdomain fcid To purge persistent FCIDs, use The 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, - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 654
Chapter 8 Fibre Channel Commands Send comments to [email protected] rlir preferred-cond fcid To specify a preferred Specifies a VSAN ID. The range is 1 to 4093. Command Default By default, the switch sends RLIR frames to one of the hosts in the VSAN with the register function set to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 655
Chapter 8 Fibre Channel Commands rlir preferred-cond fcid Send comments to [email protected] Related Commands Command show rlir clear rlir debug rlir Description Displays information about RLIR, Link Incident Record Registration (LIRR), and Distribute Registered Link Incident - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 656
[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 following example configures RSCNs in multi-PID format: switch(config)# rscn multi-pid vsan 1 Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 657
Fibre Channel Commands rscn abort Send comments to [email protected] rscn abort To cancel a Registered State Change Notification Examples The following example cancels an RSCN configuration on VSAN 1: switch(config)# rscn abort vsan 1 Related Commands Command Description rscn - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 658
Chapter 8 Fibre Channel Commands Send comments to [email protected] rscn commit To apply a pending Registered State Change 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. - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 659
. 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 enables - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 661
Commands san-port-channel persistent Send comments to [email protected] san-port-channel persistent To convert an autocreated SAN properties of an autocreated channel group to a persistent channel group: switch# san-port-channel 10 persistent Related Commands Command san-port-channel - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 664
Fibre Channel Commands Send comments to [email protected] switchport To configure a switch port parameter on a Fibre Channel or mode. Configures N port proxy mode. NP mode is valid only when the switch is operating in NPV mode. Configures the port speed. Configures 1000-Mbps speed - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 665
Commands switchport Send comments to [email protected] vsan-id all mode auto off on 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 666
Send comments to [email protected] switch(config-if)# switchport trunk mode auto switch(config-if)# switchport trunk allowed vsan all switch(config-if)# switchport trunk allowed vsan 3 switch(config-if)# switchport trunk allowed vsan add 2 switch(config-if)# switchport encap eisl - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 667
ignore bit-errors Send comments to [email protected] switchport ignore bit-errors To prevent the detection is detected when 15 error bursts occur in a 5-minute period. By default, the switch disables the interface when the threshold is reached. You can enter a shutdown/no shutdown - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 668
Chapter 8 Fibre Channel Commands Send comments to [email protected] Examples The following example shows how to prevent the detection of bit error events from disabling the interface: switch(config)# interface fc2/1 switch(config-if)# switchport ignore bit-errors The following example - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 669
this command are applied globally to all future switch port configurations, even if you do not individually 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 670
Channel 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 671
default zone default-zone permit Send comments to [email protected] system default zone default-zone permit To configure default the default values: switch(config)# system default zone default-zone permit The following example restores the default setting: switch(config)# no system - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 672
full Chapter 8 Fibre Channel Commands Send comments to [email protected] system default zone distribute full To configure default values example distributes default values to the active zone set only: switch(config)# no system default zone distribute full Related Commands Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 673
trunk protocol enable Send comments to [email protected] trunk protocol enable To configure the trunking only supports traffic in VSANs that it negotiated previously (when the trunking protocol was enabled). Also, other switches that are directly connected to this switch are - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 674
Commands Send comments to [email protected] vsan database To create multiple fabrics sharing the same physical infrastructure, assign Specifies the Fibre Channel interface by slot and port number on the switch. Configures the SAN port channel interface specified by the SAN port channel - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 675
VSAN-dependent switch WWN with the McData OUI [08:00:88]. Examples The following example shows how to create multiple fabrics sharing switch(config)# vsan database switch(config-vsan-db)# vsan 100 suspend switch(config-vsan-db)# vsan 100 interop 4 switch(config-vsan-db)# exit OL-16599-01 Cisco - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 677
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 range 64 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 678
8 Fibre Channel Commands Send comments to [email protected] wwn vsan To configure a WWN for a 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 679
Fibre Channel Commands zone clone Send comments to [email protected] zone clone To clone a zone name, use zone group named origZone into the clone zone group cloneZone on VSAN 45: switch(config)# zone clone origZone cloneZone vsan 45 Related Commands Command show zone Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 680
Chapter 8 Fibre Channel Commands Send comments to [email protected] zone commit To commit zoning changes to a clear a session lock on a switch where the lock originated. Examples The following example commits zoning changes to VSAN 200: switch(config)# zone commit vsan 200 Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 681
a Cisco Nexus 5000 Series switch. If you attempt to merge VSANs, the merge will fail if more than 2000 zones are present in a VSAN and the neighboring VSAN cannot support more than 2000 zones. Activation will fail if more than 2000 zones are present in the VSAN and one or more switches in the fabric - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 682
8 Fibre Channel Commands Send comments to [email protected] zone copy To copy the active zone set . Examples The following example copies the active zone set to the full zone set: switch# zone copy active-zoneset full-zoneset vsan 1 The following example copies the active zone - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 683
Channel Commands zone default-zone Send comments to [email protected] zone default-zone To define whether a default zone becomes active. Examples The following example permits default zoning in VSAN 2: switch(config)# zone default-zone permit vsan 2 Related Commands Command system - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 684
isolated. Examples The following example shows how to set zone merge control for VSAN 10 to restricted: switch(config)# zone merge-control restrict vsan 10 Related Commands Command show zone Description Displays zone information. 8-150 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 685
in the 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 686
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 Nexus 5000 Series Command Reference OL-16599 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 687
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 8-153 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 688
deletes a 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 689
8 Fibre Channel Commands zone rename Send comments to [email protected] zone rename To rename a zone, use the zone 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 690
zoneset (configuration 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. To negate the command or revert to the factory defaults, - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 691
Chapter 8 Fibre Channel Commands zoneset (configuration mode) Send comments to [email protected] Examples The following example activates a zone set named zSet1 in VSAN 333: switch(config)# zoneset activate name zSet1 vsan 333 The following example clones a zone set named zSet1 into a - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 692
Commands Send comments to [email protected] zoneset (EXEC mode) To fabric. Exports the zone set database to the adjacent switch on the specified VSAN. The active zone set in this switch . The zoneset distribute vsan vsan-id command is supported in interop 2 and interop 3 modes, and not - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 693
Chapter 8 Fibre Channel Commands zoneset (EXEC mode) Send comments to [email protected] The following example 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 696
9 Fibre Channel Show Commands Send comments to [email protected] show cfs To display Cisco Fabric Services (CFS) information, use the show cfs command. show to display CFS physical peer information for all applications: switch# show cfs peers The following example shows how to - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 697
Chapter 9 Fibre Channel Show Commands show cfs Send comments to [email protected] 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 698
show debug npv Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show debug npv To display the N Port Virtualization (NPV) debug commands configured on the switch, use the show debug npv command. show debug npv Syntax Description This command has no other - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 700
show device-alias Chapter 9 Fibre Channel Show Commands Send comments 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 701
binding information: 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 704
local 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 705
Channel Show Commands show fcalias Send comments to [email protected] show fcalias To display the member name information in fcalias. Examples The following example displays fcalias configuration information: switch# show fcalias vsan 1 Related Commands Command fcalias name Description - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 706
9 Fibre Channel Show Commands Send comments to [email protected] show fcdomain To display the Fibre Channel domain ( FC IDs for a device (disk or host) that exited and reentered the fabric for the principal switch. In the cache content, VSAN refers to the VSAN that contains the device - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 707
the fcdomain domain-list information for VSAN 76: switch# show fcdomain domain-list vsan 76 Number of domains: 3 Domain ID WWN 0xc8(200) 20:01:00:05:30:00:47:df [Principal] 0x63(99) 20:01:00:0d:ec:08:60:c1 [Local] 0x61(97) 50:00:53:0f:ff:f0:10:06 [Virtual (IVR - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 708
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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 709
stats Send comments to [email protected] show fcflow stats To display the 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 710
Fibre Channel Show Commands Send comments to [email protected] show fcid-allocation Use the show fcid allocation list of company IDs: switch# show fcid-allocation area Fcid area allocation company id info: 00:50:2E 00:50:8B 00:60:B0 00:A0:B8 00:E0:69 00:E0:8B 00:32:23 + Total company - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 711
complete, especially if the fabric is large or if 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 714
show fcoe Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show fcoe To display the status of Fibre Channel over Ethernet (FCoE) on the switch, use the show fcoe command. show fcoe Syntax Description This command has no other keywords or arguments. Command - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 715
Channel Show Commands show fcroute Send comments to [email protected] show fcroute Use the show fcroute command to view displays administrative distance: switch# show fcroute distance The following example displays multicast routing information: switch# show fcroute multicast The - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 717
to [email protected] show fcs Use the show fcs commands to display the status of the fabric configuration. show fcs 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 718
port information 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 720
show fcsp Chapter 9 Fibre Channel Show Commands Send comments 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 721
to [email protected] show fctimer (Optional) Displays the distributed services time out value (D_S_TOV) in milliseconds. (Optional) Displays the fabric stability time out value (F_S_TOV switch# show fctimer The following example displays configured TOVs for a specified VSAN: switch - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 722
comments to [email protected] show fdmi To display the Fabric-Device Management Interface ( 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 723
Commands show flogi Send comments to [email protected] show flogi To list all the fabric login (FLOGI) sessions through all interfaces across is displayed in the FLOGI table, the fabric login is successful. Examine the FLOGI database on a switch that is directly connected to the host - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 724
9 Fibre Channel Show Commands Send comments to [email protected] The following example displays the FLOGI VSAN: switch# show 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 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 725
Fibre Channel Show Commands show fspf Send comments to [email protected] show fspf To display global Fibre Shortest Path First ( FSPF interface information: switch# show fspf interface vsan 1 fc2/1 The following example displays FSPF database information: switch# show fspf database - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 726
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show in-order-guarantee To display the present configured state 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 728
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show npv flogi-table To display the information about N is available only when the switch is in NPV mode. Examples The following example displays the information on NPV FLOGI session: switch# show npv flogi-table - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 729
Channel Show Commands show npv status Send comments to [email protected] show npv status To display the N port virtualization ( is available only when the switch is in NPV mode. Examples The following example displays the current status of NPV: switch# show npv status Related - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 730
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show npv traffic-map To display N port virtualization (NPV is available only when the switch is in NPV mode. Examples The following example displays the current status of NPV: switch# show npv traffic-map - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 731
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 Cisco Nexus 5000 Series Command Reference 9-37 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 732
Fibre Channel Show Commands Send comments to [email protected] show port-security To display configured port security feature access information for each port can be individually displayed. If you specify the fabric world wide name (fWWN) or interface options, all devices that are - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 733
Chapter 9 Fibre Channel Show Commands show port-security Send comments to [email protected] Examples The following example displays the contents of the port security database: switch# show port-security database The following example displays the output of the active port security - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 734
rlir Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show rlir To display Registered Link Incident Report (RLIR) VSAN 1: switch# show rlir erl vsan 1 The following example displays RLIR statistics: switch# show rlir statistics vsan 1 9-40 Cisco Nexus 5000 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 735
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 9-41 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 736
of 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 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 738
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show scsi-target To display information about existing SCSI target displays the status of a SCSI discovery: switch# show scsi-target status 9-44 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 739
Commands show scsi-target Send comments to [email protected] The following example displays a customized discovered targets: switch# show scsi-target custom-list The following example displays discovered disk information: switch# show scsi-target disk The following example displays the - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 740
show topology Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show topology To display topology information for connected SAN switches, use the show topology command. show topology [vsan vsan-id] Syntax Description vsan vsan-id (Optional) Displays - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 745
9 Fibre Channel Show Commands show zone Send comments to [email protected] show zone To display zone information, use the show zone . 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 746
switch# show zone member pwwn 21:00:00:20:37:9c:48:e5 The following example displays the number of control frames exchanged with other switches: switch mode. 100 = default, 1 = standard, 2 and 3 = Non-Cisco vendors. mode: Displays zoning mode either basic or enhanced. merge control: Displays - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 747
zone analysis Send comments to [email protected] show zone analysis To display detailed [CLI / SNMP / GS / CIM / INTERNAL] or Merge [interface] or Remote [Domain, IP-Address] [Switch name] Num zonesets: 1 Num zones: 1 Num aliases: 0 Num attribute groups: 0 Formatted database size: < - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 748
Send comments to [email protected] Table 9-4 describes the fields from Inter-VSAN Routing (IVR) or from the IP storage services manager. • Merge-Indicates that the full database was last the domain, only if the switch name is set. The default switch name switch and the ip-address are - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 750
Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show zoneset To display the configured zone sets, use the 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 - HP Cisco MDS 9222i | 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 9222i | 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 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 754
Index Send comments to [email protected] mac-address-table aging-time command 2-29 mac 6-72 permit interface command 6-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-links command 4-9 - HP Cisco MDS 9222i | 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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 756
command 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 1-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 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 757
switchport command 8-130 switchport ignore bit-errors command 8-133 switchport mode fex-fabric command 4-21 switchport mode private-vlan host command 2-94 switchport mode private-vlan system qos command 5-17 system startup-config unlock command 1-115 Cisco Nexus 5000 Series Command Reference IN-7 - HP Cisco MDS 9222i | Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 758
Index Send comments to [email protected] T tacacs-server deadtime command 6-134 tacacs-server directed-request command 6-135 tacacs-server 150 vrf context command 2-105 vrf policy deny command 6-151 vsan database command 8-140 IN-8 Cisco Nexus 5000 Series Command Reference OL-16599-01
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