HP AP775A Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1
HP AP775A - Nexus Converged Network Switch 5010 Manual
UPC - 884962062708
View all HP AP775A manuals
Add to My Manuals
Save this manual to your list of manuals |
HP AP775A manual content summary:
- HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 1
Send comments to [email protected] Cisco Nexus 5000 Series Command Reference Release 4.1(3)N1(1) August 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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 2
TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY We Work, Live, Play, and Learn, Cisco Store, and Flip Gift Card are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 3
@cisco.com 1 C H A P T E R OL-16599-01 CONTENTS Preface xix Audience xix Organization xix Document Conventions xx Obtaining Documentation and Submitting a Service Request xxi xxi Related Documentation xxi Basic System Commands 1-1 banner motd 1-2 boot 1-3 cd 1-5 clear cli history 1-6 clear cores - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 4
Contents Send comments to [email protected] end 1-33 exec-timeout 1-34 exit (EXEC) 1-36 exit (global) 1-37 feature fcoe 1-38 feature interface-vlan 1-39 feature lacp 1-40 feature private-vlan 1-41 feature tacacs+ 1-42 feature udld 1-43 find 1-44 format 1-45 gunzip 1-46 gzip 1-47 hostname - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 5
show sprom 1-101 show startup-config 1-103 show switchname 1-104 show system cores 1-105 show system reset-reason 1-106 show system uptime 1-107 show tech-support 1-108 show terminal 1-109 show version 1-110 sleep 1-111 speed 1-112 OL-16599-01 Cisco Nexus 5000 Series Command Reference iii - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 6
Contents Send comments to [email protected] stopbits 1-113 system cores 1-114 system startup-config unlock 1-115 switchname 1-116 tail 1-117 terminal length 1-118 terminal session-timeout 1-119 terminal terminal-type 1-120 terminal width 1-121 traceroute 1-122 traceroute6 1-123 update - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 7
Contents Send comments to [email protected] mac-address-table static 2-32 monitor session 2-34 name (VLAN configuration) 2-35 name (MST configuration) 2-36 port-channel load-balance ethernet 2-37 private-vlan 2-39 private-vlan association 2-41 private-vlan synchronize 2-43 revision 2-44 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 8
Contents Send comments to [email protected] spanning-tree port-priority 2-86 spanning-tree vlan 2-87 speed (Ethernet) 2-89 state 2-90 svi enable 2-91 switchport access vlan 2-92 switchport block 2-93 switchport mode private-vlan host 2-94 switchport mode private-vlan promiscuous 2-95 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 9
show interface 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 flowcontrol 5-3 match cos (class map type qos) 5-4 match access-group 5-5 match class-map 5-6 Cisco Nexus 5000 Series - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 10
class map type queuing) 5-8 match dscp 5-9 match ip rtp 5-11 match precedence 5-12 match protocol 5-14 policy-map type qos 5-16 priority-flow-control 5-17 service-policy 5-18 show class-map type qos 5-20 show class-map type queuing 5-21 show policy-map 5-22 show policy-map interface 5-23 show policy - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 11
Contents Send comments to [email protected] interface policy deny 6-39 ip access-list 6-40 ip port access-group 6-42 ipv6 access-list 6-44 ipv6 port traffic-filter 6-45 mac access-list 6-47 mac port access-group 6-49 match 6-51 permit (IPv4) 6-53 permit (IPv6) 6-63 permit (MAC) 6-72 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 12
Contents Send comments to [email protected] show role 6-108 show role feature 6-109 show role feature-group 6-110 show running-config aaa 6-111 show running-config radius 6-112 show running-config security 6-113 show ssh key 6-114 show ssh server 6-115 show startup-config aaa 6-116 show - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 13
Contents Send comments to [email protected] vlan policy deny 6-150 vrf policy deny 6-151 7 C H A P T E R OL-16599-01 System Management Commands 7-1 clear logging nvram 7-2 clear logging onboard 7-3 clear logging session 7-4 clear ntp session 7-5 clear ntp statistics 7-6 logging console - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 14
Contents Send comments to [email protected] show ntp peer-status 7-41 show ntp peers 7-42 show ntp statistics 7-43 show ntp timestamp-status 7-44 System Message Logging Facilities 7-45 8 C H A P T E R Fibre Channel Commands 8-1 cfs distribute 8-2 cfs ipv4 distribute 8-3 cfs ipv4 mcast- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 15
Contents Send comments to [email protected] discover scsi-target 8-35 fabric profile 8-37 fabric-binding activate 8-38 fabric-binding database copy 8-39 fabric-binding database diff 8-40 fabric-binding database vsan 8-41 fabric-binding enable 8-43 fcalias clone 8-44 fcalias name 8-45 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 16
Contents Send comments to [email protected] fctimer distribute 8-78 fctrace 8-79 fdmi suppress-updates 8-80 fspf config 8-81 fspf cost 8-83 fspf dead-interval 8-84 fspf enable 8-85 fspf hello-interval 8-86 fspf passive 8-87 fspf retransmit-interval 8-88 in-order-guarantee 8-89 interface - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 17
Contents Send comments to [email protected] rscn 8-122 rscn abort 8-123 rscn commit 8-124 rscn distribute 8-125 rscn event-tov 8-126 san-port-channel persistent 8-127 scsi-target 8-128 switchport 8-130 switchport ignore bit-errors 8-133 system default switchport 8-135 system default zone - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 18
Contents Send comments to [email protected] show fcdomain 9-12 show fcdroplatency 9-14 show fcflow stats 9-15 show fcid-allocation 9-16 show fcns database 9-17 show fcns statistics 9-19 show fcoe 9-20 show fcroute 9-21 show fcs 9-23 show fcsp 9-25 show fctimer 9-27 show fdmi 9-28 show - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 19
INDEX Contents Send comments to [email protected] show startup-config interface 10-4 show startup-config vpc 10-5 show vpc brief 10-6 show vpc consistency-parameters 10-9 show vpc orphan-ports 10-12 show vpc peer-keepalive 10-14 show vpc role 10-16 show vpc statistics 10-18 OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 20
Contents Send comments to [email protected] xviii Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 21
Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Title Basic System Commands Ethernet Commands Ethernet Show Commands Fabric Extender Commands Quality of Service Commands Security Commands Description Describes the basic Cisco NX-OS system commands. Describes the Cisco NX-OS Ethernet and Virtual - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 22
This document uses the following conventions: Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual. Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data. Cisco - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 23
a reader application. The RSS feeds are a free service and Cisco currently supports RSS Version 2.0. Related Documentation Documentation for Cisco Nexus Fabric Extender documents: Cisco Nexus 5000 Series CLI Software Configuration Guide, Cisco NX-OS Release 4.0 Cisco Nexus 5000 Series Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 24
Preface Send comments to [email protected] Cisco Nexus 5000 Series Command Reference xxii OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 25
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 26
banner motd Chapter 1 Basic System Commands Send comments to [email protected] banner motd To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco Nexus 5000 Series switch, use the banner motd command. To revert to the default, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 27
Chapter 1 Basic System Commands boot Send comments to [email protected] boot To configure the boot variable for the Cisco Nexus 5000 Series kickstart or system software image, use the boot command. To clear the boot variable, use the no form of this command. boot {kickstart | system} [ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 28
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 29
Chapter 1 Basic System Commands cd Send comments to [email protected] cd To change the current working directory in the device file system, use the cd command. cd [filesystem:] [//server/] directory Syntax Description filesystem: //server/ directory (Optional) Name of the file system. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 30
clear cli history Chapter 1 Basic System Commands Send comments to [email protected] clear cli history To clear the command history, use the clear cli history command. clear cli history Syntax Description This command has no arguments or keywords. Command Default None Command Modes - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 31
Chapter 1 Basic System Commands clear cores Send comments to [email protected] clear cores To clear the core files, use the clear cores command. clear cores Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC mode Command History - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 32
clear debug-logfile Chapter 1 Basic System Commands Send comments to [email protected] clear debug-logfile To clear the contents of the debug log file, use the clear debug-logfile command. clear debug-logfile filename Syntax Description filename Name of the debug log file to clear. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 33
Chapter 1 Basic System Commands clear install failure-reason Send comments to [email protected] clear install failure-reason To clear the reason for software installation failures, use the clear install failure-reason command. clear install failure-reason Syntax Description This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 34
clear license Chapter 1 Basic System Commands Send comments to [email protected] clear license To uninstall a license, use the clear license command. clear license filename Syntax Description filename Name of the license file to be uninstalled. Command Default None Command Modes - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 35
Chapter 1 Basic System Commands clear user Send comments to [email protected] clear user To log out a particular user, use the clear user command. clear user username Syntax Description username Name of the user to be logged out. Command Default None Command Modes EXEC mode - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 36
cli var name Chapter 1 Basic System Commands Send comments to [email protected] cli var name To define a command-line interface (CLI) variable for a terminal session, use the cli var name command. To remove the CLI variable, use the no form of this command. cli var name variable-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 37
Chapter 1 Basic System Commands 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 38
this command when you cannot synchronize the switch 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 39
Chapter 1 Basic System Commands clock summer-time Send comments to [email protected] clock summer-time To configure the summer-time (daylight saving time) offset, use the clock summer-time command. To revert to the default, use the no form of this command. clock summer-time zone-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 40
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 41
Chapter 1 Basic System Commands clock timezone Send comments to [email protected] clock timezone To configure the time zone offset from Coordinated Universal Time (UTC), use the clock timezone command. To revert to the default, use the no form of this command. clock timezone zone-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 42
configure session Chapter 1 Basic System Commands Send comments to [email protected] configure session To create or modify a configuration session, use the configure session command. configure session name Syntax Description name Name of the session. The name is a case-sensitive - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 43
Chapter 1 Basic System Commands configure terminal Send comments to [email protected] configure terminal To enter configuration mode, use the configure terminal command. configure terminal Syntax Description This command has no arguments or keywords. Command Default None Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 44
be either local or remote, depending upon whether the file is being downloaded or uploaded. Destination URL (or variable) of the copied file or :[//server][/path]/filename Source or destination URL for a network server that supports Secure Shell (SSH) and accepts copies of files using the secure - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 45
Chapter 1 Basic System Commands copy Send comments to [email protected] Table 1-2 Keyword sftp: tftp: URL Prefix Keywords for Remote File Systems (continued) Source or Destination Source or destination URL for an SSH FTP (SFTP) network server. The syntax for this alias is as follows: - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 46
a Configuration File from a Server to the Running Configuration Use the copy {ftp: | scp: | sftp: | tftp:}source-url running-config command to download a configuration file from a network server to the running configuration of the device. The configuration is added to the running configuration as if - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 47
Chapter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 48
copy running-config startup-config Chapter 1 Basic System Commands Send comments to [email protected] copy running-config startup-config To save the running configuration to the startup configuration file so that all current configuration details are available after a reboot, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 49
Chapter 1 Basic System Commands databits Send comments to [email protected] databits To configure the number of data bits in a character for the terminal port, use the databits command. To revert to the default, use the no form of this command. databits bits no databits bits Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 50
debug logfile Chapter 1 Basic System Commands Send comments to [email protected] debug logfile To direct the output of the debug commands to a specified file, use the debug logfile command. To revert to the default, use the no form of this command. debug logfile filename [size bytes] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 51
Chapter 1 Basic System Commands debug logging Send comments to [email protected] debug logging To enable debug command output logging, use the debug logging command. To disable debug logging, use the no form of this command. debug logging no debug logging Syntax Description This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 52
delete Chapter 1 Basic System Commands Send comments to [email protected] delete To delete a file or directory, use the delete command. delete [filesystem:] [//server/] [directory] filename Syntax Description filesystem: //server/ directory filename (Optional) Name of the file system - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 53
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 54
dir dir Chapter 1 Basic System Commands Send comments to [email protected] To display the contents of a directory, use the dir command. dir [filesystem:] [//server/] [directory] Syntax Description filesystem: //server/ directory (Optional) Name of the file system. Valid values are - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 55
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 directory. Deletes a directory. OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 56
echo Chapter 1 Basic System Commands Send comments to [email protected] echo To display a text string on the terminal, use the echo command. echo [text] Syntax Description text (Optional) Text string to display. The text string is alphanumeric, case sensitive, can contain spaces, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 57
Chapter 1 Basic System Commands end Send comments to [email protected] end To end the current configuration session and return to EXEC mode, use the end command in configuration mode. end Syntax Description This command has no arguments or keywords. Command Default None Command Modes - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 58
exec-timeout Chapter 1 Basic System Commands Send comments to [email protected] exec-timeout To configure the inactive session timeout on the console port or the virtual terminal, use the exec-timeout command. To revert to the default, use the no form of this command. exec-timeout - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 59
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 the running - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 60
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 61
Chapter 1 Basic System Commands exit (global) Send comments to [email protected] exit (global) To exit any configuration mode to the next highest mode in the CLI mode hierarchy, use the exit command in any configuration mode. exit Syntax Description This command has no arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 62
feature fcoe Chapter 1 Basic System Commands Send comments to [email protected] feature fcoe To enable virtual and native Fibre Channel interfaces after installing the FC_FEATURES_PKG license, use the feature fcoe command. To disable Fibre Channel interfaces and return the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 63
Chapter 1 Basic System Commands feature interface-vlan Send comments to [email protected] feature interface-vlan To enable the creation of VLAN interfaces, use the feature interface-vlan command. To disable the VLAN interface feature, use the no form of this command. feature interface - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 64
feature lacp Chapter 1 Basic System Commands Send comments to [email protected] feature lacp To enable Link Aggregation Control Protocol (LACP), which bundles a number of physical ports together to form a single logical channel, use the feature lacp command. To disable LACP on the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 65
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. Examples This example shows how to enable private VLAN functionality on the switch: switch - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 66
feature tacacs+ Chapter 1 Basic System Commands Send comments to [email protected] feature tacacs+ To enable TACACS+, use the feature tacacs+ command. To disable TACACS+, use the no form of this command. feature tacacs+ no feature tacacs+ Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 67
Chapter 1 Basic System Commands feature udld Send comments to [email protected] feature udld To enable the Cisco-proprietary Unidirectional Link Detection (UDLD) protocol), which allows ports that are connected through fiber optics or copper Ethernet cables to monitor the physical - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 68
find find Chapter 1 Basic System Commands Send comments to [email protected] To find filenames beginning with a character string, use the find command. find filename-prefix Syntax Description filename-prefix First part or all of a filename. The filename prefix is case sensitive. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 69
Chapter 1 Basic System Commands Send comments to [email protected] format format To format the bootflash device, which erases its contents and restores it to its factory-shipped state, use the format command. format bootflash: Syntax Description bootflash: Name of the bootflash file - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 70
gunzip Chapter 1 Basic System Commands Send comments to [email protected] gunzip To uncompress a compressed file, use the gunzip command. gunzip [filesystem:] [//server/] [directory] filename Syntax Description filesystem: //server/ directory filename (Optional) Name of the file - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 71
Chapter 1 Basic System Commands gzip Send comments to [email protected] gzip To compress a file, use the gzip command. gzip [filesystem:] [//server/] [directory] filename Syntax Description filesystem: //server/ directory filename (Optional) Name of the file system. Valid values are - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 72
hostname Chapter 1 Basic System Commands Send comments to [email protected] hostname To configure the hostname for the switch, use the hostname command. To revert to the default, use the no form of this command. hostname name no hostname Syntax Description name Hostname for the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 73
URL for a FTP network server. The syntax for this alias 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 is as follows: scp:[//[username@]server][/path]/filename OL-16599-01 Cisco - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 74
4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines If you do not enter the information about the server or username when downloading and installing the image files from a remote server, you are prompted for the information. This command sets the kickstart and system boot - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 75
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 76
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 introduced. Usage Guidelines - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 77
Chapter 1 Basic System Commands line console Send comments to [email protected] line console To specify the console port and enter console port configuration mode, use the line console command. line console Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 78
line vty Chapter 1 Basic System Commands Send comments to [email protected] line vty To specify the virtual terminal and enter line configuration mode, use the line vty command. line vty Syntax Description This command has no arguments or keywords. Command Default None Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 79
Chapter 1 Basic System Commands modem in Send comments to [email protected] modem in To enable the modem connection on the console port, use the modem in command. To disable the modem connection, use the no form of this command. modem in no modem in Syntax Description This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 80
return in octal Use the modem set-string command to configure the user-input initialization 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 81
Chapter 1 Basic System Commands 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 82
Chapter 1 Basic System Commands Send comments to [email protected] modem set-string user-input To configure the user-input initialization string to download to a modem connected to the console port, use the modem set-string user-input command. To revert to the default, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 83
Chapter 1 Basic System Commands move Send comments to [email protected] move To move a file from one directory to another, use the move command. move {[filesystem:] [//server/] [directory] source-filename} [filesystem:] [//server/] [directory] [destination-filename] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 84
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 directory contents. Displays the name of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 85
Chapter 1 Basic System Commands parity Send comments to [email protected] parity To configure the parity for the console port, use the parity command. To revert to the default, use the no form of this command. parity {even | none | odd} no parity {even | none | odd} Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 86
Chapter 1 Basic System Commands ping Send comments to [email protected] ping To determine the network connectivity to another network device, use the ping command. ping {dest-address | hostname} [count {number | unlimited}] [df-bit] [interval seconds] [packet-size bytes] [source src- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 87
Chapter 1 Basic System Commands 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 88
ping6 Chapter 1 Basic System Commands Send comments to [email protected] ping6 To determine the network connectivity to another device using IPv6 addressing, use the ping6 command. ping6 {dest-address | hostname} [count {number | unlimited}] [interface intf-id] [interval seconds] [ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 89
Chapter 1 Basic System Commands ping6 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 90
Cisco Nexus 5000 Series switch. Command Modes EXEC mode Command History 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 91
Chapter 1 Basic System Commands rmdir Send comments to [email protected] rmdir To remove a directory, use the rmdir command. rmdir [filesystem: [//server/]] directory Syntax Description filesystem: //server/ directory (Optional) Name of the file system. Valid values are bootflash, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 92
Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines You must create the command file on a remote device and download it to the Cisco Nexus 5000 Series switch using the copy command. Examples This example shows how to run a command script file: switch - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 93
Chapter 1 Basic System Commands save Send comments to [email protected] save To save the current configuration session to a file, use the save command. save location Syntax Description location Location of the file. The location can be in bootflash or volatile. The file name can be any - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 94
Chapter 1 Basic System Commands send Send comments to [email protected] send To send a message to the active user sessions, use the send command. send [session line] text Syntax Description session line text (Optional) Specifies a user session. Text string. The text string can be up to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 95
Chapter 1 Basic System Commands setup Send comments to [email protected] setup To enter the basic device setup dialog, use the setup command. setup [ficon] Syntax Description ficon (Optional) Runs the basic ficon setup command facility. Command Default None Command Modes EXEC mode - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 96
session-limit Chapter 1 Basic System Commands Send comments to [email protected] session-limit To configure the maximum number of the concurrent virtual terminal sessions on a device, use the session-limit command. To revert to the default, use the no form of this command. session- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 97
Chapter 1 Basic System Commands show banner motd Send comments to [email protected] show banner motd To display the message-of-the-day (MOTD) banner, use the show banner motd command. show banner motd Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 98
show boot Chapter 1 Basic System Commands Send comments to [email protected] show boot To display the boot variable configuration, use the show boot command. show boot [variables] Syntax Description variables (Optional) Displays a list of boot variables. Command Default Displays - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 99
Chapter 1 Basic System Commands show cli alias Send comments to [email protected] show cli alias To display the command alias configuration, use the show cli alias command. show cli alias [name alias-name] Syntax Description name alias-name (Optional) Specifies the name of a command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 100
show cli history Chapter 1 Basic System Commands Send comments to [email protected] show cli history To display the command history, use the show cli history command. show cli history [lines] [unformatted] Syntax Description lines unformatted (Optional) Displays the last number of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 101
Chapter 1 Basic System Commands show cli variables Send comments to [email protected] show cli variables To display the configuration of the CLI variables, use the show cli variables command. show cli variables Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 102
show clock Chapter 1 Basic System Commands Send comments to [email protected] show clock To display the current date and time, use the show clock command. show clock [detail] Syntax Description detail (Optional) Displays the summer-time (daylight saving time) offset configuration. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 103
Chapter 1 Basic System Commands show copyright Send comments to [email protected] show copyright To display the Cisco NX-OS software copyright information, use the show copyright command. show copyright Syntax Description This command has no arguments or keywords. Command Default - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 104
show debug logfile Chapter 1 Basic System Commands Send comments to [email protected] show debug logfile To display the contents of the debug logfile, use the show debug logfile command. show debug logfile filename Syntax Description filename Name of the debug log file. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 105
Chapter 1 Basic System Commands show environment Send comments to [email protected] show environment To display information about the hardware environment status, use the show environment command. show environment [fan | power | temperature] Syntax Description fan power temperature - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 106
show file Chapter 1 Basic System Commands Send comments to [email protected] show file To display the contents of a file on the local memory, use the show file command. show file [filesystem:] [//server/] [directory] filename Syntax Description filesystem: //server/ directory - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 107
Chapter 1 Basic System Commands show hardware internal Send comments to [email protected] show hardware internal To display information about the physical device hardware, use the show hardware internal command. show hardware internal Syntax Description This command has no arguments - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 108
show hostname Chapter 1 Basic System Commands Send comments to [email protected] show hostname To display the hostname for the switch, use the show hostname command. show hostname Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 109
Chapter 1 Basic System Commands show incompatibility system Send comments to [email protected] show incompatibility system To display the configuration incompatibilities between the running system image and an earlier system image prior to downgrading the Cisco NX-OS software, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 110
show install all Chapter 1 Basic System Commands Send comments to [email protected] show install all To display information related to the operation of the install all command, use the show install all command. show install all {failure-reason | impact [kickstart | system] | status} - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 111
Command History Release 4.0(0)N1(1a) 4.0(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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 112
show license Chapter 1 Basic System Commands Send comments to [email protected] show license To display license information, use the show license command. show license [brief | file filename] Syntax Description brief file filename (Optional) Displays a list of license files - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 113
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 114
used for this license package. A number in this field indicates that number of current usages of the license by features. This field is not supported. License status. "Unused" indicates that no features that require the license are enabled. "In use" indicates that one or more features are using the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 115
Chapter 1 Basic System Commands show license usage Send comments to [email protected] Table 1-6 show license usage Columns (continued) Column Expiry Date Comments Description License expiry date. The field is blank if the license is not installed. If the license is installed, the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 116
show line Chapter 1 Basic System Commands Send comments to [email protected] show line To display terminal port configuration information, use the show line command. show line [console] Syntax Description console (Optional) Displays only information about the console port - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 117
mode Command History Release 4.0(0)N1(1a) 4.0(1a)N2(1) Modification This command was introduced. This command 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 example shows how to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 118
show processes Chapter 1 Basic System Commands Send comments to [email protected] show processes To display the process information for the switch, use the show processes command. show processes [vdc vdc-number] Syntax Description vdc vdc-number (Optional) Displays process - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 119
Chapter 1 Basic System Commands show processes cpu Send comments to [email protected] show processes cpu To display the CPU utilization information for processes on the device, use the show processes cpu command. show processes cpu Syntax Description This command has no arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 120
show processes log Chapter 1 Basic System Commands Send comments to [email protected] show processes log To display the contents of the process log, use the show processes log command. show processes log [details | pid process-id] Syntax Description details pid process-id (Optional - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 121
Chapter 1 Basic System Commands show processes memory Send comments to [email protected] show processes memory To display the memory allocation information for processes, use the show processes memory command. show processes memory [shared [detail]] Syntax Description shared detail - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 122
show running-config Chapter 1 Basic System Commands Send comments to [email protected] show running-config To display the running configuration, use the show running-config command. show running-config [all] Syntax Description all (Optional) Displays all the default and configured - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 123
Chapter 1 Basic System 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, use the show running-config diff command. show running-config diff Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 124
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 the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 125
was introduced. This command was modified to provide Fabric Extender support. Usage Guidelines The SPROM on the switch contains detailed information serial, part, and revision numbers. If you need to report a problem with a system component, you can extract serial number information using the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 126
show sprom Chapter 1 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 127
Chapter 1 Basic System Commands show startup-config Send comments to [email protected] show startup-config To display the startup configuration, use the show startup-config command. show startup-config Syntax Description This command has no arguments or keywords. Command Default - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 128
show switchname Chapter 1 Basic System Commands Send comments to [email protected] show switchname To display the hostname for the device, use the show switchname command. show switchname Syntax Description This command has no arguments or keywords. Command Default None Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 129
Chapter 1 Basic System Commands show system cores Send comments to [email protected] show system cores To display the core filename, use the show system cores command. show system cores Syntax Description This command has no arguments or keywords. Command Default None Command Modes - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 130
mode Command History Release 4.0(0)N1(1a) 4.0(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 reset-reason history for the switch: switch# show system reset-reason This example shows - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 131
Chapter 1 Basic System Commands show system uptime Send comments to [email protected] show system uptime To display the amount of time since the last system restart, use the show system uptime command. show system uptime Syntax Description This command has no arguments or keywords. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 132
the complete list of commands that are executed by the show tech-support command. (Optional) Specific feature name. Use the command-line interface This command was introduced. Usage Guidelines The output from the show tech-support command is very long. To better manage this output, you can - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 133
Chapter 1 Basic System Commands show terminal Send comments to [email protected] show terminal To display information about the terminal configuration for a session, use the show terminal command. show terminal Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 134
EXEC mode Command History Release 4.0(0)N1(1a) 4.0(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 version information for the kickstart and system image running on the device: switch - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 135
Chapter 1 Basic System Commands sleep Send comments to [email protected] sleep To cause the command-line interface (CLI) to pause before displaying the prompt, use the sleep command. sleep seconds Syntax Description seconds Number of seconds. The range is from 0 to 2147483647. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 136
speed Chapter 1 Basic System Commands Send comments to [email protected] speed To configure the transmit and receive speed for the console port, use the speed command. To revert to the default, use the no form of this command. speed speed no speed speed Syntax Description speed - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 137
Chapter 1 Basic System Commands stopbits Send comments to [email protected] stopbits To configure the stop bits for the console port, use the stopbits command. To revert to the default, use the no form of this command. stopbits {1 | 2} no stopbits {1 | 2} Syntax Description 1 2 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 138
system cores Chapter 1 Basic System Commands Send comments to [email protected] system cores To configure the destination for the system core, use the system cores command. To revert to the default, use the no form of this command. system cores tftp:tftp_URL [vrf management] no system - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 139
Chapter 1 Basic System Commands system startup-config unlock Send comments to [email protected] system startup-config unlock To unlock the startup configuration file, use the system startup-config unlock command. system startup-config unlock process-id Syntax Description process-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 140
switchname Chapter 1 Basic System Commands Send comments to [email protected] switchname To configure the hostname for the device, use the switchname command. To revert to the default, use the no form of this command. switchname name no switchname Syntax Description name Hostname - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 141
Chapter 1 Basic System Commands tail Send comments to [email protected] tail To display the last lines of a file, use the tail command. tail [filesystem: [//server/]] [directory] filename [lines] Syntax Description filesystem: //server/ directory filename lines (Optional) Name of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 142
terminal length Chapter 1 Basic System Commands Send comments to [email protected] terminal length To set the number of lines of output to display on the terminal screen for the current session before pausing, use the terminal length command. To revert to the default, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 143
Chapter 1 Basic System Commands terminal session-timeout Send comments to [email protected] terminal session-timeout To set the terminal inactivity timeout for the current session, use the terminal session-timeout command. To revert to the default, use the no form of this command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 144
terminal terminal-type Chapter 1 Basic System Commands Send comments to [email protected] terminal terminal-type To set the terminal type for the current session, use the terminal terminal-type command. To revert to the default, use the no form of this command. terminal terminal-type - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 145
Chapter 1 Basic System Commands terminal width Send comments to [email protected] terminal width To set the number of character columns on the terminal screen for the current line for a session, use the terminal width command. To revert to the default, use the no form of this command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 146
traceroute Chapter 1 Basic System Commands Send comments to [email protected] traceroute To discover the routes that packets take when traveling to an IP address, use the traceroute command. traceroute {dest-addr | hostname} [vrf {vrf-name | default | management}] [source src-addr] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 147
Chapter 1 Basic System Commands traceroute6 Send comments to [email protected] traceroute6 To discover the routes that packets take when traveling to an IPv6 address, use the traceroute6 command. traceroute6 {dest-addr | hostname} [vrf {vrf-name | default | management}] [source src- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 148
update license Chapter 1 Basic System Commands Send comments to [email protected] update license To update an existing license, use the update license command. update license [filesystem: [//server/]] [directory] src-filename [target-filename] Syntax Description filesystem: //server - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 149
Chapter 1 Basic System Commands write erase Send comments to [email protected] write erase To erase configurations in persistent memory areas, use the write erase command. write erase [boot | debug] Syntax Description boot debug (Optional) Erases only the boot configuration. ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 150
write erase Chapter 1 Basic System Commands Send comments to [email protected] 1-126 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 151
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 152
bandwidth (interface) Chapter 2 Ethernet Commands Send comments to [email protected] bandwidth (interface) To set the inherited and received bandwidth values for an interface, use the bandwidth command. To restore the default values, use the no form of this command. bandwidth {kbps | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 153
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 154
cdp cdp Chapter 2 Ethernet Commands Send comments to [email protected] To enable the Cisco Discovery Protocol (CDP) and configure CDP attributes, use the cdp command. To disable CDP or reset CDP attributes, use the no form of this command. cdp {advertise {v1 | v2} | enable | format - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 155
Chapter 2 Ethernet 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 156
cdp enable Chapter 2 Ethernet Commands Send comments to [email protected] cdp enable To enable the Cisco Discovery Protocol (CDP) on an Ethernet interface, use the cdp enable command. To disable CDP on the interface, use the no form of this command. cdp enable no cdp enable Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 157
Chapter 2 Ethernet Commands channel-group (Ethernet) Send comments to [email protected] channel-group (Ethernet) To assign and configure a physical interface to a EtherChannel, use the channel-group command. To remove the channel group configuration from the interface, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 158
its individual parameters are overridden with the values on the EtherChannel, as follows: • MAC address • Spanning Tree Protocol (STP) • Service policy • Quality of service (QoS) • Access control lists (ACLs) Interface parameters, such as the following, remain unaffected when the interface joins or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 159
Chapter 2 Ethernet Commands channel-group (Ethernet) Send comments to [email protected] • Rate mode • Shutdown • SNMP trap If interfaces are configured for the EtherChannel interface and a member port is removed from the EtherChannel, the configuration of the EtherChannel interface is - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 160
clear mac access-list counters Chapter 2 Ethernet Commands Send comments to [email protected] clear mac access-list counters To clear statistical information from the access list, use the clear mac access-list counters command. clear mac access-list counters [name] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 161
Chapter 2 Ethernet Commands clear mac dynamic Send comments to [email protected] clear mac dynamic To clear dynamic entries from the forwarding table, use the clear mac dynamic command. clear mac dynamic [address mac-addr] | [interface {type slot/port | port-channel number}] [vlan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 162
clear mac-address-table dynamic Chapter 2 Ethernet Commands Send comments to [email protected] clear mac-address-table dynamic To clear the dynamic address entries from the MAC address table, use the clear mac-address-table dynamic command. clear mac-address-table dynamic [[address - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 163
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 164
clear spanning-tree counters Chapter 2 Ethernet Commands Send comments to [email protected] clear spanning-tree counters To clear the counters for the Spanning Tree Protocol (STP), use the clear spanning-tree counters command. clear spanning-tree counters [interface {ethernet - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 165
Chapter 2 Ethernet Commands clear spanning-tree detected-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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 166
delay (interface) Chapter 2 Ethernet Commands Send comments to [email protected] delay (interface) To set a delay value for an interface, use the delay command. To restore the default delay value, use the no form of this command. delay tens-of-microseconds no delay Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 167
Chapter 2 Ethernet Commands description (interface) Send comments to [email protected] description (interface) To add a description to an interface configuration, use the description command. To remove the description, use the no form of this command. description description no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 168
instance vlan Chapter 2 Ethernet Commands Send comments to [email protected] instance vlan To map a VLAN or a set of VLANs to a Multiple Spanning Tree instance (MSTI), use the instance vlan command. To delete the instance and return the VLANs to the default instance (common and - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 169
Chapter 2 Ethernet Commands instance 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 170
interface ethernet Chapter 2 Ethernet Commands Send comments to [email protected] interface ethernet To enter interface configuration mode for an Ethernet IEEE 802.3 interface, use the interface ethernet command. interface ethernet [chassis_ID/]slot/port Syntax Description chassis_ID - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 171
Chapter 2 Ethernet Commands interface port-channel Send comments to [email protected] interface port-channel To create an EtherChannel interface and enter interface configuration mode, use the interface port-channel command. To remove an EtherChannel interface, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 172
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 173
Chapter 2 Ethernet Commands ip igmp snooping (EXEC) Send comments to [email protected] ip igmp snooping (EXEC) To enable Internet Group Management Protocol (IGMP), use the ip igmp snooping command. To disable IGMP snooping, use the no form of this command. ip igmp snooping no ip igmp - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 174
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 return to the default settings, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 175
Chapter 2 Ethernet Commands ip igmp snooping (VLAN) Send comments to [email protected] Keyword and Argument report-suppression static-group group-ip-addr [source source-ip-addr] interface interface Description Limits the membership report traffic sent to multicast-capable routers. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 176
lacp port-priority Chapter 2 Ethernet Commands Send comments to [email protected] lacp port-priority To set the priority for the physical interfaces for the Link Aggregation Control Protocol (LACP), use the lacp port-priority command. To return the port priority to the default value, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 177
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 178
link debounce Chapter 2 Ethernet Commands Send comments to [email protected] link debounce To enable the debounce timer on an interface, use the link debounce command. To disable the timer, use the no form of this command. link debounce [time milliseconds] no link debounce Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 179
Chapter 2 Ethernet Commands mac-address-table aging-time Send comments to [email protected] mac-address-table aging-time To configure the aging time for entries in the MAC address table, use the mac-address-table aging-time command. To return to the default settings, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 180
mac-address-table aging-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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 181
Chapter 2 Ethernet Commands mac-address-table notification Send comments to [email protected] mac-address-table notification To configure log message notification of MAC address table events, use the mac-address-table notification command. To disable log message notifications, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 182
mac-address-table static Chapter 2 Ethernet Commands Send comments to [email protected] mac-address-table static To configure a static entry for the MAC address table, use the mac-address-table static command. To delete the static entry, use the no form of this command. mac-address- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 183
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 184
monitor session Chapter 2 Ethernet Commands Send comments to [email protected] monitor session Create a new SPAN session configuration or add to an existing session configuration with the monitor session command. To clear SPAN sessions, use the no form of this command. monitor session - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 185
Chapter 2 Ethernet Commands name (VLAN configuration) Send comments to [email protected] name (VLAN configuration) To set the name for a VLAN, use the name command. To remove the user-configured name from a VLAN, use the no form of this command. name vlan-name no name Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 186
name (MST configuration) Chapter 2 Ethernet Commands Send comments to [email protected] name (MST configuration) To set the name of a Multiple Spanning Tree (MST) region, use the name command. To return to the default name, use the no form of this command. name name no name name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 187
Chapter 2 Ethernet Commands port-channel load-balance ethernet Send comments to [email protected] port-channel load-balance ethernet To set the load-balancing method among the interfaces in the channel-group bundle, use the port-channel load-balance ethernet command. To return the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 188
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 189
Chapter 2 Ethernet Commands private-vlan Send comments to [email protected] private-vlan To configure private VLANs, use the private-vlan command. To return the specified VLANs to normal VLAN mode, use the no form of this command. private-vlan {isolated | community | primary} no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 190
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 VLAN 5 to a private VLAN as the primary - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 191
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 the association, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 192
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 a private VLAN relationship between the primary - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 193
Chapter 2 Ethernet Commands private-vlan synchronize Send comments to [email protected] private-vlan synchronize To map the secondary VLANs to the same MST instance as the primary VLAN, use the private-vlan synchronize command. private-vlan synchronize Syntax Description This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 194
revision Chapter 2 Ethernet Commands Send comments to [email protected] revision To set the revision number for the Multiple Spanning Tree (MST) region configuration, use the revision command. To return to the default settings, use the no form of this command. revision version no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 195
Chapter 2 Ethernet Commands shutdown (VLAN configuration) Send comments to [email protected] shutdown (VLAN configuration) To shut down the local traffic on a VLAN, use the shutdown command. To return a VLAN to its default operational state, use the no form of this command. shutdown - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 196
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 197
Chapter 2 Ethernet Commands spanning-tree bpdufilter Send comments to [email protected] spanning-tree bpdufilter To enable BPDU Filtering on the interface, use the spanning-tree bpdufilter command. To return to the default settings, use the no form of this command. spanning-tree - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 198
spanning-tree bpdufilter Chapter 2 Ethernet Commands Send comments to [email protected] 2-48 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 199
tree edge port and if the spanning-tree port type edge bpduguard default command is configured. Typically, this feature is used in a service-provider environment where the network administrator wants to prevent an access port from participating in the spanning tree. OL-16599-01 Cisco Nexus 5000 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 200
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 201
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 (STP) calculations, use the spanning-tree cost command. To return to the default settings, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 202
spanning-tree cost Chapter 2 Ethernet Commands Send comments to [email protected] The EtherChannel bundle is considered a single port. The port cost is the aggregation of all the configured port costs assigned to that channel. Note Use this command to set the port cost for Rapid PVST - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 203
Chapter 2 Ethernet Commands spanning-tree guard Send comments to [email protected] spanning-tree guard To enable or disable Loop Guard or Root Guard, use the spanning-tree guard command. To return to the default settings, use the no form of this command. spanning-tree guard {loop | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 204
spanning-tree link-type Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree link-type To configure a link type for a port, use the spanning-tree link-type command. To return to the default settings, use the no form of this command. spanning-tree link-type { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 205
Chapter 2 Ethernet Commands spanning-tree loopguard default Send comments to [email protected] spanning-tree loopguard default To enable Loop Guard as a default on all spanning tree normal and network ports, use the spanning-tree loopguard default command. To disable Loop Guard, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 206
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. To return to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 207
to the same instance as their primary: -> 3 See the switchport mode 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 mode, make changes to a copy of the current MST - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 208
spanning-tree mst configuration Chapter 2 Ethernet Commands Send comments to [email protected] In the unlikely event that two administrators commit a new configuration at exactly the same time, this warning message is displayed: % MST CFG:Configuration change lost because of concurrent - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 209
Chapter 2 Ethernet Commands spanning-tree mst cost Send comments to [email protected] spanning-tree mst cost To set the path-cost parameter for any Multiple Spanning Tree (MST) instance (including the common and internal spanning tree [CIST] with instance ID 0) use the spanning-tree - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 210
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 211
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 212
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 213
Chapter 2 Ethernet Commands spanning-tree mst max-age Send 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 mst max-age command. To return to the default settings, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 214
spanning-tree mst max-hops Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree mst max-hops To specify the number of possible hops in the region before a bridge protocol data unit (BPDU) is discarded, use the spanning-tree mst max-hops command. To return to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 215
Chapter 2 Ethernet Commands spanning-tree mst port-priority Send comments to [email protected] spanning-tree mst port-priority To set the port-priority parameters for any Multiple Spanning Tree (MST) instance, including the common and internal spanning tree (CIST) with instance ID 0, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 216
spanning-tree mst priority Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree mst priority To set the bridge priority, use the spanning-tree mst priority command. To return to the default setting, use the no form of this command. spanning-tree mst instance-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 217
Chapter 2 Ethernet Commands spanning-tree mst root Send comments to [email protected] spanning-tree mst root To designate the primary and secondary root and set the timer value for an instance, use the spanning-tree mst root command. To return to the default settings, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 218
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 219
Chapter 2 Ethernet Commands spanning-tree mst simulate pvst Send comments to [email protected] spanning-tree mst simulate pvst To reenable specific interfaces to automatically interoperate between Multiple Spanning Tree (MST) and Rapid per VLAN Spanning Tree (Rapid PVST+), use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 220
spanning-tree mst simulate 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 221
Chapter 2 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 222
spanning-tree mst simulate pvst 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 223
Chapter 2 Ethernet Commands spanning-tree pathcost method Send comments to [email protected] spanning-tree pathcost method To set the default path-cost calculation method, use the spanning-tree pathcost method command. To return to the default settings, use the no form of this command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 224
spanning-tree port type edge Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge To configure an interface connected to a host as an edge port, which automatically transitions the port to the spanning tree forwarding state without passing - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 225
Chapter 2 Ethernet Commands spanning-tree port type edge Send comments to [email protected] When you use this command without the trunk keyword, the system returns an additional message similar to the following: %Portfast has been configured on Ethernet1/40 but will only have effect - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 226
spanning-tree port type edge bpdufilter default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge bpdufilter default To enable BPDU Filtering by default on all spanning tree edge ports, use the spanning-tree port type edge bpdufilter default - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 227
Chapter 2 Ethernet Commands spanning-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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 228
spanning-tree port type edge bpduguard default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge bpduguard default To enable BPDU Guard by default on all spanning tree edge ports, use the spanning-tree port type edge bpduguard default command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 229
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 230
spanning-tree port type edge default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type edge default To configure all access ports that are connected to hosts as edge ports by default, use the spanning-tree port type edge default command. To restore - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 231
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 232
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 233
Chapter 2 Ethernet 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 234
spanning-tree port type network default Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port type network default To configure all ports as spanning tree network ports by default, use the spanning-tree port type network default command. To restore all - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 235
Chapter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 236
spanning-tree port-priority Chapter 2 Ethernet Commands Send comments to [email protected] spanning-tree port-priority To set an interface priority when two bridges compete for position as the root bridge, use the spanning-tree port-priority command. The priority you set breaks the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 237
Chapter 2 Ethernet Commands spanning-tree vlan Send comments to [email protected] spanning-tree vlan To configure Spanning Tree Protocol (STP) parameters on a per-VLAN basis, use the spanning-tree vlan command. To return to the default settings, use the no form of this command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 238
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 239
Chapter 2 Ethernet Commands speed (Ethernet) Send comments to [email protected] speed (Ethernet) To configure the transmit and receive speed for an Ethernet interface, use the speed command. To reset to the default speed, use the no form of this command. speed {1000 | 10000} no speed - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 240
state Chapter 2 Ethernet Commands Send comments to [email protected] state To set the operational state for a VLAN, use the state command. To return a VLAN to its default operational state, use the no form of this command. state {active | suspend} no state Syntax Description active - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 241
Chapter 2 Ethernet Commands svi enable Send comments to [email protected] svi enable To enable the creation of VLAN interfaces, use the svi enable command. To disable the VLAN interface feature, use the no form of this command. svi enable no svi enable Syntax Description This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 242
switchport access vlan Chapter 2 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 243
Chapter 2 Ethernet Commands switchport block Send comments to [email protected] switchport block To prevent the unknown multicast or unicast packets from being forwarded, use the switchport block interface configuration command. To allow the unknown multicast or unicast packets to be - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 244
switchport mode private-vlan host Chapter 2 Ethernet Commands Send comments to [email protected] switchport mode private-vlan host To set the interface type to be a host port for a private VLAN, use the switchport mode private-vlan host command. switchport mode private-vlan host - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 245
Chapter 2 Ethernet Commands switchport mode private-vlan promiscuous Send comments to [email protected] switchport mode private-vlan promiscuous To set the interface type to be a promiscuous port for a private VLAN, use the switchport mode private-vlan promiscuous command. switchport - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 246
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 to configure a Layer 2 host private VLAN port with - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 247
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 248
, 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 to configure the associate primary VLAN 18 to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 249
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 250
UDLD aggressive mode is disabled by default. You can configure UDLD aggressive mode only on point-to-point links between network devices that support UDLD aggressive mode. If UDLD aggressive mode is enabled, when a port on a bidirectional link that has a UDLD neighbor relationship established stops - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 251
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 252
udld (Ethernet) Chapter 2 Ethernet Commands Send comments to [email protected] udld (Ethernet) To enable and configure the Unidirectional Link Detection (UDLD) protocol on an Ethernet interface, use the udld command. To disable UDLD, use the no form of this command. udld {aggressive | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 253
Chapter 2 Ethernet Commands vlan (EXEC mode) Send comments to [email protected] vlan (EXEC mode) To add a VLAN or to enter the VLAN configuration mode, use the vlan command. To delete the VLAN and exit the VLAN configuration mode, use the no form of this command. vlan {vlan-id | vlan- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 254
vlan (EXEC mode) Chapter 2 Ethernet Commands Send comments to [email protected] This example shows how to add a range of new 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)# - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 255
Chapter 2 Ethernet Commands vrf context Send comments to [email protected] vrf context To create a virtual routing and forwarding instance (VRF) and enter VRF configuration mode, use the vrf context command. To remove a VRF entry, use the no form of this command. vrf context {name | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 256
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 257
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 258
show interface mac-address Chapter 3 Ethernet Show Commands Send comments to [email protected] show interface mac-address To display the information about the MAC address, use the show interface mac-address command. show interface [type slot/port] mac-address Syntax Description type - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 259
Chapter 3 Ethernet Show Commands show interface private-vlan mapping Send comments to [email protected] show interface private-vlan mapping To display information about private VLAN mapping for primary VLAN interfaces, use the show interface private-vlan mapping command. show - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 260
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 261
Chapter 3 Ethernet Show Commands show interface vlan Send comments to [email protected] show interface vlan To display brief descriptive information about specified VLANs, use the show interface vlan command. show interface vlan vlan-id [brief | description | private-vlan mapping] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 262
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 263
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 264
Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 265
Chapter 3 Ethernet Show Commands show mac-address-table aging-time Send comments to [email protected] show mac-address-table aging-time To display information about the time-out values for the MAC address table, use the show mac-address-table aging-time command. show mac-address-table - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 266
show mac-address-table count Chapter 3 Ethernet Show Commands Send comments to [email protected] show mac-address-table count To display the number of entries currently in the MAC address table, use the show mac-address-table count command. show mac-address-table count [address EEEE. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 267
Chapter 3 Ethernet Show Commands show mac-address-table notification Send comments to [email protected] show mac-address-table notification To display notifications about the MAC address table, use the show mac-address-table notification command. show mac-address-table notification { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 268
show mac-address-table Chapter 3 Ethernet Show Commands Send comments to [email protected] show mac-address-table To display the information about the MAC address table, use the show mac-address-table command. show mac-address-table [address mac-address] [dynamic | multicast | static] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 269
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 270
show monitor session Chapter 3 Ethernet Show Commands Send comments to [email protected] show monitor session To display information about the SPAN sessions, use the show monitor session command. show monitor session [session | all [brief] | range range [brief] | status] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 271
Chapter 3 Ethernet Show Commands show running-config Send comments to [email protected] show running-config To display the contents of the currently running configuration file, use the show running-config command. show running-config [all] Syntax Description all (Optional) Displays - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 272
show running-config spanning-tree Chapter 3 Ethernet Show Commands Send comments to [email protected] show running-config spanning-tree To display the running configuration for the Spanning Tree Protocol (STP), use the show running-config spanning-tree command. show running-config - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 273
Chapter 3 Ethernet Show Commands show running-config vlan Send comments to [email protected] show running-config vlan To display the running configuration for a specified VLAN, use the show running-config vlan command. show running-config vlan vlan-id Syntax Description vlan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 274
show spanning-tree Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree To display information about the Spanning Tree Protocol (STP), use the show spanning-tree command. show spanning-tree [blockedports | inconsistentports | pathcost method] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 275
Chapter 3 Ethernet Show Commands show spanning-tree Send comments to [email protected] Table 3-1 describes the fields that are displayed in the output of show spanning-tree commands. Table 3-1 show spanning-tree Command Output Fields Field Role Sts Type Definition Current port STP - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 276
show spanning-tree Chapter 3 Ethernet Show Commands Send comments to [email protected] Command show spanning-tree mst show spanning-tree root show spanning-tree summary show spanning-tree vlan Description Displays information about MST STP. Displays status and configuration of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 277
Chapter 3 Ethernet Show Commands show spanning-tree active Send comments to [email protected] show spanning-tree active To display STP information on STP-active interfaces only, use the show spanning-tree active command. show spanning-tree active [brief | detail] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 278
show spanning-tree bridge Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree bridge To display status and configuration of the local bridge, use the show spanning-tree bridge command. show spanning-tree bridge [address | brief | detail | forward- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 279
Chapter 3 Ethernet Show Commands show spanning-tree bridge Send comments to [email protected] Command show spanning-tree detail show spanning-tree interface show spanning-tree mst show spanning-tree root show spanning-tree summary show spanning-tree vlan Description Displays detailed - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 280
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 281
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 282
show spanning-tree interface Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree interface To display information on the STP interface status and configuration of specified interfaces, use the show spanning-tree interface command. show spanning-tree - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 283
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 284
show spanning-tree mst Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree mst To display information on MST status and configuration, use the show spanning-tree mst command. show spanning-tree mst [instance-id [detail | interface {interface slot/ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 285
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 286
show spanning-tree root Chapter 3 Ethernet Show Commands Send comments to [email protected] show spanning-tree root To display the status and configuration of the root bridge, use the show spanning-tree root command. show spanning-tree root [address | brief | cost | detail | forward- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 287
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 vlan Description Displays a brief - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 288
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 289
Chapter 3 Ethernet Show Commands show spanning-tree vlan Send comments to [email protected] show spanning-tree vlan To display STP information for specified VLANs, use the show spanning-tree vlan command. show spanning-tree vlan {vlan-id} [active [brief | detail]] show spanning-tree - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 290
show spanning-tree vlan Chapter 3 Ethernet Show Commands Send comments to [email protected] inconsistentports interface slot/port | port-channel number cost edge inconsistency priority rootcost state port summary ((Optional) Displays the ports that are in an inconsistent STP state for - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 291
Chapter 3 Ethernet Show Commands show spanning-tree vlan Send comments to [email protected] Command show spanning-tree interface show spanning-tree mst show spanning-tree root show spanning-tree summary Description Displays STP interface status and configuration of specified - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 292
show startup-config Chapter 3 Ethernet Show Commands Send comments to [email protected] show startup-config To display the contents of the currently running configuration file, use the show startup-config command. show startup-config Syntax Description This command has no other - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 293
Chapter 3 Ethernet Show Commands show vlan Send comments to [email protected] show vlan To display VLAN information, use the show vlan command. show vlan [brief | name {name} | summary] Syntax Description brief name name summary (Optional) Displays only a single line for each VLAN, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 294
show vlan Chapter 3 Ethernet 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 295
Chapter 3 Ethernet Show Commands show vlan id Send comments to [email protected] show vlan id To display information and statistics for an individual VLAN or a range of VLANs, use the show vlan id command. show vlan id {vlan-id} Syntax Description vlan-id Specifies the VLAN or range - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 296
show vlan private-vlan Chapter 3 Ethernet Show Commands Send comments to [email protected] show vlan private-vlan To display private VLAN information, use the show vlan private-vlan command. show vlan [id {vlan-id}] private-vlan [type] Syntax Description id vlan-id type (Optional) - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 297
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 298
on a connected Fabric Extender and performing diagnostic commands. 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 299
Chapter 4 Fabric Extender Commands Send comments to [email protected] beacon beacon To turn on the locator beacon LED of a Fabric Extender, use the beacon command. To turn off the locator beacon LED, use the no form of this command. beacon no beacon Syntax Description This command has - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 300
description (fex) Chapter 4 Fabric Extender Commands Send comments to [email protected] description (fex) To specify a description for a Fabric Extender, use the description command. To revert to the default description, use the no form of this command. description description no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 301
Chapter 4 Fabric Extender Commands fex Send comments to [email protected] fex To create a Fabric Extender and enter Fabric Extender configuration mode, use the fex command. To delete the Fabric Extender configuration, use the no form of this command. fex chassis_ID no fex chassis_ID - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 302
fex associate Chapter 4 Fabric Extender Commands Send comments to [email protected] fex associate To associate a Fabric Extender to a fabric interface, use the fex associate command. To disassociate the Fabric Extender, use the no form of this command. fex associate chassis_ID no fex - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 303
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 configured. The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 304
logging fex Chapter 4 Fabric Extender Commands Send comments to [email protected] logging fex To set the logging alert level for Fabric Extender events, use the logging fex command. To reset the logging level, use the no form of this command. logging fex [severity-level] no logging - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 305
Chapter 4 Fabric Extender Commands pinning max-links Send comments to [email protected] pinning max-links To specify the number of statically pinned uplinks, use the pinning max-links command. To reset to the default, use the no form of this command. pinning max-links uplinks no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 306
pinning max-links Chapter 4 Fabric Extender Commands Send comments to [email protected] Related Commands Command fex fex pinning redistribute show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Redistributes the host interfaces on a Fabric - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 307
Chapter 4 Fabric Extender Commands serial Send comments to [email protected] serial To assign a serial number to a Fabric Extender, use the serial command. To remove the serial number, use the no form of this command. serial serial_string no serial Syntax Description serial_string - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 308
serial Chapter 4 Fabric Extender Commands Send comments to [email protected] Related Commands Command fex fex associate show fex Description Creates a Fabric Extender and enters Fabric Extender configuration mode. Associates a Fabric Extender to an Ethernet or EtherChannel interface. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 309
Chapter 4 Fabric Extender Commands show diagnostic result fex Send comments to [email protected] show diagnostic result fex To display the results from the diagnostic tests for a Fabric Extender chassis, use the show diagnostic result fex command. show diagnostic result fex chassis_ID - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 310
show environment fex Chapter 4 Fabric Extender Commands Send comments to [email protected] show environment fex To display the environmental sensor status, use the show environment fex command. show environment fex {all | chassis_ID} [temperature | power | fan] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 311
Chapter 4 Fabric Extender Commands show fex Send comments to [email protected] show fex To display information about a specific Fabric Extender or all attached chassis, use the show fex command. show fex [chassis_ID [detail]] Syntax Description chassis_ID detail (Optional) Fabric - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 312
show fex transceiver Chapter 4 Fabric Extender Commands Send comments to [email protected] show fex transceiver To display information about the transceiver connecting a Fabric Extender to the Cisco Nexus 5000 Series switch, use the show fex transceiver command. show fex chassis_ID - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 313
Chapter 4 Fabric Extender Commands show fex version Send comments to [email protected] show fex version To display the version information about a Fabric Extender, use the show fex version command. show fex chassis_ID version Syntax Description chassis_ID Fabric Extender chassis ID. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 314
show interface fex-fabric Chapter 4 Fabric Extender Commands Send comments to [email protected] show interface fex-fabric To display all Fabric Extender fabric interfaces, use the show interface fex-fabric command. show interface fex-fabric Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 315
Chapter 4 Fabric Extender Commands show interface fex-intf Send comments to [email protected] show interface fex-intf To display the host interfaces pinned to a fabric interface, use the show interface fex-intf command. show interface interface fex-intf Syntax Description interface - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 316
show interface transceiver fex-fabric Chapter 4 Fabric Extender Commands Send comments to [email protected] show interface transceiver fex-fabric To display information about all transceivers connected to fabric interfaces, use the show interface transceiver fex-fabric command. show - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 317
Chapter 4 Fabric Extender Commands switchport mode fex-fabric Send comments to [email protected] switchport mode fex-fabric To set the interface type to be an uplink port for a Fabric Extender, use the switchport mode fex-fabric command. switchport mode fex-fabric no switchport mode - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 318
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 319
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 320
class-map Chapter 5 Quality of Service Commands Send comments to [email protected] class-map To create or modify a class map and enter the class-map configuration mode, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 321
Chapter 5 Quality of Service Commands flowcontrol Send comments to [email protected] flowcontrol To enable IEEE 802.3x link-level flow control for the selected interface, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 322
class map type qos) To define the class of traffic using the Class of Service (CoS) value in a type qos class map, use the match cos command Only class maps of type qos support the optional not keyword form of this command. Class maps of type queuing do not support the not keyword. This command does - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 323
Chapter 5 Quality of Service Commands match access-group Send comments to [email protected] match access-group To identify a specified access control list (ACL) group as a match criteria - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 324
match class-map Chapter 5 Quality of Service Commands Send comments to [email protected] match class-map To match on the match commands in a specified class map, use the match class- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 325
(class map type qos) To define the class of traffic using the Class of Service (CoS) value in a type qos class map, use the match cos command. Only class maps of type qos support the optional not keyword form of this command. Class maps of type queuing do not support the not keyword. This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 326
class map type queuing) Chapter 5 Quality of Service Commands Send comments to [email protected] Specify a noncontiguous list of values separated by commas Note Only class maps of type qos support the optional not keyword form of this command. This command does not require a license. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 327
Commands match dscp Send comments to [email protected] match dscp To identify specific Differentiated Services code point (DSCP) values as a match criteria, use the match dscp command. To remove specified DSCP values as a match criteria, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 328
match dscp Chapter 5 Quality of Service Commands Send comments to [email protected] Table 1 cs2 cs3 cs4 cs5 cs6 cs7 default ef Standard DSCP Values (continued) List of DSCP Values - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 329
Chapter 5 Quality of Service Commands match ip rtp Send comments to [email protected] match ip rtp To configure a class map to use the Real-Time Protocol (RTP) - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 330
Commands Send comments to [email protected] match precedence To configure a class map to use the precedence value in the Type of Service (TOS) byte field of the IP header as a match criteria, use the match precedence command. To remove the precedence values as a match criteria, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 331
Chapter 5 Quality of Service Commands match precedence Send comments to [email protected] This command does not require a license. Examples This example shows how to match on an - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 332
clns clns_es clns_is dhcp isis ldp netbios Description Address Resolution Protocol (ARP) Bridging Cisco Discovery Protocol (CDP) Connectionless Network Service (CLNS) CLNS End Systems CLNS Intermediate System Dynamic Host Configuration (DHCP) Intermediate system to intermediate system (IS-IS) Label - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 333
Chapter 5 Quality of Service Commands match protocol Send comments to [email protected] To specify more than one protocol, enter the command more than once with the desired - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 334
config-pmap-qos)# This example shows how to remove a type qos policy map: switch(config)# no policy-map my_policy1 Related Commands Command service-policy show policy-map Description Attaches a policy map to an interface. Displays policy maps and statistics. 5-16 Cisco Nexus 5000 Series Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 335
Chapter 5 Quality of Service Commands priority-flow-control Send comments to [email protected] priority-flow-control To set the (priority-flow-control) PFC mode for the selected - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 336
. No policies of type qos are active on an interface until the service-policy command is issued. The system-defined type queuing class maps are queuing. Note For more information on using service policies, see the Cisco Nexus 5000 Series Configuration Guide, Cisco NX-OS Release 4.1. 5-18 Cisco Nexus - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 337
shows how to attach a queuing policy map to the ingress packets of a port interface: switch(config)# interface ethernet 2/1 switch(config-if)# service-policy type queuing input my_input_q_policy switch(config-if)# This example shows how to remove a policy map from a VLAN: switch(config)# vlan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 338
show class-map type qos Chapter 5 Quality of Service Commands Send comments to [email protected] show class-map type qos To display type qos class maps, use the show class-map type - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 339
Chapter 5 Quality of Service Commands show class-map type queuing Send comments to [email protected] show class-map type queuing To display type queuing class maps, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 340
show policy-map Chapter 5 Quality of Service Commands Send comments to [email protected] show policy-map To display policy maps and statistics, use the show policy-map command. show policy- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 341
Chapter 5 Quality of Service Commands show policy-map interface Send comments to [email protected] show policy-map interface To display policy maps and statistics for the interfaces, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 342
show policy-map interface brief Chapter 5 Quality of Service Commands Send comments to [email protected] show policy-map interface brief To display policy maps applied to interfaces in a brief format, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 343
Chapter 5 Quality of Service Commands show interface priority-flow-control Send comments to [email protected] show interface priority-flow-control To display the priority flow control details - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 344
show policy-map interface Chapter 5 Quality of Service Commands Send comments to [email protected] show policy-map interface To display the system policy configured on the system and per class statistics, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 345
Chapter 5 Quality of Service Commands system jumbomtu Send comments to [email protected] system jumbomtu To define the upper bound of any MTU in the system, use the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 346
This example shows how to configure a system qos: switch# configure terminal switch(config)# system qos Related Commands Command service- policy Description Associates the system class policy-map to the service policy for the system 5-28 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 347
this value for the selected interface, use the untagged cos command. untagged cos cos-value Syntax Description cos-value Specifies a Class of Service (CoS) value for untagged frames. Values can range from 1 to 7. Command Default None Command Modes Interface configuration mode Command History - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 348
untagged cos Chapter 5 Quality of Service Commands Send comments to [email protected] 5-30 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 349
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 350
aaa accounting default Chapter 6 Security Commands Send comments to [email protected] aaa accounting default To configure authentication, authorization, and accounting (AAA) methods for accounting, use the aaa accounting default command. To revert to the default, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 351
Chapter 6 Security Commands aaa authentication login console Send comments to [email protected] aaa authentication login console To configure AAA authentication methods for console logins, use the aaa authentication login console command. To revert to the default, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 352
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 AAA - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 353
Chapter 6 Security Commands aaa authentication login default Send comments to [email protected] aaa authentication login default To configure the default AAA authentication methods, use the aaa authentication login default command. To revert to the default, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 354
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 AAA - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 355
Chapter 6 Security Commands aaa authentication login error-enable Send comments to [email protected] aaa authentication login error-enable To configure that the AAA authentication failure message displays on the console, use the aaa authentication login error-enable command. To revert - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 356
aaa authentication login mschap enable Chapter 6 Security Commands Send comments to [email protected] aaa authentication login mschap enable To enable Microsoft Challenge Handshake Authentication Protocol (MSCHAP) authentication at login, use the aaa authentication login mschap enable - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 357
Chapter 6 Security Commands aaa group server radius Send comments to [email protected] aaa group server radius To create a RADIUS server group and enter RADIUS server group configuration mode, use the aaa group server radius command. To delete a RADIUS server group, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 358
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 of this command. action {drop - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 359
Chapter 6 Security Commands clear access-list counters Send comments to [email protected] clear access-list counters To clear the counters for all IPv4 access control lists (ACLs) or a single IPv4 ACL, use the clear access-list counters command. clear access-list counters [access-list - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 360
clear accounting log Chapter 6 Security Commands Send comments to [email protected] clear accounting log To clear the accounting log, use the clear accounting log command. clear accounting log Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 361
Chapter 6 Security Commands deadtime Send comments to [email protected] deadtime To configure the dead-time interval for a RADIUS or TACACS+ server group, use the deadtime command. To revert to the default, use the no form of this command. deadtime minutes no deadtime minutes Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 362
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 TACACS+ server. 6-14 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 363
Chapter 6 Security Commands deny (IPv4) Send comments to [email protected] deny (IPv4) To create an IPv4 ACL rule that denies traffic matching its conditions, use the deny command. To remove a rule, use the no form of this command. General Syntax [sequence-number] deny protocol - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 364
deny (IPv4) 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 switch to insert the command in that numbered position in the access list. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 365
(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 numbers or keywords: • 0-63-The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 366
deny (IPv4) Chapter 6 Security Commands Send comments to [email protected] precedence precedence (Optional) Specifies that the rule matches only packets that have an IP Precedence field with the value specified by the precedence argument. The precedence argument can be a number or a - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 367
Chapter 6 Security Commands deny (IPv4) Send comments to [email protected] operator port [port] portgroup portgroup flags established (Optional; TCP and UDP only) Rule matches only packets that are from a source port or sent to a destination port that satisfies the conditions of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 368
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 369
-host-prohibited-Host prohibited • dod-net-prohibited-Net prohibited • echo-Echo (ping) • echo-reply-Echo reply • general-parameter-problem-Parameter problem • host-isolated-Host isolated • host-precedence-unreachable-Host unreachable for precedence • host-redirect-Host redirect • host-tos-redirect - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 370
-Border Gateway Protocol (179) chargen-Character generator (19) cmd-Remote commands (rcmd, 514) daytime-Daytime (13) discard-Discard (9) domain-Domain Name Service (53) drip-Dynamic Routing Information Protocol (3949) echo-Echo (7) exec-EXEC (rsh, 512) finger-Finger (79) ftp-File Transfer Protocol - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 371
deny (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto- 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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 372
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) Examples This example shows how to configure an IPv4 ACL named acl-lab-01 with rules - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 373
Chapter 6 Security Commands deny (IPv6) Send comments to [email protected] deny (IPv6) To create an IPv6 ACL rule that denies traffic matching its conditions, use the deny command. To remove a rule, use the no form of this command.To create an IPv6 ACL rule that denies traffic - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 374
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 numbered position in the access list. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 375
[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 argument can be one of the following numbers or keywords: • 0-63-The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 376
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 each packet that matches the rule. The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 377
Chapter 6 Security Commands deny (IPv6) Send comments to [email protected] established flags (TCP only; Optional) Specifies that the rule matches only packets that belong to an established TCP connection. The device considers TCP packets with the ACK or RST bits set to belong to an - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 378
no-route-No route to destination • packet-too-big-Packet too big • parameter-option-Parameter option problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • reassembly-timeout-Reassembly timeout • redirect-Neighbor redirect • renum-command-Router renumbering command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 379
server (11) ident-Ident Protocol (113) irc-Internet Relay Chat (194) klogin-Kerberos login (543) kshell-Kerberos shell (544) login-Login (rlogin, 513) lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto-RP (496) pop2-Post Office Protocol v2 (19) pop3-Post Office - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 380
client (68) bootps-Bootstrap Protocol (BOOTP) server (67) discard-Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and Key Management Protocol (5) mobile-ip-Mobile IP registration (434) nameserver-IEN116 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 381
Chapter 6 Security Commands deny (IPv6) Send comments 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:: - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 382
see "MAC Protocols" in the "Usage Guidelines" section. (Optional) Specifies that the rule matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos-value argument can be an integer from 0 to 7. (Optional) Specifies that the rule - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 383
Chapter 6 Security Commands deny (MAC) 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 384
deny (MAC) Chapter 6 Security 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( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 385
Chapter 6 Security Commands description (user role) Send comments to [email protected] description (user role) To configure a description for a user role, use the description command. To revert to the default, use the no form of this command. description text no description Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 386
feature Chapter 6 Security Commands Send comments to [email protected] feature To configure a feature in a user role feature group, use the feature command. To delete a feature in a user role feature group, use the no form of this command. feature feature-name no feature feature-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 387
Chapter 6 Security Commands interface policy deny Send comments to [email protected] interface policy deny To enter interface policy configuration mode for a user role, use the interface policy deny command. To revert to the default interface policy for a user role, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 388
ip access-list Chapter 6 Security Commands Send comments to [email protected] ip access-list To create an IPv4 access control list (ACL) or to enter IP access list configuration mode for a specific ACL, use the ip access-list command. To remove an IPv4 ACL, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 389
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 ip access-lists Description Applies an IPv4 ACL to a VTY line. Configures a deny rule in an IPv4 ACL. Applies an IPv4 ACL - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 390
ip port access-group Chapter 6 Security Commands Send comments to [email protected] ip port access-group To apply an IPv4 access control list (ACL) to an interface as a port ACL, use the ip port access-group command. To remove an IPv4 ACL from an interface, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 391
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 392
ipv6 access-list Chapter 6 Security Commands Send comments to [email protected] ipv6 access-list To create an IPv6 access control list (ACL) or to enter IP access list configuration mode for a specific ACL, use the ipv6 access-list command. To remove an IPv6 ACL, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 393
Chapter 6 Security Commands ipv6 port traffic-filter Send comments to [email protected] ipv6 port traffic-filter To apply an IPv6 access control list (ACL) to an interface as a port ACL, use the ipv6 port traffic-filter command. To remove an IPv6 ACL from an interface, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 394
ipv6 port traffic-filter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 395
Chapter 6 Security Commands mac access-list Send comments to [email protected] mac access-list To create a Media Access Control (MAC) access control list (ACL) or to enter MAC access list configuration mode for a specific ACL, use the mac access-list command. To remove a MAC ACL, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 396
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 397
Chapter 6 Security Commands mac port access-group Send comments to [email protected] mac port access-group To apply a MAC access control list (ACL) to an interface, use the mac port access-group command. To remove a MAC ACL from an interface, use the no form of this command. mac port - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 398
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 399
Chapter 6 Security Commands match Send comments to [email protected] match To specify an access control list (ACL) for traffic filtering in a VLAN access map, use the match command. To remove a match command from a VLAN access map, use the no form of this command. match {ip | ipv6 | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 400
match Chapter 6 Security Commands Send comments to [email protected] 6-52 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 401
Chapter 6 Security Commands permit (IPv4) Send comments to [email protected] permit (IPv4) To create an IPv4 access control list (ACL) rule that permits traffic matching its conditions, use the permit command. To remove a rule, use the no form of this command. General Syntax [ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 402
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 403
(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 numbers or keywords: • 0-63-The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 404
permit (IPv4) Chapter 6 Security Commands Send comments to [email protected] precedence precedence (Optional) Specifies that the rule matches only packets that have an IP Precedence field with the value specified by the precedence argument. The precedence argument can be a number or a - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 405
Chapter 6 Security Commands permit (IPv4) Send comments to [email protected] operator port [port] portgroup portgroup flags established (Optional; TCP and UDP only) Rule matches only packets that are from a source port or sent to a destination port that satisfies the conditions of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 406
permit (IPv4) Chapter 6 Security Commands Send comments to [email protected] If you do not specify a sequence number, the device assigns to the rule a sequence number that is 10 greater than the last rule in the ACL. Command Modes IPv4 ACL configuration Command History Release - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 407
-host-prohibited-Host prohibited • dod-net-prohibited-Net prohibited • echo-Echo (ping) • echo-reply-Echo reply • general-parameter-problem-Parameter problem • host-isolated-Host isolated • host-precedence-unreachable-Host unreachable for precedence • host-redirect-Host redirect • host-tos-redirect - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 408
-Border Gateway Protocol (179) chargen-Character generator (19) cmd-Remote commands (rcmd, 514) daytime-Daytime (13) discard-Discard (9) domain-Domain Name Service (53) drip-Dynamic Routing Information Protocol (3949) echo-Echo (7) exec-EXEC (rsh, 512) finger-Finger (79) ftp-File Transfer Protocol - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 409
permit (IPv4) Send comments to [email protected] lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto 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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 410
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) Examples This example shows how to configure an IPv4 ACL named acl-lab-01 with rules - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 411
Chapter 6 Security Commands permit (IPv6) Send comments to [email protected] permit (IPv6) To create an IPv6 ACL rule that permits traffic matching its conditions, use the permit command. To remove a rule, use the no form of this command. General Syntax [sequence-number] permit - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 412
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 numbered position in the access list. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 413
[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 argument can be one of the following numbers or keywords: • 0-63-The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 414
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 each packet that matches the rule. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 415
Chapter 6 Security Commands permit (IPv6) Send comments to [email protected] established flags (TCP only; Optional) Specifies that the rule matches only packets that belong to an established TCP connection. The device considers TCP packets with the ACK or RST bits set to belong to an - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 416
no-route-No route to destination • packet-too-big-Packet too big • parameter-option-Parameter option problems • parameter-problem-All parameter problems • port-unreachable-Port unreachable • reassembly-timeout-Reassembly timeout • redirect-Neighbor redirect • renum-command-Router renumbering command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 417
server (11) ident-Ident Protocol (113) irc-Internet Relay Chat (194) klogin-Kerberos login (543) kshell-Kerberos shell (544) login-Login (rlogin, 513) lpd-Printer service (515) nntp-Network News Transport Protocol (119) pim-auto-rp-PIM Auto-RP (496) pop2-Post Office Protocol v2 (19) pop3-Post Office - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 418
client (68) bootps-Bootstrap Protocol (BOOTP) server (67) discard-Discard (9) dnsix-DNSIX security protocol auditing (195) domain-Domain Name Service (DNS, 53) echo-Echo (7) isakmp-Internet Security Association and Key Management Protocol (5) mobile-ip-Mobile IP registration (434) nameserver-IEN116 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 419
Chapter 6 Security Commands permit (IPv6) Send comments 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:: - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 420
see "MAC Protocols" in the "Usage Guidelines" section. (Optional) Specifies that the rule matches only packets whose IEEE 802.1Q header contains the Class of Service (CoS) value given in the cos-value argument. The cos-value argument can be an integer from 0 to 7. (Optional) Specifies that the rule - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 421
Chapter 6 Security Commands permit (MAC) 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 422
permit (MAC) Chapter 6 Security 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( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 423
Chapter 6 Security Commands permit interface Send comments to [email protected] permit interface To add interfaces for a user role interface policy, use the permit interface command. To remove interfaces, use the no form of this command. permit interface interface-list no permit - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 424
permit 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- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 425
Chapter 6 Security Commands permit vlan Send comments to [email protected] permit vlan To add VLANs for a user role VLAN policy, use the permit vlan command. To remove VLANs, use the no form of this command. permit vlan vlan-list no permit vlan Syntax Description vlan-list List of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 426
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 and enters user role configuration mode. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 427
Chapter 6 Security Commands permit vrf Send comments to [email protected] permit vrf To add virtual routing and forwarding instances (VRFs) for a user role VRF policy, use the permit vrf command. To remove VRFs, use the no form of this command. permit vrf vrf-list no permit vrf - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 428
radius-server deadtime Chapter 6 Security Commands Send comments to [email protected] radius-server deadtime To configure the dead-time interval for all RADIUS servers on a Cisco Nexus 5000 Series switch, use the radius-server deadtime command. To revert to the default, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 429
Chapter 6 Security Commands radius-server directed-request Send comments to [email protected] radius-server directed-request To allow users to send authentication requests to a specific RADIUS server when logging in, use the radius-server directed request command. To revert to the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 430
radius-server host Chapter 6 Security Commands Send comments to [email protected] radius-server host To configure RADIUS server parameters, use the radius-server host command. To revert to the default, use the no form of this command. radius-server host {hostname | ipv4-address | ipv6 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 431
Chapter 6 Security Commands radius-server host Send comments to [email protected] username name timeout seconds Specifies a username in the test packets. The maximum size is 32 characters. Specifies the timeout (in seconds) between retransmissions to the RADIUS server. The default is - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 432
radius-server key Chapter 6 Security Commands Send comments to [email protected] radius-server key To configure a RADIUS shared secret key, use the radius-server key command. To remove a configured shared secret, use the no form of this command. radius-server key [0 | 7] shared-secret - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 433
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 434
radius-server timeout Chapter 6 Security Commands Send comments to [email protected] radius-server timeout To specify the time between retransmissions to the RADIUS servers, use the radius-server timeout command. To revert to the default, use the no form of this command. radius-server - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 435
Chapter 6 Security Commands Send comments to [email protected] remark remark To enter a comment into an IPv4 or MAC access control list (ACL), use the remark command. To remove a remark command, use the no form of this command. [sequence-number] remark remark no {sequence-number | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 436
remark 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- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 437
Chapter 6 Security Commands resequence Send comments to [email protected] resequence To reassign sequence numbers to all rules in an access control list (ACL) or a time range, use the resequence command. resequence access-list-type access-list access-list-name starting-number - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 438
resequence Chapter 6 Security Commands Send comments to [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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 439
Chapter 6 Security Commands role feature-group name Send comments to [email protected] role feature-group name To create or specify a user role feature group and enter user role feature group configuration mode, use the role feature-group name command. To delete a user role feature - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 440
role name Chapter 6 Security Commands Send comments to [email protected] role name To create or specify a user role and enter user role configuration mode, use the role name command. To delete a user role, use the no form of this command. role name role-name no role name role-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 441
Chapter 6 Security Commands rule Send comments to [email protected] rule To configure rules for a user role, use the rule command. To delete a rule, use the no form of this command. rule number {deny | permit} {command command-string | {read | read-write} [feature feature-name | feature- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 442
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 443
Chapter 6 Security Commands Send comments to [email protected] server server To add a server to a RADIUS or TACACS+ server group, use the server command. To delete a server from a server group, use the no form of this command. server {ipv4-address | ipv6-address | hostname} no server { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 444
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 445
Chapter 6 Security Commands show aaa accounting Send comments to [email protected] show aaa accounting To display AAA accounting configuration, use the show aaa accounting command. show aaa accounting Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 446
show aaa authentication Chapter 6 Security Commands Send comments to [email protected] show aaa authentication To display AAA authentication configuration information, use the show aaa authentication command. show aaa authentication login [error-enable | mschap] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 447
Chapter 6 Security Commands show aaa groups Send comments to [email protected] show aaa groups To display AAA server group configuration, use the show aaa groups command. show aaa groups Syntax Description This command has no arguments or keywords. Command Default None Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 448
show access-lists Chapter 6 Security Commands Send comments to [email protected] show access-lists To display all IPv4 and MAC access control lists (ACLs) or a specific ACL, use the show access-lists command. show access-lists [access-list-name] Syntax Description access-list-name ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 449
Chapter 6 Security Commands show accounting log Send comments to [email protected] show accounting log To display the accounting log contents, use the show accounting log command. show accounting log [size] [start-time year month day HH:MM:SS] [end-time year month day HH:MM:SS] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 450
show ip access-lists Chapter 6 Security Commands Send comments to [email protected] show ip access-lists To display all IPv4 ACLs or a specific IPv4 ACL, use the show ip access-lists command. show ip access-lists [access-list-name] Syntax Description access-list-name (Optional) Name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 451
Chapter 6 Security Commands show ipv6 access-lists Send comments to [email protected] show ipv6 access-lists To display all IPv6 ACLs or a specific IPv6 ACL, use the show ipv6 access-lists command. show ipv6 access-lists [access-list-name] [expanded | summary] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 452
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 453
Chapter 6 Security Commands show mac access-lists Send comments to [email protected] show mac access-lists To display all Media Access Control (MAC) access control lists (ACLs) or a specific MAC ACL, use the show mac access-lists command. show mac access-lists [access-list-name] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 454
show radius-server Chapter 6 Security Commands Send comments to [email protected] show radius-server To display RADIUS server information, use the show radius-server command. show radius-server [hostname | ipv4-address | ipv6-address] [directed-request | groups [group-name] | sorted | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 455
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 456
show role Chapter 6 Security Commands Send comments to [email protected] show role To display the user role configuration, use the show role command. show role [name role-name] Syntax Description name role-name (Optional) Displays information for a specific user role name. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 457
Chapter 6 Security Commands show role feature Send comments to [email protected] show role feature To display the user role features, use the show role feature command. show role feature [detail | name feature-name] Syntax Description detail name feature-name (Optional) Displays - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 458
show role feature-group Chapter 6 Security Commands Send comments to [email protected] show role feature-group To display the user role feature groups, use the show role feature-group command. show role feature-group [detail | name group-name] Syntax Description detail name group- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 459
Chapter 6 Security Commands show running-config aaa Send comments to [email protected] show running-config aaa To display authentication, authorization, and accounting (AAA) configuration information in the running configuration, use the show running-config aaa command. show running- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 460
show running-config radius Chapter 6 Security Commands Send comments to [email protected] show running-config radius To display RADIUS server information in the running configuration, use the show running-config radius command. show running-config radius [all] Syntax Description all - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 461
Chapter 6 Security Commands show running-config security Send comments to [email protected] show running-config security To display user account, SSH server, and Telnet server information in the running configuration, use the show running-config security command. show running-config - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 462
show ssh key Chapter 6 Security Commands Send comments to [email protected] show ssh key To display the Secure Shell (SSH) server key, use the show ssh key command. show ssh key Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 463
Chapter 6 Security Commands show ssh server Send comments to [email protected] show ssh server To display the Secure Shell (SSH) server status, use the show ssh server command. show ssh server Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 464
show startup-config aaa Chapter 6 Security Commands Send comments to [email protected] show startup-config aaa To display authentication, authorization, and accounting (AAA) configuration information in the startup configuration, use the show startup-config aaa command. show startup- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 465
Chapter 6 Security Commands show startup-config radius Send comments to [email protected] show startup-config radius To display RADIUS configuration information in the startup configuration, use the show startup-config radius command. show startup-config radius Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 466
show startup-config security Chapter 6 Security Commands Send comments to [email protected] show startup-config security To display user account, SSH server, and Telnet server configuration information in the startup configuration, use the show startup-config security command. show - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 467
Chapter 6 Security Commands show tacacs-server Send comments to [email protected] show tacacs-server To display TACACS+ server information, use the show tacacs-server command. show tacacs-server [hostname | ip4-address | ip6-address] [directed-request | groups | sorted | statistics] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 468
show tacacs-server Chapter 6 Security 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 469
Chapter 6 Security Commands show telnet server Send comments to [email protected] show telnet server To display the Telnet server status, use the show telnet server command. show telnet server Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 470
show user-account Chapter 6 Security Commands Send comments to [email protected] show user-account To display information about the user accounts on the switch, use the show user-account command. show show user-account [name] Syntax Description name (Optional) Displays information - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 471
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 472
show vlan access-list Chapter 6 Security Commands Send comments to [email protected] show vlan access-list To display the contents of the IPv4 ACL or MAC ACL associated with a specific VLAN access map, use the show vlan access-list command. show vlan access-list map-name Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 473
Chapter 6 Security Commands show vlan access-map Send comments to [email protected] show vlan access-map To display all VLAN access maps or a VLAN access map, use the show vlan access-map command. show vlan access-map [map-name] Syntax Description map-name (Optional) VLAN access map - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 474
show vlan filter Chapter 6 Security Commands Send comments to [email protected] show vlan filter To display information about instances of the vlan filter command, including the VLAN access map and the VLAN IDs affected by the command, use the show vlan filter command. show vlan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 475
Default Default VRF. Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to start an SSH session using IPv4: switch# ssh 10.10.1.1 vrf management Related - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 476
Default Default VRF. Command Modes EXEC mode Command History Release 4.0(1a)N1(1) Modification This command was 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:417A vrf management - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 477
-bit length. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The Cisco NX-OS software supports SSH version 2. If you want to remove or replace an SSH server key, you must first disable the SSH server using the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 478
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 479
Default Enabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The switch supports SSH version 2. Examples This example shows how to enable the SSH server: switch(config)# ssh server enable This example shows - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 480
storm-control level Chapter 6 Security Commands Send comments to [email protected] storm-control level To set the suppression level for traffic storm control, use the storm-control level command. To turn off the suppression mode or revert to the default, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 481
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 482
tacacs-server deadtime Chapter 6 Security Commands Send comments to [email protected] tacacs-server deadtime To set a periodic time interval where a nonreachable (nonresponsive) TACACS+ server is monitored for responsiveness, use the tacacs-server deadtime command. To disable the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 483
Chapter 6 Security Commands tacacs-server directed-request Send comments to [email protected] tacacs-server directed-request To allow users to send authentication requests to a specific TACACS+ server when logging in, use the radius-server directed request command. To revert to the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 484
tacacs-server host Chapter 6 Security Commands Send comments to [email protected] tacacs-server host To configure TACACS+ server host parameters, use the tacacs-server host command. To revert to the defaults, use the no form of this command. tacacs-server host {hostname | ipv4-address - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 485
Chapter 6 Security Commands tacacs-server host Send comments to [email protected] Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines You must use the feature tacacs+ command before you configure TACACS+. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 486
tacacs-server key Chapter 6 Security Commands Send comments to [email protected] tacacs-server key To configure a global TACACS+ shared secret key, use the tacacs-server key command. To remove a configured shared secret, use the no form of this command. tacacs-server key [0 | 7] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 487
Chapter 6 Security Commands tacacs-server timeout Send comments to [email protected] tacacs-server timeout To specify the time between retransmissions to the TACACS+ servers, use the tacacs-server timeout command. To revert to the default, use the no form of this command. tacacs- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 488
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 489
Chapter 6 Security Commands telnet server enable Send comments to [email protected] telnet server enable To enable the Telnet server, use the telnet server enable command. To disable the Telnet server, use the no form of this command. telnet server enable no telnet server enable - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 490
telnet6 Chapter 6 Security Commands Send comments to [email protected] telnet6 To create a Telnet session using IPv6 on the NX-OS device, use the telnet6 command. telnet6 {ipv6-address | hostname} [port-number] [vrf vrf-name] Syntax Description ipv6-address hostname port-number vrf - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 491
Chapter 6 Security Commands Send comments to [email protected] use-vrf use-vrf To specify a virtual routing and forwarding instance (VRF) instance for a RADIUS or TACACS+ server group, use the use-vrf command. To remove the VRF instance, use the no form of this command. use-vrf vrf- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 492
use-vrf Chapter 6 Security Commands Send comments to [email protected] Related Commands Command aaa group server feature tacacs+ radius-server host show radius-server groups show tacacs-server groups tacacs-server host vrf Description Configures AAA server groups. Enables TACACS+. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 493
Chapter 6 Security Commands username Send comments to [email protected] username To create and configure a user account, use the username command. To remove a user account, use the no form of this command. username user-id [expire date] [password password] [role role-name] username - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 494
username Chapter 6 Security Commands Send comments to [email protected] Examples This example shows how to create a user account with a password: switch(config)# username user1 password Ci5co321 This example shows how to configure the SSH key for a user account: switch(config)# - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 495
Chapter 6 Security Commands vlan access-map Send comments to [email protected] vlan access-map To create a new VLAN access map or to configure an existing VLAN access map, use the vlan access-map command. To remove a VLAN access map, use the no form of this command. vlan access-map - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 496
vlan filter Chapter 6 Security Commands Send comments to [email protected] vlan filter To apply a VLAN access map to one or more VLANs, use the vlan filter command. To unapply a VLAN access map, use the no form of this command. vlan filter map-name vlan-list VLAN-list no vlan filter - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 497
Chapter 6 Security Commands vlan filter Send comments to [email protected] Related Commands Command action match show vlan access-map show vlan filter vlan access-map Description Specifies an action for traffic filtering in a VLAN access map. Specifies an ACL for traffic filtering in - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 498
vlan policy deny Chapter 6 Security Commands Send comments to [email protected] vlan policy deny To enter VLAN policy configuration mode for a user role, use the vlan policy deny command. To revert to the default VLAN policy for a user role, use the no form of this command. vlan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 499
Chapter 6 Security Commands vrf policy deny Send comments to [email protected] vrf policy deny To enter virtual forwarding and routing instance (VRF) policy configuration mode for a user role, use the vrf policy deny command. To revert to the default VRF policy for a user role, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 500
vrf policy deny Chapter 6 Security Commands Send comments to [email protected] 6-152 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 501
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 502
clear logging nvram Chapter 7 System Management Commands Send comments to [email protected] clear logging nvram Use the clear logging nvram command to clear the NVRAM logs. clear logging nvram Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 503
Chapter 7 System Management Commands clear logging onboard Send comments to [email protected] clear logging onboard To clear the OBFL entries in the persistent log, use the clear logging onboard command. clear logging onboard [environmental-history] [exception-log] [obfl-log] [stack- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 504
clear logging session Chapter 7 System Management Commands Send comments to [email protected] clear logging session Use the clear logging session command to clear the current logging session. clear logging session Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 505
Chapter 7 System Management Commands clear ntp session Send comments to [email protected] clear ntp session To clear the Network Time Protocol (NTP) session, use the clear ntp session command. clear ntp session Syntax Description This command has no other arguments or keywords. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 506
clear ntp statistics Chapter 7 System Management Commands Send comments to [email protected] clear ntp statistics To clear the Network Time Protocol (NTP) session, use the clear ntp session command. clear ntp statistics {all-peers | io | local | memory} Syntax Description all-peers - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 507
Chapter 7 System Management Commands logging console Send comments to [email protected] logging console Use the logging console command to enable logging messages to the console session. To disable logging messages to the console session, use the no form of this command. logging - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 508
logging event Chapter 7 System Management Commands Send comments to [email protected] logging event Use the logging event command to log interface events. To disable logging of interface events, use the no form of this command. logging event port {link-status | trunk-status} {default - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 509
Chapter 7 System Management Commands logging event port Send comments to [email protected] logging event port Use the logging event port command to log events on an interface. To disable logging of interface events, use the no form of this command. logging event port {link-status | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 510
logging level Chapter 7 System Management Commands Send comments to [email protected] logging level Use the logging level command to enable logging messages from the defined facility that have the specified severity level or higher. To disable logging messages from the defined - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 511
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 512
logging logfile Chapter 7 System Management Commands Send comments to [email protected] logging logfile Use the logging logfile command to configure the name of the log file used to store system messages and the minimum severity level to log. To disable logging to the log file, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 513
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 514
logging module Chapter 7 System Management Commands Send comments to [email protected] logging module Use the logging module command to enable module log messages. Set a specified severity level or use the default. To disable module log messages, use the no form of this command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 515
Chapter 7 System Management Commands logging monitor Send comments to [email protected] logging monitor Use the logging monitor command to enable the device to log messages to the monitor (terminal line). This configuration applies to Telnet and SSH sessions. To disable monitor log - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 516
logging server Chapter 7 System Management Commands Send comments to [email protected] logging server Use the logging server command to configure a remote syslog server at the specified host name or IPv4/IPv6 address. To disable the remote syslog server, use the no form of this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 517
Chapter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 518
logging timestamp Chapter 7 System Management Commands Send comments to [email protected] logging timestamp Use the logging timestamp command to set the logging timestamp units. By default, the units are seconds. To reset the logging timestamp units to the default, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 519
Chapter 7 System Management Commands ntp Send comments to [email protected] ntp To configure the NTP peers and servers for the switch, use the ntp command. Use the no form of this command to remove configured peers and servers. ntp {peer hostname | server hostname} [prefer] [use-vrf vrf- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 520
Chapter 7 System Management Commands Send comments to [email protected] ntp abort To discard the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress, use the ntp abort command. ntp abort Syntax Description This command has no other arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 521
Send comments to [email protected] ntp commit To apply the pending configuration pertaining to the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the ntp commit command. ntp commit Syntax Description This command has no other - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 522
ntp distribute Chapter 7 System Management Commands Send comments to [email protected] ntp distribute To enable Cisco Fabric Services (CFS) distribution for Network Time Protocol (NTP), use the ntp distribute command. To disable this feature, use the no form of the command. ntp - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 523
Chapter 7 System Management Commands ntp sync-retry Send comments to [email protected] ntp sync-retry To retry synchronization with the configured NTP servers, use the ntp sync-retry command. ntp sync-retry Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 524
show logging console Chapter 7 System Management Commands Send comments to [email protected] show logging console Use the show logging console command to display the console logging configuration. show logging console Syntax Description This command has no arguments or keywords. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 525
Chapter 7 System Management Commands show logging info Send comments to [email protected] show logging info Use the show logging info command to display the logging configuration. show logging info Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 526
show logging last Chapter 7 System Management Commands Send comments to [email protected] show logging last Use the show logging last command to display the last number of lines of the logfile. show logging last number Syntax Description number Enters the number of lines to display - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 527
Chapter 7 System Management Commands show logging level Send comments to [email protected] show logging level Use the show logging level command to display the facility logging severity level configuration. show logging level [facility] Syntax Description facility (Optional) Defines - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 528
show logging logfile Chapter 7 System Management Commands Send comments to [email protected] show logging logfile Use the show logging logfile command to display the messages in the log file that were timestamped within the span entered. If you do not enter an end time, the current - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 529
Chapter 7 System Management Commands show logging module Send comments to [email protected] show logging module Use the show logging module command to display the module logging configuration. show logging module Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 530
show logging monitor Chapter 7 System Management Commands Send comments to [email protected] show logging monitor Use the show logging monitor command to display the monitor logging configuration. show logging monitor Syntax Description This command has no arguments or keywords. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 531
Chapter 7 System Management Commands show logging nvram Send comments to [email protected] show logging nvram Use the show logging nvram command to display the messages in the NVRAM log. show logging nvram [last number-lines] Syntax Description last number-lines (Optional) Enters the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 532
kernel-trace Displays the OBFL kernel trace information. obfl-history Displays the OBFL history information. obfl-logs Displays the OBFL technical support log information. stack-trace Displays the OBFL kernel stack trace information. starttime Displays the OBFL logs from the specified start - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 533
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-Ignores the case - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 534
is enabled by default and records 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 535
The show logging onboard obfl-history command displays the following information: • 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 536
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 identification • - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 537
Chapter 7 System Management Commands show logging server Send comments to [email protected] show logging server Use the show logging server command to display the syslog server configuration. show logging server Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 538
show logging session status Chapter 7 System Management Commands Send comments to [email protected] show logging session status Use the show logging session status command to display the logging session status. show logging session status Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 539
Chapter 7 System Management Commands show logging status Send comments to [email protected] show logging status Use the show logging status command to display the logging status. show logging status Syntax Description This command has no arguments or keywords. Command Default None - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 540
show logging timestamp Chapter 7 System Management Commands Send comments to [email protected] show logging timestamp Use the show logging timestamp command to display the logging timestamp configuration. show logging timestamp Syntax Description This command has no arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 541
Chapter 7 System Management Commands show ntp peer-status Send comments to [email protected] show ntp peer-status To do display the status of the Network Time Protocol peers, use the show ntp peer-status command. show ntp peer-status Syntax Description This command has no arguments - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 542
show ntp peers Chapter 7 System Management Commands Send comments to [email protected] show ntp peers To display information about Network Time Protocol (NTP) peers, use the show ntp peers command. show ntp peers Syntax Description This command has no arguments or keywords. Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 543
Chapter 7 System Management Commands show ntp statistics Send comments to [email protected] show ntp statistics To display Network Time Protocol (NTP) statistics, use the show ntp statistics command. show ntp statistics {io | local | memory | peer {ipaddr address | name name1 [..nameN - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 544
show ntp timestamp-status Chapter 7 System Management Commands Send comments to [email protected] show ntp timestamp-status To display the Network Time Protocol timestamp information, use the show ntp timestamp-status command. show ntp timestamp-status Syntax Description This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 545
level for Cron/at facility. Sets level for System daemons. Sets level for dcx syslog messages. Sets syslog level for Device Alias Distribution Service. delta statistics syslog level. Sets level for EPP syslog messages. Sets level for ethpc syslog messages. Sets level for ethpm syslog messages. Sets - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 546
Local use daemons. Sets level for Local use daemons. Sets level for Local use daemons. Sets level for Local use daemons. Sets level for Line Printer System. Sets level for Mail system. Sets level for ethernet span syslog messages. Sets level for USENET news. Sets level for nohms syslog messages - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 547
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 urib - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 548
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 549
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 550
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 551
Chapter 8 Fibre Channel Commands cfs ipv4 distribute Send comments to [email protected] cfs ipv4 distribute To enable Cisco Fabric Services (CFS) distribution over IPv4 for applications that want to use this feature, use the cfs ipv4 command. To disable this feature, use the no form - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 552
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 distribution is enabled or disabled. Cisco Nexus 5000 Series Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 553
cfs ipv4 mcast-address Send comments to [email protected] cfs ipv4 mcast-address To configure an IPv4 multicast address for Cisco Fabric Services (CFS) distribution over IPv4, use the cfs ipv4 mcast-address command. To disable this feature, use the no form of the command. cfs ipv4 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 554
to [email protected] Related Commands Command cfs ipv4 distribute show cfs status Description Enables or disables Cisco Fabric Services (CFS) distribution over IPv4. Displays whether CFS distribution is enabled or disabled. Cisco Nexus 5000 Series Command Reference 8-6 OL-16599 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 555
Chapter 8 Fibre Channel Commands cfs ipv6 distribute Send comments to [email protected] cfs ipv6 distribute To enable Cisco Fabric Services (CFS) distribution over IPv6 for applications using CFS, use the cfs ipv6 distribute command. To disable this feature, use the no form of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 556
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 distribution is enabled or disabled. Cisco Nexus 5000 Series Command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 557
cfs ipv6 mcast-address Send comments to [email protected] cfs ipv6 mcast-address To configure an IPv6 multicast address for Cisco Fabric Services (CFS) distribution over IPv6, use the cfs ipv6 mcast-address command. To disable this feature, use the no form of the command. cfs ipv6 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 558
comments to [email protected] Related Commands Command cfs ipv6 distribute show cfs status Description Enables or disables Cisco Fabric Services (CFS) distribution over IPv6. Displays whether CFS distribution is enabled or disabled. 8-10 Cisco Nexus 5000 Series Command Reference OL - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 559
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 of any region configuration - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 560
cfs staggered-merge Chapter 8 Fibre Channel Commands Send comments to [email protected] cfs staggered-merge CFS can merge the data from multiple VSANs. To disable this feature, use the no form of this command. cfs staggered-merge enable no cfs staggered-merge enable Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 561
Chapter 8 Fibre Channel Commands clear device-alias Send comments to [email protected] clear device-alias To clear device alias information, use the clear device-alias command. clear device-alias {database | session | statistics} Syntax Description database session statistics - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 562
clear fcdomain Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fcdomain To clear the entire list of configured hosts, use the clear fcdomain command. clear fcdomain session vsan vsan-id Syntax Description session vsan vsan-id Clears session information. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 563
Chapter 8 Fibre Channel Commands clear fcflow stats Send comments to [email protected] clear fcflow stats To clear Fibre Channel flow statistics, use the clear fcflow stats command. clear fcflow stats [aggregated] index flow-index Syntax Description aggregated index flow-index ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 564
clear fcns statistics Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fcns statistics To clear the name server statistics, use the clear fcns statistics command. clear fcns statistics vsan vsan-id Syntax Description vsan vsan-id Clears the FCS statistics - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 565
Chapter 8 Fibre Channel Commands clear fcsm log Send comments to [email protected] clear fcsm log To clear the FCSM log, use the clear fcsm log command. clear fcsm log Syntax Description This command has no arguments or keywords. Command Default None Command Modes EXEC mode - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 566
clear fcs statistics Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fcs statistics To clear the fabric configuration server statistics, use the clear fcs statistics command. clear fcs statistics vsan vsan-id Syntax Description vsan vsan-id Clears the FCS - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 567
8 Fibre Channel Commands clear fctimer session Send comments to [email protected] clear fctimer session To clear fctimer Cisco Fabric Services (CFS) session configuration and locks, use the clear fctimer session command. clear fctimer session Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 568
clear fspf counters Chapter 8 Fibre Channel Commands Send comments to [email protected] clear fspf counters To clear the Fabric Shortest Path First (FSPF) statistics, use the clear fspf counters command. clear fspf counters vsan vsan-id [interface type] Syntax Description vsan vsan- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 569
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 570
clear rlir Chapter 8 Fibre Channel Commands Send comments to [email protected] clear rlir To clear Registered Link Incident Report (RLIR) information, use the clear rlir command. clear rlir {history | recent {interface fc slot/port | portnumber port} | statistics vsan vsan-id} Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 571
Chapter 8 Fibre Channel Commands clear rscn session Send comments to [email protected] clear rscn session To clear a Registered State Change Notification (RSCN) session for a specified VSAN, use the clear rscn session command. clear rscn session vsan vsan-id Syntax Description vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 572
clear rscn statistics Chapter 8 Fibre Channel Commands Send comments to [email protected] clear rscn statistics To clear the registered state change notification statistics for a specified VSAN, use the clear rscn statistics command. clear rscn statistics vsan vsan-id Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 573
Chapter 8 Fibre Channel Commands clear zone Send comments to [email protected] clear zone To clear all configured information in the zone server for a specified VSAN, use the clear zone command. clear zone {database | lock | statistics} vsan vsan-id Syntax Description database lock - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 574
8 Fibre Channel Commands Send comments to [email protected] device-alias abort To discard a Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress, use the device-alias abort command. device-alias abort Syntax Description This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 575
to [email protected] device-alias commit To apply the pending configuration pertaining to the Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the device-alias commit command. device-alias commit Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 576
database Chapter 8 Fibre Channel Commands Send comments to [email protected] device-alias database To initiate a Distributed Device Alias Services (device alias) session and configure the device alias database, use the device-alias database command. To deactivate the device alias - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 577
Commands device-alias distribute Send comments to [email protected] device-alias distribute To enable Cisco Fabric Services (CFS) distribution for Distributed Device Alias Services (device alias), use the device-alias distribute command. To disable this feature, use the no form of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 578
using this feature without losing data, if they satisfy the following restrictions: • Each fcalias has only one member. • The member type is supported by the device name implementation. If any name conflict exists, the fcaliases are not imported. The device name database is completely independent - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 579
Chapter 8 Fibre Channel Commands device-alias mode Send comments to [email protected] device-alias mode To configure device alias enhanced mode, use the device-alias mode command. To remove device alias enhanced mode, use the no form of the command. device-alias mode enhanced no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 580
device-alias name Chapter 8 Fibre Channel Commands Send comments to [email protected] device-alias name To configure device names in the device alias database, use the device-alias name command. To remove device names from the device alias database, use the no form of the command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 581
Chapter 8 Fibre Channel Commands device-alias rename Send comments to [email protected] device-alias rename To configure device names in the device alias database, use the device-alias rename command. To remove device names from the device alias database, use the no form of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 582
discover custom-list Chapter 8 Fibre Channel Commands Send comments to [email protected] discover custom-list To selectively initiate discovery for specified domain IDs in a VSAN, use the discover custom-list command. discover custom-list {add | delete} vsan vsan-id domain domain-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 583
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 584
discover scsi-target Chapter 8 Fibre Channel Commands Send comments to [email protected] The following example shows how to discover SCSI targets for the specified VSAN (1) and FCID (0x9c03d6): switch# discover scsi-target vsan 1 fcid 0x9c03d6 os aix discover scsi-target vsan 1 fcid - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 585
Chapter 8 Fibre Channel Commands fabric profile Send comments to [email protected] fabric profile To utilize a preset QoS setting, use the fabric profile command. To restore the default, use the no form of the command. fabric profile {reliable-multicast | unicast-optimized} no fabric - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 586
fabric-binding activate Chapter 8 Fibre Channel Commands Send comments to [email protected] fabric-binding activate To activate fabric binding in a VSAN, use the fabric-binding activate command. To disable this feature, use the no form of the command. fabric-binding activate vsan vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 587
Chapter 8 Fibre Channel Commands fabric-binding database copy Send comments to [email protected] fabric-binding database copy To copy from the active fabric binding database to the configuration fabric binding database, use the fabric-binding database copy command. fabric-binding - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 588
fabric-binding database diff Chapter 8 Fibre Channel Commands Send comments to [email protected] fabric-binding database diff To view the differences between the active database and the configuration database in a VSAN, use the fabric-binding database diff command. fabric-binding - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 589
Chapter 8 Fibre Channel Commands fabric-binding database vsan Send comments to [email protected] fabric-binding database vsan To configure a user-specified fabric binding list in a VSAN, use the fabric-binding database vsan command. To disable the fabric binding, use the no form of - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 590
fabric-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- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 591
Chapter 8 Fibre Channel Commands fabric-binding enable Send comments to [email protected] fabric-binding enable To enable fabric binding in a VSAN, use the fabric-binding enable command. To disable fabric binding, use the no form of the command. fabric-binding enable no fabric-binding - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 592
fcalias clone Chapter 8 Fibre Channel Commands Send comments to [email protected] fcalias clone To clone a Fibre Channel alias, use the fcalias clone command. fcalias clone origFcalias-Name cloneFcalias-Name vsan vsan-id Syntax Description origFcalias-Name cloneFcalias-Name vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 593
Chapter 8 Fibre Channel Commands fcalias name Send comments to [email protected] fcalias name To configure a Fibre Channel alias, use the fcalias name command. To disable a Fibre Channel alias, use the no form of the command. fcalias name alias-name vsan vsan-id no fcalias name alias- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 594
fcalias rename Chapter 8 Fibre Channel Commands Send comments to [email protected] fcalias rename To rename a Fibre Channel alias (fcalias), use the fcalias rename command. fcalias rename current-name new-name vsan vsan-id no fcalias rename current-name new-name vsan vsan-id Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 595
Chapter 8 Fibre Channel Commands fcdomain Send comments to [email protected] fcdomain To configure the Fibre Channel domain feature, use the fcdomain command. To disable the Fibre Channel domain, use the no form of the command. fcdomain {allowed domain vsan vsan-id | auto-reconfigure - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 596
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 597
Chapter 8 Fibre Channel Commands fcdomain abort vsan Send comments to [email protected] fcdomain abort vsan To flush cached data without committing and release the lock, use the fcdomain abort vsan command. To disable the flushing of cached data, use the no form of the command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 598
fcdomain commit vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] fcdomain commit vsan To commit cached data and release the lock, use the fcdomain commit vsan command. To release the lock without committing the cached data, use the no form of the command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 599
8 Fibre Channel Commands fcdomain distribute Send comments to [email protected] fcdomain distribute To enable fabric distribution using Cisco Fabric Services (CFS), use the fcdomain distribute command. To disable fabric distribution using CFS, us the no form of the command. fcdomain - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 600
fcdomain rcf-reject Chapter 8 Fibre Channel Commands Send comments to [email protected] fcdomain rcf-reject To enable the RCF reject flag for a Fibre Channel interface, use the fcdomain option. To disable this feature, use the no form of the command. fcdomain rcf-reject vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 601
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 602
fcflow stats Chapter 8 Fibre Channel Commands Send comments to [email protected] fcflow stats To configure fcflow statistics, use the fcflow stats command. To disable the counter, use the no form of the command. fcflow stats {aggregated index flow-number vsan vsan-id | index flow- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 603
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 604
fcid-allocation Chapter 8 Fibre Channel Commands Send comments to [email protected] fcid-allocation Use the fcid-allocation command to manually add a FCID to the default area company ID list. Use the no form of the command to remove a FCID from the default area company ID - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 605
Chapter 8 Fibre Channel Commands fcinterop fcid-allocation Send comments to [email protected] fcinterop fcid-allocation To allocate FCIDs on the switch, use the fcinterop fcid-allocation command. To disable FCIDs on the switch, use the no form of the command. fcinterop fcid-allocation - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 606
fcns no-auto-poll Chapter 8 Fibre Channel Commands Send comments to [email protected] fcns no-auto-poll To enable or disable automatic polling in the name server database, use the fcns no-auto-poll command. fcns no-auto-poll [vsan vsan-id] | [wwn wwn-id] no fcns no-auto-poll [vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 607
Chapter 8 Fibre Channel Commands fcns proxy-port Send comments to [email protected] fcns proxy-port To register a name server proxy, use the fcns proxy-port command. fcns proxy-port wwn-id vsan vsan-id no fcns proxy-port wwn-id vsan vsan-id Syntax Description wwn-id vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 608
fcns reject-duplicate-pwwn vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] fcns reject-duplicate-pwwn vsan To reject duplicate Fibre Channel name server (FCNS) proxies on a VSAN, use the fcns reject-duplicate-pwwn vsan command. fcns reject-duplicate-pwwn vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 609
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcping fcping To ping an N port, use the fcping command. fcping {device-alias aliasname | fcid {fc-port | domain-controller-id} | pwwn pwwn-id} vsan vsan-id [count number [timeout value [usr-priority priority]]] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 610
fcping Chapter 8 Fibre Channel Commands Send comments to [email protected] The following example shows the setting of the timeout value. The default period to wait is 5 seconds. The range is from 1 through 10 seconds. switch# fcping fcid 0xd500b4 vsan 1 timeout 10 The following example - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 611
Chapter 8 Fibre Channel Commands Send comments to [email protected] fcroute fcroute To configure Fibre Channel routes and to activate policy routing, use the fcroute command. To remove a configuration or revert to factory defaults, use the no form of the command. fcroute {fcid [network - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 612
fcroute 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 613
Chapter 8 Fibre Channel Commands fcs plat-check-global Send comments to [email protected] fcs plat-check-global To enable FCS platform and node-name checking fabric wide, use the fcs plat-check-global command. To disable this feature, use the no form of the command. fcs plat-check- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 614
fcs register Chapter 8 Fibre Channel Commands Send comments to [email protected] fcs register To register FCS attributes, use the fcs register command. To disable this feature, use the no form of the command. fcs register no fcs register Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 615
Chapter 8 Fibre Channel Commands fcs virtual-device-add Send comments to [email protected] fcs virtual-device-add To include a virtual device in a query about zone information from an FCS, use the fcs virtual-device-add command. To remove a virtual device, use the no form of the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 616
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 617
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 618
fcsp dhchap Chapter 8 Fibre Channel Commands Send comments to [email protected] fcsp dhchap To configure DHCHAP options in a switch, use the fcsp dhchap command. This command is only available when the FC-SP feature is enabled. Use the no form of the command to revert to factory - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 619
Chapter 8 Fibre Channel Commands 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)# - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 620
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 621
Chapter 8 Fibre Channel Commands fcsp reauthenticate Send comments to [email protected] fcsp reauthenticate To reauthenticate a Fibre Channel or virtual Fibre Channel interface, use the fcsp reauthenticate command. Use the no form of the command to revert to factory defaults. fcsp - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 622
fcsp timeout Chapter 8 Fibre Channel Commands Send comments to [email protected] fcsp timeout To configure the timeout value for FC-SP message, use the fcsp timeout command. Use the no form of the command to revert to factory defaults. fcsp timeout timeout-period no fcsp timeout - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 623
| r_a_tov milliseconds} [vsan vsan-id] Syntax Description d_s_tov milliseconds e_d_tov milliseconds r_a_tov milliseconds vsan vsan-id Specifies the distributed services timeout value (DS_TOV). The range is 5000 to 100000 milliseconds. Specifies the error detect timeout value (ED_TOV). The range - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 624
8 Fibre Channel Commands Send comments to [email protected] fctimer abort To discard a Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in progress, use the fctimer abort command. fctimer abort Syntax Description This command has no other arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 625
to [email protected] fctimer commit To apply the pending configuration pertaining to the Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the fctimer commit command. fctimer commit Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 626
fctimer distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] fctimer distribute To enable Cisco Fabric Services (CFS) distribution for Fibre Channel timer (fctimer), use the fctimer distribute command. To disable this feature, use the no form of the command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 627
Chapter 8 Fibre Channel Commands Send comments to [email protected] fctrace fctrace To trace the route to an N port, use the fctrace command. fctrace {device-alias aliasname | fcid fcid | pwwn pwwn-id} vsan vsan-id [timeout seconds] Syntax Description device-alias aliasname fcid fcid - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 628
fdmi suppress-updates Chapter 8 Fibre Channel Commands Send comments to [email protected] fdmi suppress-updates To suppress FDMI updates, use the fdmi suppress-updates command. fdmi suppress-updates vsan vsan-id Syntax Description vsan vsan-id Specifies a VSAN ID. The range is 1 to - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 629
Chapter 8 Fibre Channel Commands fspf config Send comments to [email protected] fspf config To configure an FSPF feature for an entire VSAN, use the fspf config command. This command enters FSPF configuration mode, which includes four commands (each with a no form). To delete FSPF - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 630
fspf config Chapter 8 Fibre Channel Commands Send comments to [email protected] Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The fspf config command enters FSPF configuration mode for the specified VSAN. In FSPF configuration mode, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 631
Chapter 8 Fibre Channel Commands fspf cost Send comments to [email protected] fspf cost To configure FSPF link cost for an FCIP interface, use the fspf cost command. To revert to the default value, use the no form of the command. fspf cost link-cost vsan vsan-id no fspf cost link-cost - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 632
fspf dead-interval Chapter 8 Fibre Channel Commands Send comments to [email protected] fspf dead-interval To set the maximum interval for which a hello message must be received before the neighbor is considered lost, use the fspf dead-interval command. To revert to the default value, - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 633
Chapter 8 Fibre Channel Commands fspf enable Send comments to [email protected] fspf enable To enable FSPF for a VSAN, use the fspf enable command. To disable FSPF routing protocols, use the no form of the command. fspf enable vsan vsan-id no fspf enable vsan vsan-id Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 634
fspf hello-interval Chapter 8 Fibre Channel Commands Send comments to [email protected] fspf hello-interval To verify the health of the link, use the fspf hello-interval command. To revert to the default value, use the no form of the command. fspf hello-interval seconds vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 635
Chapter 8 Fibre Channel Commands fspf passive Send comments to [email protected] fspf passive To disable the FSPF protocol for selected interfaces, use the fspf passive command. To revert to the default state, use the no form of the command. fspf passive vsan vsan-id no fspf passive - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 636
fspf retransmit-interval Chapter 8 Fibre Channel Commands Send comments to [email protected] fspf retransmit-interval To specify the time after which an unacknowledged link state update should be transmitted on the interface, use the fspf retransmit-interval command. To revert to the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 637
Chapter 8 Fibre Channel Commands in-order-guarantee Send comments to [email protected] in-order-guarantee To enable in-order delivery, use the in-order-guarantee command. To disable in-order delivery, use the no form of the command. in-order-guarantee [vsan vsan-id] no in-order- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 638
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 639
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 enable software versions or before configuring the interface in a manually configured channel group. Examples The following example configures ports - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 640
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 641
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 642
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 643
Chapter 8 Fibre Channel 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 644
logging abort Chapter 8 Fibre Channel Commands Send comments to [email protected] logging abort To discard the logging Cisco Fabric Services (CFS) distribution session in progress, use the logging abort command. logging abort Syntax Description This command has no other arguments or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 645
commit Send comments to [email protected] logging commit To apply the pending configuration pertaining to the logging Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the logging commit command. logging commit Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 646
logging distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] logging distribute To enable Cisco Fabric Services (CFS) distribution for logging, use the logging distribute command. To disable this feature, use the no form of the command. logging distribute no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 647
Chapter 8 Fibre Channel Commands member (fcalias configuration mode) Send comments to [email protected] member (fcalias configuration mode) To add a member name to a Fibre Channel alias on a VSAN, use the member command. To remove a member name from a Fibre Channel alias, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 648
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 649
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 no form of the command. member { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 650
member (zone configuration 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 651
Chapter 8 Fibre Channel Commands member (zoneset configuration mode) Send comments to [email protected] member (zoneset configuration mode) To configure zone set members, use the member command in zone set configuration mode. To remove a zone set member, use the no form of the command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 652
npiv enable Chapter 8 Fibre Channel Commands Send comments to [email protected] npiv enable To enable N Port Identifier Virtualization (NPIV) for all VSANs on a switch, use the npiv enable command. To disable NPIV, use the no form of the command. npiv enable no npiv enable Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 653
Chapter 8 Fibre Channel Commands npv auto-load-balance disruptive Send comments to [email protected] npv auto-load-balance disruptive To enable N Port Virtualization (NPV) disruptive load-balancing, use the npv auto-load-balance disruptive command. To disable this feature, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 654
npv enable Chapter 8 Fibre Channel Commands Send comments to [email protected] npv enable To enable N Port Virtualization (NPV) mode, use the npv enable command. To disable this feature, use the no form of the command. npv enable no npv enable Syntax Description This command has no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 655
Chapter 8 Fibre Channel Commands npv 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 656
the port-security feature and disable auto-learning using the port-security 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-learn option is enabled on a VSAN, you cannot activate the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 657
Chapter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 658
abort Chapter 8 Fibre Channel Commands Send comments to [email protected] port-security abort To discard the port security Cisco Fabric Services (CFS) distribution session in progress, use the port-security abort command. port-security abort vsan vsan-id Syntax Description vsan vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 659
commit Send comments to [email protected] port-security commit To apply the pending configuration pertaining to the port security Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the port-security commit command. port-security commit vsan vsan-id Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 660
port-security database Chapter 8 Fibre Channel Commands Send comments to [email protected] port-security database To copy the port security database or to view the difference within the port security database, use the port-security database command. port-security database {copy | diff - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 661
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 662
port-security distribute Chapter 8 Fibre Channel Commands Send comments to [email protected] port-security distribute To enable Cisco Fabric Services (CFS) distribution for port security, use the port-security distribute command. To disable this feature, use the no form of the command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 663
Chapter 8 Fibre Channel Commands port-security enable Send comments to [email protected] port-security enable To enable port security, use the port-security enable command. To disable port security, use the no form of the command. port-security enable no port-security enable Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 664
port-track enable Chapter 8 Fibre Channel Commands Send comments to [email protected] port-track enable To enable port tracking for indirect errors, use the port-track enable command. To disable this feature, use the no form of the command. port-track enable no port-track enable - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 665
Chapter 8 Fibre Channel Commands port-track force-shut Send comments to [email protected] port-track force-shut To force a shutdown of a tracked port, use the port-track force-shut command. To reenable the port tracking, use the no form of the command. port-track force-shut no port- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 666
port-track interface Chapter 8 Fibre Channel Commands Send comments to [email protected] port-track interface To enable port tracking for specific interfaces, use the port-track interface command. To disable this feature, use the no form of the command. port-track interface {fc slot/ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 667
Chapter 8 Fibre Channel Commands purge fcdomain fcid Send comments to [email protected] purge fcdomain fcid To purge persistent FCIDs, use the purge fcdomain fcid command. purge fcdomain fcid vsan vsan-id Syntax Description vsan vsan-id Indicates that FCIDs are to be purged for a - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 668
rlir preferred-cond fcid Chapter 8 Fibre Channel Commands Send comments to [email protected] rlir preferred-cond fcid To specify a preferred host to receive Registered Link Incident Report (RLIR) frames, use the rlir preferred-cond fcid command. To remove a preferred host, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 669
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 Record ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 670
Channel Commands rscn Send comments to [email protected] rscn To configure a registered state change notification (RSCN), which is a Fibre Channel service that informs N ports about changes in the fabric, use the rscn command. rscn {multi-pid | suppress domain-swrscn} vsan vsan-id Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 671
Chapter 8 Fibre Channel Commands rscn abort Send comments to [email protected] rscn abort To cancel a Registered State Change Notification (RSCN) configuration on a VSAN, use the rscn abort command. To reverse the cancellation, use the no form of the command. rscn abort vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 672
rscn commit Chapter 8 Fibre Channel Commands Send comments to [email protected] rscn commit To apply a pending Registered State Change Notification (RSCN) configuration, use the rscn commit command. To discard a pending RSCN configuration, use the no form of the command. rscn commit - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 673
This command was introduced. Usage Guidelines The RSCN timer configuration must be the same on all switches in the VSAN. Cisco Fabric Service (CFS) automatically distributes the RSCN timer configuration to all switches in a fabric. Only the RSCN timer configuration is distributed. Examples The - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 674
value, you must enable RSCN configuration distribution 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 675
Chapter 8 Fibre Channel Commands san-port-channel persistent Send comments to [email protected] san-port-channel persistent To convert an autocreated SAN port channel to a persistent SAN port channel, use the san-port-channel persistent command. san-port-channel port-channel-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 676
scsi-target Chapter 8 Fibre Channel Commands Send comments to [email protected] scsi-target To configure SCSI target discovery, use the scsi-target command. To remove SCSI target discovery, use the no form of the command. scsi-target {auto-poll [vsan vsan-id] | discovery | ns-poll [ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 677
Chapter 8 Fibre Channel Commands scsi-target Send comments to [email protected] The following example removes SCSI target ns-polling discovery for VSAN 1: switch(config)# no scsi-target ns-poll vsan 1 The following example configures SCSI target on-demand discovery for VSAN 1: switch( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 678
switchport Chapter 8 Fibre Channel Commands Send comments to [email protected] switchport To configure a switch port parameter on a Fibre Channel or virtual Fibre Channel interface, use the switchport command. To discard the configuration, use the no form of the command. Fibre Channel - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 679
Chapter 8 Fibre Channel Commands switchport Send comments to [email protected] vsan-id all mode auto off on Specifies the VSAN ID. The range is 1 to 4093. Adds all the VSANs to allowed VSAN list. Configures the trunking mode. Configures automatic trunking mode. Disables the trunking - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 680
switchport Chapter 8 Fibre Channel Commands 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 681
Chapter 8 Fibre Channel Commands switchport ignore bit-errors Send comments to [email protected] switchport ignore bit-errors To prevent the detection of bit error threshold events from disabling the interface on Fibre Channel interfaces, use the switchport ignore bit-errors command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 682
switchport ignore bit-errors 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 683
Chapter 8 Fibre Channel Commands system default switchport Send comments to [email protected] system default switchport To configure port attributes for Fibre Channel interfaces, use the system default switchport command. To disable port attributes, use the no form of the command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 684
system default switchport Chapter 8 Fibre 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 685
Chapter 8 Fibre Channel Commands system default zone default-zone permit Send comments to [email protected] system default zone default-zone permit To configure default values for a zone, use the system default zone default-zone permit command. To revert to the defaults, use the no - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 686
system default zone distribute full Chapter 8 Fibre Channel Commands Send comments to [email protected] system default zone distribute full To configure default values for distribution to a zone set, use the system default zone distribute full command. To revert to the defaults, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 687
apply new trunk configurations. Existing trunk configurations are not affected, and the TE port continues to function in trunking mode, but only supports traffic in VSANs that it negotiated previously (when the trunking protocol was enabled). Also, other switches that are directly connected to this - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 688
vsan database Chapter 8 Fibre Channel Commands Send comments to [email protected] vsan database To create multiple fabrics sharing the same physical infrastructure, assign ports to VSANs, turn on or off interop mode, load balance either per originator exchange or by source-destination - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 689
Chapter 8 Fibre Channel Commands vsan database Send comments to [email protected] Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines To use this command, change to the VSAN database mode. The interface - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 690
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 691
administrator or individual who is completely familiar with switch operations. For more information, refer to the Cisco Nexus 5000 Series CLI Configuration Guide. Examples The following example allocates a secondary range of MAC addresses: switch(config)# wwn secondary-mac 00:99:55:77:55:55 range - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 692
wwn vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] wwn vsan To configure a WWN for a suspended VSAN that has interop mode 4 enabled, use the wwn vsan command. To discard the configuration, use the no form of the command. wwn vsan vsan-id vsan-wwn wwn no wwn - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 693
Chapter 8 Fibre Channel Commands zone clone Send comments to [email protected] zone clone To clone a zone name, use the zone clone command. zone clone current-zone-name new-zone-name vsan vsan-id Syntax Description current-zone-name new-zone-name vsan vsan-id Clones a zone - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 694
zone commit Chapter 8 Fibre Channel Commands Send comments to [email protected] zone commit To commit zoning changes to a VSAN, use the zone commit command. To negate the command, use the no form of the command. zone commit vsan vsan-id [force] no zone commit vsan vsan-id [force] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 695
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 cannot support more than 2000 zones. Examples The following example shows how to compact - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 696
zone copy Chapter 8 Fibre Channel Commands Send comments to [email protected] zone copy To copy the active zone set to the full zone set, use the zone copy command. Use the no form of the command to negate the command or revert to the factory defaults. zone copy active-zoneset full- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 697
Chapter 8 Fibre Channel Commands zone default-zone Send comments to [email protected] zone default-zone To define whether a default zone (assigned to nodes not assigned to a created zone) permits or denies access to all nodes in the default zone, use the zone default-zone command. Use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 698
zone merge-control restrict vsan Chapter 8 Fibre Channel Commands Send comments to [email protected] zone merge-control restrict vsan To restrict zone database merging, use the zone merge-control restrict vsan command. To disable this feature, use the no form of the command. zone - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 699
Chapter 8 Fibre Channel Commands zone mode enhanced Send comments to [email protected] zone mode enhanced To enable enhanced zoning for a VSAN, use the zone mode enhanced command. To disable this feature, use the no form of the command. zone mode enhanced vsan vsan-id no zone mode - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 700
zone name (configuration mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] zone name (configuration mode) To create a zone, use the zone name command. Use the no form of the command to negate the command or revert to the factory defaults. zone name zone-name - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 701
Chapter 8 Fibre Channel Commands zone name (configuration mode) Send comments to [email protected] Related Commands Command show zone zone rename zone-attribute-group name Description Displays zone information. Renames zones. Configures zone attribute groups. OL-16599-01 Cisco - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 702
zone name (zone set configuration mode) Chapter 8 Fibre Channel Commands Send comments to [email protected] zone name (zone set configuration mode) To configure a zone in a zone set, use the zone name command in zone set configuration mode. To delete the zone from the zone set, use - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 703
Chapter 8 Fibre Channel Commands zone rename Send comments to [email protected] zone rename To rename a zone, use the zone rename command. zone rename current-name new-name vsan vsan-id Syntax Description current-name new-name vsan vsan-id Specifies the current fcalias name. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 704
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, use the no form of the command. zoneset { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 705
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 706
You can also enter the zoneset import and the zoneset export commands for a range of VSANs. The zoneset distribute vsan vsan-id command is supported in interop 2 and interop 3 modes, and not in interop 1 mode. Examples The following example imports the zone set database from the adjacent switch - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 707
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 708
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 709
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 710
show cfs Chapter 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 cfs {application [name app-name] | lock [name app-name [vsan vsan-id]] | merge status [name app-name [ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 711
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 712
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 713
Chapter 9 Fibre Channel Show Commands show device-alias Send comments to [email protected] show device-alias To display the device name information, use the show device-alias command. show device-alias {database | merge status | name device-name [pending] | pending | pending-diff | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 714
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 CFS - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 715
Chapter 9 Fibre Channel Show Commands show fabric-binding Send comments to [email protected] show fabric-binding To display configured fabric binding information, use the show fabric-binding command. show fabric-binding {database [active] [vsan vsan-id] | efmd statistics [vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 716
show fabric-binding Chapter 9 Fibre Channel Show Commands Send comments to [email protected] The following example displays EFMD statistics: switch# show fabric-binding efmd statistics The following example displays EFMD statistics for a specified VSAN: switch# show fabric-binding efmd - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 717
Chapter 9 Fibre Channel Show Commands show fc2 Send comments to [email protected] show fc2 To display FC2 information, use the show fc2 command. show fc2 {bind | classf | exchange | exchresp | flogi | nport | plogi | plogi_pwwn | port [brief] | socket | sockexch | socknotify | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 718
show fc2 Chapter 9 Fibre Channel Show Commands Send comments to [email protected] The following example displays FC2 PLOGI session information: switch# show fc2 plogi The following example displays FC2 physical port information: switch# show fc2 port The following example displays FC2 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 719
Chapter 9 Fibre Channel Show Commands show fcalias Send comments to [email protected] show fcalias To display the member name information in a Fibre Channel alias (fcalias), use the show fcalias command. show fcalias [name fcalias-name] [pending] [vsan vsan-id] Syntax Description - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 720
show fcdomain Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show fcdomain To display the Fibre Channel domain (fcdomain) information, use the show fcdomain command. show fcdomain [address-allocation [cache] | allowed | domain-list | fcid persistent [unused] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 721
Chapter 9 Fibre Channel Show Commands show fcdomain Send comments to [email protected] Examples The following example displays the fcdomain information for VSAN 1: switch# show fcdomain vsan 1 The following example displays the fcdomain domain-list information for VSAN 76: switch# - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 722
show fcdroplatency Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show fcdroplatency To display the configured Fibre Channel latency parameters, use the show fcdroplatency command. show fcdroplatency [network | switch] Syntax Description network switch ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 723
Chapter 9 Fibre Channel Show Commands show fcflow stats Send comments to [email protected] show fcflow stats To display the configured Fibre Channel flow (fcflow) information, use the show fcflow stats command. show fcflow stats [aggregated | usage] [index flow-index] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 724
show fcid-allocation Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show fcid-allocation Use the show fcid allocation command to display the Fibre Channel area list of company IDs. show fcid-allocation area | company-id-from-wwn wwn [company-id] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 725
Chapter 9 Fibre Channel Show Commands show fcns database Send comments to [email protected] show fcns database To display the results of the discovery, or to display the name server database for a specified VSAN or for all VSANs, use the show fcns database command. show fcns database - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 726
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 727
Chapter 9 Fibre Channel Show Commands show fcns statistics Send comments to [email protected] show fcns statistics To display the statistical information for a specified VSAN or for all VSANs, use the show fcns statistics command. show fcns statistics [detail] [vsan vsan-id] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 728
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 729
Chapter 9 Fibre Channel Show Commands show fcroute Send comments to [email protected] show fcroute Use the show fcroute command to view specific information about existing Fibre Channel and FSPF configurations. show fcroute {distance | label [label] vsan vsan-id | multicast [fc-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 730
show fcroute Chapter 9 Fibre Channel Show Commands Send comments to [email protected] The following example displays FCID and interface information for a specified VSAN: switch# show fcroute multicast 0xffffff vsan 2 The following example displays unicast routing information: switch# - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 731
Chapter 9 Fibre Channel Show Commands show fcs Send comments to [email protected] show fcs Use the show fcs commands to display the status of the fabric configuration. show fcs {database [vsan vsan-id] | ie [nwwn wwn] vsan vsan-id | platform [name string] vsan vsan-id | port [pwwn wwn - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 732
show fcs Chapter 9 Fibre Channel Show Commands Send comments to [email protected] This command displays platform information within a specified VSAN: switch# show fcs platform vsan 1 This command displays FCS port information within a specified VSAN: switch# show fcs port vsan 24 This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 733
Chapter 9 Fibre Channel Show Commands show fcsp Send comments to [email protected] show fcsp To display the status of the Fibre Channel Security Protocol (FC-SP) configuration, use the show fcsp commands. show fcsp [asciiwwn ascii-wwn | dhchap [database] | interface {fc slot/port | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 734
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 735
pending-diff session status status (Optional) Displays information for a VSAN. The range is 1 to 4093. (Optional) Displays the distributed services time out value (D_S_TOV) in milliseconds. (Optional) Displays the error detection time out value (E_D_TOV) in milliseconds. (Optional) Displays - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 736
show fdmi Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show fdmi To display the Fabric-Device Management Interface (FDMI) database information, use the show fdmi command. show fdmi database [detail [hba-id {hba-id vsan vsan-id} | vsan vsan-id] | vsan vsan- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 737
Chapter 9 Fibre Channel Show Commands show flogi Send comments to [email protected] show flogi To list all the fabric login (FLOGI) sessions through all interfaces across all VSANs, use the show flogi command. show flogi {auto-area-list} | database {fcid fcid-id | interface {fc slot/ - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 738
show flogi Chapter 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 739
Chapter 9 Fibre Channel Show Commands show fspf Send comments to [email protected] show fspf To display global Fibre Shortest Path First (FSPF) routing information, use the show fspf command. show fspf [database [vsan vsan-id] [detail | domain domain-id detail] | interface | vsan vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 740
show in-order-guarantee Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show in-order-guarantee To display the present configured state of the in-order delivery feature, use the show in-order-guarantee command. show in-order-guarantee Syntax Description This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 741
Chapter 9 Fibre Channel Show Commands show loadbalancing Send comments to [email protected] show loadbalancing To display load-balancing status for specific unicast flows, use the show loadbalancing command. show loadbalancing vsan vsan-id source-fcid dest-fcid [exchange-id] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 742
show npv flogi-table Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show npv flogi-table To display the information about N port virtualization (NPV) FLOGI session, use the show npv flogi-table command. show npv flogi-table Syntax Description This command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 743
Chapter 9 Fibre Channel Show Commands show npv status Send comments to [email protected] show npv status To display the N port virtualization (NPV) current status, use the show npv status command. show npv status Syntax Description This command has no other keywords or arguments. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 744
show npv traffic-map Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show npv traffic-map To display N port virtualization (NPV) traffic maps, use the show npv traffic-map command. show npv traffic-map Syntax Description This command has no other keywords or - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 745
Chapter 9 Fibre Channel Show Commands show port index-allocation Send comments to [email protected] show port index-allocation To display port index allocation information, use the show port index-allocation command. show port index-allocation [startup] Syntax Description startup ( - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 746
show port-security Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show port-security To display configured port security feature information, use the show port-security command. show port-security {database [active [vsan vsan-id]] | fwwn fwwn-id vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 747
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 748
show rlir Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show rlir To display Registered Link Incident Report (RLIR) information, use the show rlir command. show rlir {erl [vsan vsan-id] | history | recent {interface fc slot/port | portnumber port} | - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 749
Chapter 9 Fibre Channel Show Commands show rscn Send comments to [email protected] show rscn To display Registered State Change Notification (RSCN) information, use the show rscn command. show rscn {event-tov vsan vsan-id | pending vsan vsan-id | pending-diff vsan vsan-id | scr-table - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 750
show san-port-channel Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show san-port-channel Use the show san-port-channel command to view information about existing SAN port channel configurations. show san-port-channel {compatibility-parameters | consistency - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 751
Chapter 9 Fibre 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 752
show scsi-target Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show scsi-target To display information about existing SCSI target configurations, use the show scsi-target command. show scsi-target {auto-poll | custom-list | devices [vsan vsan-id] [fcid fcid- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 753
Chapter 9 Fibre Channel Show 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 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 754
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 755
Chapter 9 Fibre Channel Show Commands show trunk protocol Send comments to [email protected] show trunk protocol To display trunk protocol status, use the show trunk protocol command. show trunk protocol Syntax Description This command has no arguments or keywords. Command Default - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 756
show vsan Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show vsan To display information about configured VSAN, use the show vsan command. show vsan [vsan-id [membership] | membership [interface {fc slot/port | san-port-channel port | vfc vfc-id}] | usage] - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 757
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 AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 758
show wwn Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show wwn To display the status of the WWN configuration, use the show wwn command. show wwn {status [block-id number] | switch | vsan-wwn} Syntax Description status block-id number switch vsan-wwn - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 759
Chapter 9 Fibre Channel Show Commands show zone Send comments to [email protected] show zone To display zone information, use the show zone command. show zone [active [vsan vsan-id] | analysis {active vsan vsan-id | vsan vsan-id | zoneset zoneset-name} | ess [vsan vsan-id] | member { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 760
show zone Chapter 9 Fibre Channel Show Commands Send comments to [email protected] The following example displays zone information for a specific VSAN: switch# show zone vsan 1 The following example displays members of a specific zone: switch# show zone name Zone1 The following example - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 761
Chapter 9 Fibre Channel Show Commands show zone analysis Send comments to [email protected] show zone analysis To display detailed analysis and statistical information about the zoning database, use the show zone analysis command. show zone analysis {active vsan vsan-id | vsan vsan-id - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 762
INTERNAL-The full zoning database was modified as a result of an internal activation either from Inter-VSAN Routing (IVR) or from the IP storage services manager. • Merge-Indicates that the full database was last modified by the Merge protocol. In this case, the interface on which the merge occurred - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 763
Chapter 9 Fibre Channel Show Commands show zone analysis Send comments to [email protected] Table 9-4 show zone analysis Field Descriptions (continued)for the Full Zoning Database Field Description Formatted database size Displays the total size of the full database when formatted - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 764
show zoneset Chapter 9 Fibre Channel Show Commands Send comments to [email protected] show zoneset To display the configured zone sets, use the show zoneset command. show zoneset [active [vsan vsan-id] | brief [active [vsan vsan-id] | vsan vsan-id] | name zoneset-name [active [vsan - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 765
Send comments to [email protected] 10 C H A P T E R Vpc Commands This chapter describes the Cisco NX-OS Vpc commands available on Cisco Nexus 5000 Series switches. OL-16599-01 Cisco Nexus 5000 Series Command Reference 10-1 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 766
show running-config interface Chapter 10 Vpc Commands Send comments to [email protected] show running-config interface To display the running configuration for a specific port channel, use the show running-config interface port-channel command. show running-config interface [all | { - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 767
Chapter 10 Vpc Commands show running-config vpc Send comments to [email protected] show running-config vpc To display the running configuration information for virtual port channels (vPCs), use the show running-config vpc command. show running-config vpc [all] Syntax Description[ all - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 768
show startup-config interface Chapter 10 Vpc Commands Send comments to [email protected] show startup-config interface To display interface configuration information in the startup-configuration, use the show startup-config interface command. show startup-config interface [ethernet - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 769
Chapter 10 Vpc Commands show startup-config vpc Send comments to [email protected] show startup-config vpc To display virtual port-channel (vPC) configuration information in the startup-configuration, use the show startup-config vpc command. show startup-config vpc [all] Syntax - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 770
show vpc brief Chapter 10 Vpc Commands Send comments to [email protected] show vpc brief To display brief information about the virtual port channels (vPCs), use the show vpc brief command. show vpc brief [vpc number] Syntax Description vpc number (Optional) Displays the brief - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 771
Chapter 10 Vpc Commands show vpc brief Send comments to [email protected] id Port Status Consistency Reason Active vlans 20 Po20 up success success 1-100 This example also shows how to display brief information about the vPCs. In this example, the port channel failed the - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 772
show vpc brief Chapter 10 Vpc Commands Send comments to [email protected] Related Commands Command feature vpc show port channel summary Description Enables vPCs on the device. Displays information about port channels. 10-8 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 773
Chapter 10 Vpc Commands show vpc consistency-parameters Send comments to [email protected] show vpc consistency-parameters To display the consistency of parameters that must be compatible across the virtual port-channel (vPC) interfaces, use the show vpc consistency-parameters command - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 774
show vpc consistency-parameters Chapter 10 Vpc Commands Send comments to [email protected] • Enable/disable state the same per VLAN • STP global settings - Bridge Assurance setting - Port type setting-We recommend that you set all vPC peer link ports as network ports. - Loop Guard - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 775
Chapter 10 Vpc Commands show vpc consistency-parameters Send comments to [email protected] STP Port 1 None Guard mode 1 on Speed 1 10 Gb/s Duplex 1 full Port Mode 1 trunk Native Vlan 1 1 MTU 1 1500 Allowed VLAN - 1-100 bitset None on 10 Gb/s full trunk 1 1500 1-100 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 776
show vpc orphan-ports Chapter 10 Vpc Commands Send comments to [email protected] show vpc orphan-ports To display ports that are not part of the virtual port channel (vPC) but have common VLANs, use the show vpc orphan-ports command. show vpc orphan-ports Syntax Description This - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 777
Chapter 10 Vpc Commands show vpc orphan-ports Send comments to [email protected] Related Commands Command feature vpc show vpc brief Description Enables vPCs on the device. Displays brief information about vPCs. OL-16599-01 Cisco Nexus 5000 Series Command Reference 10-13 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 778
show vpc peer-keepalive Chapter 10 Vpc Commands Send comments to [email protected] show vpc peer-keepalive To display the destination IP for the virtual port-channel (vPC) peer keepalive message and the status of the messages, use the show vpc peer-keepalive command. show vpc peer- - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 779
Chapter 10 Vpc Commands show vpc peer-keepalive Send comments to [email protected] --Keepalive vrf --Keepalive udp port --Keepalive tos : pkal : 3200 : 192 Related Commands Command show vpc brief Description Displays information about vPCs. If the feature is not enabled, the system - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 780
show vpc role Chapter 10 Vpc Commands Send comments to [email protected] show vpc role To display information about the virtual port-channel (vPC) role of the peer device, use the show vpc role command. show vpc role Syntax Description This command has no arguments or keywords. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 781
Chapter 10 Vpc Commands show vpc role Send comments to [email protected] Secondary: vPC Role status vPC role : secondary Dual Active Detection Status : 0 vPC system-mac : 00:23:04:ee:be:01 vPC system-priority : 32667 vPC local system-mac : 00:22:55:79:de:41 vPC local - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 782
show vpc statistics Chapter 10 Vpc Commands Send comments to [email protected] show vpc statistics To display virtual port-channel (vPC) statistics, use the show vpc statistics command. show vpc statistics {peer-keepalive | peer-link | vpc number} Syntax Description[ peer-keepalive - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 783
Chapter 10 Vpc Commands show vpc statistics Send comments to [email protected] Related Commands Command show vpc brief show port channel summary Description Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command. - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 784
show vpc statistics Chapter 10 Vpc Commands Send comments to [email protected] 10-20 Cisco Nexus 5000 Series Command Reference OL-16599-01 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 785
REVIEW DRAFT-CISCO CONFIDENTIAL A aaa accounting default command 6-2 aaa authentication login console command 6-3 aaa authentication login default command 6-5 aaa authentication login error-enable command 6-7 aaa authentication login mschap command 6-8 aaa group server radius command 6-9 action - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 786
Index REVIEW DRAFT-CISCO CONFIDENTIAL clock timezone command 1-17 configure session command 1-18 configure terminal command 1-19 copy command 1-20 copy running-config startup-config command 1-24 D databits command 1-25 deadtime command 6-13 debug logfile command 1-26 debug logging command 1-27 - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 787
Index REVIEW DRAFT-CISCO CONFIDENTIAL fctrace command 8-79 fdmi suppress-updates command 8-80 feature (user role feature group) command 6-38 feature fcoe command 1-38 feature interface-vlan command 1-39 feature lacp command 1-40 feature private-vlan command 1-41 feature tacacs+ command 1-42 feature - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 788
Index REVIEW DRAFT-CISCO CONFIDENTIAL mac-address-table aging-time command 2-29 mac-address-table notification command 2-31 mac-address-table static command 2-32 mac port access-group command 6-49 match access-group command 5-5 match class-map command 5-6 match command 6-51 match cos (class map - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 789
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-policy command 5-18 session-limit command 1-72 setup command 1-71 show aaa accounting command 6-97 show aaa authentication command 6-98 show aaa - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 790
Index REVIEW DRAFT-CISCO CONFIDENTIAL show ip access-lists command 6-102 show ip igmp snooping command 3-7 show ipv6 access-lists command 6-103 show lacp command 3-8 show license command 1-88 show license host-id command 1-89 show license usage command 1-90 show line command 1-92 show loadbalancing - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 791
show system cores command 1-105 show system reset-reason command 1-106 show system uptime command 1-107 show tacacs-server command 6-119 show tech-support command 1-108 show telnet server command 6-121 show terminal command 1-109 show topology command 9-46 show trunk protocol command 9-47 show user - HP AP775A | Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-1 - Page 792
Index REVIEW DRAFT-CISCO CONFIDENTIAL 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 promiscuous command 2-95 switchport private-vlan host-association command 2-96 switchport private-vlan
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.1(3)N1(1)
August 2009
Text Part Number: OL-16599-01