![]() |
Table Of Contents
show port-profile expand-interface
show running-config expand-port-profile
show running-config port-profile
show running-config switch-profile
show startup-config port-profile
show startup-config switch-profile
show switch-profile session-history
show vpc consistency-parameters
Show Commands
This chapter describes the Cisco NX-OS virtual port channel (vPC) show commands.
show ip arp vpc-statistics
To display the global statistics for the Address Resolution Protocol (ARP) on a virtual port channel (vPC), use the show ip arp vpc-statistics command.
show ip arp vpc-statistics
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the global ARP statistics on vPCs:
switch# show ip arp vpc-statisticsARP sync EnabledARP vPC global statisticsMCECM api failed while processing CFS payload : 2980switch#Related Commands
Command Descriptionip arp synchronize
Enables ARP synchronization on a vPC domain.
show running-config vpc
Displays the running configuration information for vPCs.
show port-profile
To display the port profiles configured on a switch, use the show port-profile command.
show port-profile
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
Use this command to view the configuration information of the port profiles configured on the switch and the interfaces that inherited the port profiles.
Examples
This example shows how to display the port profiles configured on the switch:
switch# show port-profileport-profile p1type: Ethernetdescription:status: enabledmax-ports: 512inherit:config attributes:ip port access-group denyv4 inevaluated config attributes:ip port access-group denyv4 inassigned interfaces:port-profile ppEthtype: Ethernetdescription: Port profile to configure batch commands for Ethernet interfacesstatus: enabledmax-ports: 512inherit:ppconfig attributes:evaluated config attributes:switchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onassigned interfaces:Ethernet198/1/11switch#Table 1 describes the fields shown in the display.
Related Commands
show port-profile brief
To display brief information about the port profiles configured on a switch, use the show port-profile brief command.
show port-profile brief
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
Use this command to view the number of interfaces that inherited the port profile, the number of child port profiles, and the number of commands configured in, or inherited to, a port profile.
Examples
This example shows how to display brief information about the port profiles configured on the switch:
switch# show port-profile brief----------------------------------------------------------Port Profile Conf Eval Assigned ChildProfile State Items Items Intfs Profs----------------------------------------------------------ppEth 1 3 3 1 1p1 1 1 1 0 0switch#Table 2 describes the fields shown in the display:
Related Commands
show port-profile expand-interface
To display the active port profile configurations that are applied to an interface, use the show port-profile expand-interface command.
show port-profile expand-interface [pp-profile-name]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
Use this command to view the port profile configuration that is applied to an interface.
Examples
This example shows how to display the port profile configurations applied to the assigned interfaces:
switch# show port-profile expand-interfaceport-profile ppEthEthernet198/1/11switchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onport-profile p1port-profile ppswitch#This example shows how to display a specific port profile configuration assigned to an interface:
switch# show port-profile expand-interface name ppEthport-profile ppEthEthernet198/1/11switchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onswitch#Related Commands
show port-profile name
To display the configuration information of specific port profiles, use the show port-profile name command.
show port-profile name pp-profile-name
Syntax Description
pp-profile-name
Name of the port profile. The name can be a maximum of 80 alphanumeric characters and can include an underscore and hyphen. The name cannot contain spaces or special characters.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the configuration information of a port profile named ppEth:
switch# show port-profile name ppEthport-profile ppEthtype: Ethernetdescription: Port profile to configure batch commands for Ethernet interfacesstatus: enabledmax-ports: 512inherit:ppconfig attributes:evaluated config attributes:switchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onassigned interfaces:Ethernet198/1/11switch#Table 3 describes the fields shown in the display:
Related Commands
show port-profile usage
To display the list of interfaces that inherited a port profile, use the show port-profile usage command.
show port-profile usage [pp-profile-name]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the assigned interfaces for port profiles configured on the switch:
switch# show port-profile usageport-profile ethEthernet198/1/11port-profile p1port-profile ppswitch#This example shows how to display the interfaces attached to a port profile named ppEth:
switch# show port-profile usage name ppEthport-profile ppEthEthernet198/1/11switch#Related Commands
show running-config expand-port-profile
To display the detailed running configuration for a port profile, use the show running-config expand expand-port-profile command.
show running-config expand-port-profile
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the running configuration for an expanded port profile:
switch# show running-config expand-port-profile!Command: show running-config expand-port-profile!Time: Wed Jan 16 09:19:41 2013version 5.0(2)N1(1)feature fcoefeature telnetfeature tacacs+cfs ipv4 distributecfs eth distributefeature udldfeature interface-vlanfeature lacpfeature dhcpfeature vpcfeature lldpfeature vtpfeature fexusername admin password 5 $1$wmFN7Wly$/pjqx1DfAkCCAg/KyxbUz/ role network-adminusername install password 5 ! role network-adminusername praveena password 5 ! role network-operatorno password strength-checkip domain-lookupip domain-lookuptacacs-server host 192.0.2.54 key 7 "wawy1234"tacacs-server host 192.0.2.37tacacs-server host 192.0.2.37 test username user1:<--Snip-->:vpc domain 1000role priority 65534system-mac 00:23:04:ee:c1:e8peer-keepalive destination 192.0.2.2 source 192.0.2.3 vrf defaultport-profile type interface-vlan ppVlanbandwidth 30000000mtu 3000description Sample port-profile for VLAN interfacesport-profile type ethernet ethswitchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onstate enabledport-profile type port-channel ppPOdelay 5000000load-interval counter 1 30switchport mode trunkdescription Sample port profile for Port Channel interfacestate enabledport-profile type ethernet ppEthinherit port-profile ethswitchport mode trunkswitchport trunk allowed vlan 300-400speed 10000bandwidth 1000000description Sample port profile for Ethernet interfacesstate enabledinterface Vlan1:<--snip-->:mac address-table notification threshold limit 99 interval 60interface fc2/1interface fc2/2interface fc2/3interface fc2/4logging server 192.0.2.101logging server 192.0.2.102logging timestamp millisecondsno logging consoleswitch#Related Commands
show running-config port-profile
To display the running configuration of a port profile, use the show running-config port-profile command.
show running-config port-profile [pp-profile-name]
Syntax Description
pp-profile-name
Name of the port profile. The name can be a maximum of 80 alphanumeric characters and can include an underscore and hyphen. The name cannot contain spaces or special characters.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the running configuration of all port profiles that are configured on the switch:
switch# show running-config port-profile!Command: show running-config port-profile!Time: Wed Jan 30 00:37:27 2013version 6.0(2)N1(1)port-profile type interface-vlan ppVlanbandwidth 30000000mtu 3000description Sample port-profile for VLAN interfacesport-profile type ethernet ethswitchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onstate enabledport-profile type port-channel ppPOdelay 5000000load-interval counter 1 30switchport mode trunkdescription Sample port profile for Port Channel interfacestate enabledport-profile type ethernet ppEthinherit port-profile ethswitchport mode trunkswitchport trunk allowed vlan 300-400speed 10000bandwidth 1000000description Sample port profile for Ethernet interfacesstate enabledswitch#This example shows how to display the running configuration of a port profile named ppEth that is configured on the switch:
switch# show running-config port-profile ppEth!Command: show running-config port-profile ppEth!Time: Wed Jan 30 00:37:27 2013version 6.0(2)N1(1)port-profile type ethernet ppEthinherit port-profile ethswitchport mode trunkswitchport trunk allowed vlan 300-400speed 10000bandwidth 1000000description Sample port profile for Ethernet interfacesstate enabledswitch#Related Commands
show running-config switch-profile
To display the running configuration of a switch profile, use the show running-config switch-profile command.
show running-config switch-profile
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the running configuration of a switch profile named s6000 configured on switch 1 of the peer:
switch# show running-config switch-profileswitch-profile s6000sync-peers destination 192.0.2.3interface Ethernet1/1switchport mode trunkspeed 1000switch#Related Commands
Command Descriptionswitch-profile
Configures a switch profile.
show startup-config switch-profile
Displays the startup configuration information for the switch profile.
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[
Command Default
None
Command Modes
Any command mode
Command History
Examples
This example shows how to display the running configuration for a vPC:
switch (config)# show running-config vpcversion 6.0(2)feature vpcvpc domain 2role priority 1system-priority 32667peer-keepalive destination 192.0.2.52 source 192.0.2.51 udp-port 3200 vrf maengagement interval 1000 timeout 5interface port-channel10vpc 20interface port-channel101vpc 101interface port-channel200vpc peer-linkinterface port-channel201vpc 201This example shows how to display the running configuration for a vPC:
switch# show running-config vpc!Command: show running-config vpc!Time: Wed Jan 30 00:37:27 2013version 6.0(2)N1(1)feature vpcvpc domain 1000role priority 2000peer-keepalive destination 192.0.2.52 source 192.0.2.51 vrf managementpeer-config-check-bypassinterface port-channel1vpc peer-linkinterface port-channel3vpc 4096interface port-channel5vpc 4001interface port-channel12vpc 4000interface port-channel24vpc 2000interface port-channel41vpc 41interface port-channel48vpc 48--More--switch#
This example shows how to display the vPC reload configuration on a switch:
switch# show running-config vpc!Command: show running-config vpc!Time: Wed Jan 30 00:37:27 2013version 6.0(2)N1(1)feature vpcvpc domain 10peer-keepalive destination 192.0.2.48reload restore--More--<--output truncated>switch#This example shows how to display the vPC automatic recovery configuration:
switch# show running-config vpc!Command: show running-config vpc!Time: Wed Jan 30 00:37:27 2013version 6.0(2)N1(1)feature vpcvpc domain 100peer-keepalive destination 192.0.2.138auto-recovery reload-delay 300interface port-channel1vpc 1interface port-channel100vpc peer-linkswitch#Related Commands
Command Descriptionshow vpc brief
Displays information about vPCs. If the feature is not enabled, this command returns an error.
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 slot[QSFP-module/]/port | expand-port-profile | loopback number | mgmt 0 | port-channel {channel-number} [membership] | tunnel number | {vlan vlan-id}
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
Examples
This example shows how to display the information in the startup configuration for the interface Ethernet 7/1:
switch(config)# show startup-config interface ethernet 7/1version 6.0(2)interface Ethernet7/1ip pim sparse-modeswitch(config)#Related Commands
show startup-config port-profile
To display the startup configuration of port profiles, use the show startup-config port-profile command.
show startup-config switch-profile [pp-profile-name]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the configuration information of all port profiles stored in the startup configuration file:
switch# show startup-config switch-profile!Command: show startup-config port-profile!Time: Wed Jan 30 00:37:27 2013!Startup config saved at: Sun Jan 27 03:40:28 2013version 6.0(2)N1(1)port-profile type interface-vlan ppVlanbandwidth 30000000mtu 3000description Sample port-profile for VLAN interfacesport-profile type ethernet ethswitchport mode trunkswitchport trunk allowed vlan 300-800flowcontrol receive onstate enabledport-profile type port-channel ppPOdelay 5000000load-interval counter 1 30switchport mode trunkdescription Sample port profile for Port Channel interfacestate enabledport-profile type ethernet ppEthinherit port-profile ethswitchport mode trunkswitchport trunk allowed vlan 300-400speed 10000bandwidth 1000000description Sample port profile for Ethernet interfacesstate enabledswitch#This example shows how to display the startup configuration of a port profile named ppPO that is configured for port channel interfaces on the switch:
switch# show startup-config port-profile ppPO!Command: show startup-config port-profile ppPO!Time: Wed Jan 30 07:34:31 2013!Startup config saved at: Wed Jan 30 07:29:19 2013version 6.0(2)N1(1)port-profile type port-channel ppPOdelay 5000000load-interval counter 1 30switchport mode trunkdescription Sample port profile for Port Channel interfacestate enabledswitch#This example shows how to display the startup configuration of a port profile named ppEth that is configured for Ethernet interfaces on the switch:
switch# show startup-config port-profile ppEth!Command: show startup-config port-profile ppEth!Time: Wed Jan 30 07:35:44 2013!Startup config saved at: Wed Jan 30 07:29:19 2013version 6.0(2)N1(1)port-profile type ethernet ppEthinherit port-profile ethswitchport mode trunkswitchport trunk allowed vlan 300-400speed 10000bandwidth 1000000description Sample port profile for Ethernet interfacesstate enabledswitch#Related Commands
show startup-config switch-profile
To display the startup configuration of a switch profile, use the show startup-config switch-profile command.
show startup-config switch-profile
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the startup configuration of a switch profile named s6000 that is configured on switch 1 of the peer:
switch# show running-config switch-profileswitch-profile s6000sync-peers destination 192.0.2.3interface Ethernet101/1/35switchport mode trunkswitchport trunk native vlan 300switchport trunk allowed vlan 300-800switch#Related Commands
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 Description
Command Default
None
Command Modes
Any command mode
Command History
Examples
This example shows how to display the vPC information in the startup configuration:
switch(config)# show startup-config vpcversion 6.0(2)feature vpcvpc domain 1interface port-channel10vpc peer-linkinterface port-channel20vpc 100switch(config)#Related Commands
Command Descriptionshow vpc brief
Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.
show switch-profile
To display the switch profile configured on the switch, use the show switch-profile command.
show switch-profile
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the switch profile that is configured on switch 1 of the peer:
switch# show switch-profile----------------------------------------------------------Profile-name Config-revision----------------------------------------------------------s6000 1switch#Table 4 describes the fields shown in the display:
Related Commands
Command Descriptioncommit
Commits a switch profile configuration.
switch-profile
Configures a switch profile.
show switch-profile status
Displays the status of the switch profile.
show switch-profile buffer
To display the switch profile buffer, use the show switch-profile buffer command.
show switch-profile sw-profile-name buffer
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
Examples
This example shows how to display the buffer for the switch profile named s6000:
switch# show switch-profile s6000 buffer----------------------------------------------------------Seq-no Command----------------------------------------------------------1 interface ethernet 1/11.1 switchport mode trunk1.2 speed 10002 interface port-channel 1022.1 vpc 12.2 switchport mode trunkswitch#Table 5 describes the fields shown in the display:
Related Commands
show switch-profile peer
To display information about the destination peer switch in a switch profile configuration, use the show switch-profile peer command.
show switch-profile sw-profile-name peer ip-address
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the information about a destination peer switch with IPv4 address 192.0.2.3 added to the switch profile named s6000 on switch 1 of the peer:
switch# show switch-profile s6000 peer 192.0.2.3Peer-sync-status : Not yet merged. pending-merge:1 received_merge:0Peer-status : Peer not reachablePeer-error(s) :switch#This example shows how to display the successful commit information about a destination peer switch with IPv4 address 192.0.2.3 for the switch profile named s6000 on switch 1 of the peer:
switch1# show switch-profile sp peer 192.0.2.3Peer-sync-status : In Sync.Peer-status : Commit SuccessPeer-error(s) :switch1#Table 6 describes the fields shown in the display.
Related Commands
show switch-profile session-history
To display the session history of the switch profile configuration, use the show switch-profile session-history command.
show switch-profile sw-profile-name session-history
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the session history of the switch profile named s6000 on switch 1 of the peer:
switch# show switch-profile s6000 session-historyStart-time: 959269 usecs after Wed Jan 30 00:37:27 2013End-time: 961304 usecs after Wed Jan 30 00:37:27 2013Profile-Revision: 1Session-type: Initial-ExchangePeer-triggered: NoProfile-status: -Local information:----------------Status: -Error(s):Peer information:----------------IP-address: 192.0.2.3Pending-merge: 1Received-merge: 0Sync-status: Not yet merged. pending-merge:1 received-merge:0Status: Peer not reachableError(s):Start-time: 794606 usecs after Wed Jan 30 00:37:27 2013End-time: 796861 usecs after Wed Jan 30 00:37:27 2013Profile-Revision: 1Session-type: Peer-deletePeer-triggered: NoProfile-status: Sync SuccessLocal information:----------------Status: Verify SuccessError(s):switch#Table 7 describes the fields shown in the display:
Related Commands
show switch-profile status
To display the switch profile configuration status, use the show switch-profile command.
show switch-profile sw-profile-name status
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the status of the switch profile named s6000 on switch 1 of the peer:
switch# show switch-profile s6000 statusStart-time: 794606 usecs after Wed Jan 30 00:37:27 2013End-time: 796861 usecs after Wed Jan 30 00:37:27 2013Profile-Revision: 3Session-type: CommitPeer-triggered: YesProfile-status: Sync SuccessLocal information:----------------Status: Commit SuccessError(s):Peer information:----------------IP-address: 192.0.2.3Sync-status: In Sync.Status: Commit SuccessError(s):switch#Table 8 describes the fields shown in the display:
Related Commands
Command Descriptionshow switch-profile
Displays the switch profile and configuration revisions.
switch-profile
Configures a switch profile.
show tech-support vpc
To display troubleshooting information about the virtual port channel (vPC), use the show tech-support vpc command.
show tech-support vpc
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the vPC troubleshooting information:
switch# show tech-support vpc`show version`Cisco Nexus Operating System (NX-OS) SoftwareTAC support: http://www.cisco.com/tacCopyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.The copyrights to certain works contained herein are owned byother third parties and are used and distributed under license.Some parts of this software are covered under the GNU PublicLicense. A copy of the license is available athttp://www.gnu.org/licenses/gpl.html.SoftwareBIOS: version 1.3.0loader: version N/Akickstart: version 4.2(1)N1(1) [build 4.2(1)N1(0.329)]system: version 4.2(1)N1(1) [build 4.2(1)N1(0.329)]power-seq: version v1.2BIOS compile time: 09/08/09kickstart image file is: bootflash:/n5000-uk9-kickstart.4.2.1.N1.latest.binkickstart compile time: 4/18/2010 8:00:00 [04/18/2010 15:03:44]system image file is: bootflash:/n5000-uk9.4.2.1.N1.latest.binsystem compile time: 4/18/2010 8:00:00 [04/18/2010 16:08:18]Hardwarecisco Nexus5020 Chassis ("40x10GE/Supervisor")Intel(R) Celeron(R) M CPU with 2074284 kB of memory.Processor Board ID JAF1413ADCSDevice name: d14-switch-2bootflash: 1003520 kBKernel uptime is 0 day(s), 2 hour(s), 25 minute(s), 26 second(s)Last reset at 414529 usecs after Mon Apr 19 05:59:19 2010Reason: Disruptive upgradeSystem version: 4.2(1u)N1(1u)Service:pluginCore Plugin, Ethernet Plugin, Fc Plugin`show module`Mod Ports Module-Type Model Status--- ----- -------------------------------- ---------------------- ------------1 40 40x10GE/Supervisor N5K-C5020P-BF-SUP active *2 8 8x1/2/4G FC Module N5K-M1008 ok3 6 6x10GE Ethernet Module N5K-M1600 okMod Sw Hw World-Wide-Name(s) (WWN)--- -------------- ------ --------------------------------------------------1 4.2(1)N1(1) 1.3 --2 4.2(1)N1(1) 0.200 20:41:00:05:9b:78:6e:40 to 20:48:00:05:9b:78:6e:403 4.2(1)N1(1) 0.100 --Mod MAC-Address(es) Serial-Num--- -------------------------------------- ----------1 0005.9b78.6e48 to 0005.9b78.6e6f JAF1413ADCS2 0005.9b78.6e70 to 0005.9b78.6e77 JAB1228016M3 0005.9b78.6e78 to 0005.9b78.6e7f JAB12310214`show vpc brief`Legend:(*) - local vPC is down, forwarding via vPC peer-linkvPC domain id : 1000Peer status : peer adjacency formed okvPC keep-alive status : peer is aliveConfiguration consistency status: successvPC role : secondaryNumber of vPCs configured : 150Peer Gateway : DisabledDual-active excluded VLANs : -vPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po1 up 1-330,335,338-447,1000-1023,2000-2018vPC status----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans------ ----------- ------ ----------- -------------------------- -----------41 Po41 down* failed Consistency Check Not -Performed48 Po48 down* failed Consistency Check Not -Performed2000 Po24 down success success -4000 Po12 down success success -4001 Po5 down success success -4096 Po3 down success success -101376 Eth100/1/1 down* failed Consistency Check Not -Performed101377 Eth100/1/2 down* failed Consistency Check Not -Performed101378 Eth100/1/3 down* failed Consistency Check Not -Performed101379 Eth100/1/4 down* failed Consistency Check Not -Performed101380 Eth100/1/5 down* failed Consistency Check Not ---More--switch#Related Commands
Command Descriptionshow vpc brief
Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.
show version
To display information about the software and hardware version, use the show version command.
show version
Syntax Description
This command has no arguments or keywords.
Command Default
All version information
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the version information of a switch:
switch# show versionCisco Nexus Operating System (NX-OS) SoftwareTAC support: http://www.cisco.com/tacCopyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.The copyrights to certain works contained herein are owned byother third parties and are used and distributed under license.Some parts of this software are covered under the GNU PublicLicense. A copy of the license is available athttp://www.gnu.org/licenses/gpl.html.SoftwareBIOS: version 1.3.0 [last: ]loader: version N/Akickstart: version 4.2(1u)N1(1u) [build 4.2(1)N1(0.328)]system: version 4.2(1u)N1(1u) [build 4.2(1)N1(0.328)]power-seq: version v1.2BIOS compile time: 09/08/09 [last: ]kickstart image file is: bootflash:///n5000-uk9-kickstart.4.2.1.N1.latest.bin.upgkickstart compile time: 12/25/2020 12:00:00 [04/17/2010 15:06:29]system image file is: bootflash:/n5000-uk9.4.2.1.N1.latest.bin.upgsystem compile time: 12/25/2020 12:00:00 [04/17/2010 16:11:29]Hardwarecisco Nexus5020 Chassis ("40x10GE/Supervisor")Intel(R) Celeron(R) M CPU with 2074284 kB of memory.Processor Board ID JAF1413ADCSDevice name: d14-switch-2bootflash: 1003520 kBKernel uptime is 0 day(s), 1 hour(s), 2 minute(s), 41 second(s)Last reset at 167864 usecs after Mon Apr 19 04:22:45 2010Reason: Reset due to upgradeSystem version: 4.2(1)N1(1)Service:pluginCore Plugin, Ethernet Plugin, Fc Pluginswitch#This example shows how to display the version information for the kickstart and system image running on a device:
switch# show versionCisco Nexus Operating System (NX-OS) SoftwareTAC support: http://www.cisco.com/tacCopyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved.The copyrights to certain works contained herein are owned byother third parties and are used and distributed under license.Some parts of this software are covered under the GNU PublicLicense. A copy of the license is available athttp://www.gnu.org/licenses/gpl.html.SoftwareBIOS: version 1.3.0loader: version N/Akickstart: version 6.0(2)N1(1) [build 6.0(2)N1(1)]system: version 6.0(2)N1(1) [build 6.0(2)N1(1)]power-seq: version v1.2BIOS compile time: 09/08/09kickstart image file is: bootflash:/sanity-kickstartkickstart compile time: 12/6/2010 7:00:00 [12/06/2010 07:35:14]system image file is: bootflash:/sanity-systemsystem compile time: 12/6/2010 7:00:00 [12/06/2010 08:56:45]Hardwarecisco Nexus6000 Chassis ("20x10GE/Supervisor")Intel(R) Celeron(R) M CPU with 2073416 kB of memory.Processor Board ID JAF1228BTASDevice name: BEND-2bootflash: 1003520 kBKernel uptime is 0 day(s), 3 hour(s), 30 minute(s), 45 second(s)Last resetReason: UnknownSystem version:Service:pluginCore Plugin, Ethernet Plugin, Fc Pluginswitch#Related Commands
Command Descriptionshow vpc brief
Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.
show vpc
To display detailed information about the virtual port channels (vPCs) configured on the switch, use the show vpc command.
show vpc [vpc-number]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the vPC information:
switch# show vpcLegend:(*) - local vPC is down, forwarding via vPC peer-linkvPC domain id : 10Peer status : peer adjacency formed okvPC keep-alive status : peer is aliveConfiguration consistency status: successType-2 consistency reason : Consistency Check Not PerformedvPC role : secondaryNumber of vPCs configured : 1Peer Gateway : DisabledDual-active excluded VLANs : -vPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po4000 up 1,3001-3500vPC status----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans------ ----------- ------ ----------- -------------------------- -----------10 Po10 up success success 3001-3200switch#This example shows how to display information about a specific vPC:
switch# show vpc 10vPC status----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans------ ----------- ------ ----------- -------------------------- -----------10 Po10 up success success 3001-3200switch#Related Commands
Command Descriptionshow vpc brief
Displays vPC information in a brief summary.
vpc
Configures vPC features on the switch.
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 information for the specified vPC. The range is from 1 to 4096.
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The show vpc brief command displays the vPC domain ID, the peer-link status, the keepalive message status, whether the configuration consistency is successful, and whether a peer link formed or failed to form.
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information about enabling vPCs.
You can display the track object if you have configured a tracked object for running vPCs on a single module in the vpc-domain configuration mode.
Examples
This example shows how to display brief information about the vPCs on a switch:
switch(config)# show vpc brief
Legend:(*) - local vpc is down, forwarding via vPC peer-linkvPC domain id : 10Peer status : peer adjacency formed okvPC keep-alive status : peer is aliveConfiguration consistency status: successvPC role : primaryNumber of vPC configured : 1vPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po10 up 1-100vPC status----------------------------------------------------------------------id Port Status Consistency Reason Active vlans-- ---- ------ ----------- -------------------------- ------------20 Po20 up success success 1-100switch(config)#
This example shows how to display brief information about the vPCs. In this example, the port channel failed the consistency check, and the device displays the reason for the failure:
switch(config)# show vpc brief
Legend:(*) - local vpc is down, forwarding via vPC peer-linkvPC domain id : 10Peer status : peer adjacency formed okvPC keep-alive status : peer is aliveConfiguration consistency status: failedConfiguration consistency reason: vPC type-1 configuration incompatible - STP interface port type inconsistentvPC role : secondaryNumber of vPC configured : 1vPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po10 up 1-100vPC status----------------------------------------------------------------------id Port Status Consistency Reason Active vlans-- ---- ------ ----------- -------------------------- ------------20 Po20 up failed vPC type-1 configuration -incompatible - STPinterface port typeinconsistentswitch(config)#
This example shows how to display information about the tracked objects in the vPCs:
switch(config)# show vpc brief
Legend:(*) - local vpc is down, forwarding via vPC peer-linkvPC domain id : 1Peer status : peer adjacency formed okvPC keep-alive status : peer is aliveConfiguration consistency status: successvPC role : secondaryNumber of vPC configured : 3Track object : 12vPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po10 up 1-100switch(config)#
This example shows how to display the vPC configuration, including the Graceful Type-1 Consistency configuration:
switch# show vpc brief
Legend:(*) - local vPC is down, forwarding via vPC peer-linkvPC domain id : 100Peer status : peer link is downvPC keep-alive status : peer is alive, but domain IDs do not matchConfiguration consistency status: successPer-vlan consistency status : successType-2 consistency status : successvPC role : primaryNumber of vPCs configured : 1Peer Gateway : DisabledDual-active excluded VLANs : -Graceful Consistency Check : EnabledvPC Peer-link status---------------------------------------------------------------------id Port Status Active vlans-- ---- ------ --------------------------------------------------1 Po100 down -vPC status----------------------------------------------------------------------------id Port Status Consistency Reason Active vlans------ ----------- ------ ----------- -------------------------- -----------1 Po1 down success success -switch#
Related Commands
Command Descriptionfeature vpc
Enables vPCs on the device.
show port channel summary
Displays information about port channels.
vpc
Configures vPC domains and peers.
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.
show vpc consistency-parameters {global | interface port-channel channel-number | vlans | vpc number}
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The show vpc consistency-parameters command displays the configuration of all the vPC Type 1 parameters on both sides of the vPC peer link.
Note
All the Type 1 configurations must be identical on both sides of the vPC peer link, or the link will not come up.
The vPC Type 1 configuration parameters are as follows:
•
Port-channel mode: on, off, or active
•
Link speed per channel
•
Duplex mode per channel
•
Trunk mode per channel
–
Native VLAN
–
VLANs allowed on trunk
–
Tagging of native VLAN traffic
•
Spanning Tree Protocol (STP) mode
•
STP region configuration for Multiple Spanning Tree
•
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 settings
•
STP interface settings:
–
Port type setting
–
Loop Guard
–
Root Guard
•
Maximum transmission unit (MTU)
•
Allowed VLAN bit set
This command is not available if you have not enabled the vPC feature. See feature vpc for information on enabling vPCs.
Examples
This example shows how to display the vPC global consistency parameters:
switch(config)# show vpc consistency-parameters globalLegend:Type 1 : vPC will be suspended in case of mismatchName Type Local Value Peer Value------------- ---- ---------------------- -----------------------QoS 1 ([], [3], [0], [1-2], ([], [3], [0], [1-2],[4-5], [6]) [4-5], [6])Network QoS (MTU) 1 (1538, 2240, 5038, (1538, 2240, 5038,4038, 9216, 9216) 4038, 9216, 9216)Network Qos (Pause) 1 (F, T, F, F, F, F) (F, T, F, F, F, F)Input Queuing (Bandwidth) 1 (5, 10, 20, 0, 20, 40) (5, 10, 20, 0, 20, 40)Input Queuing (Absolute 1 (F, F, F, T, F, F) (F, F, F, T, F, F)Priority)Output Queuing (Bandwidth) 1 (5, 10, 20, 0, 20, 40) (5, 10, 20, 0, 20, 40)Output Queuing (Absolute 1 (F, F, F, T, F, F) (F, F, F, T, F, F)Priority)STP Mode 1 Rapid-PVST Rapid-PVSTSTP Disabled 1 None NoneSTP MST Region Name 1 "" ""STP MST Region Revision 1 0 0STP MST Region Instance to 1VLAN MappingSTP Loopguard 1 Disabled DisabledSTP Bridge Assurance 1 Enabled EnabledSTP Port Type, Edge 1 Normal, Disabled, Normal, Disabled,BPDUFilter, Edge BPDUGuard Disabled DisabledSTP MST Simulate PVST 1 Enabled EnabledAllowed VLANs - 1-330,335,338-450,1000 1-330,333-447,1000-102-1023,2000-2023 8,2000-2018Local suspended VLANs - 331-334,336-337,448-45 -0,2019-2023switch(config)#This example shows how to display the vPC global consistency parameters:
switch# show vpc consistency-parameters globalLegend:Type 1 : vPC will be suspended in case of mismatchName Type Local Value Peer Value------------- ---- ---------------------- -----------------------QoS 2 ([], [3], [], [], [], ([], [3], [], [], [],[]) [])Network QoS (MTU) 2 (1538, 2240, 0, 0, 0, (1538, 2240, 0, 0, 0,0) 0)Network Qos (Pause) 2 (F, T, F, F, F, F) (1538, 2240, 0, 0, 0,0)Input Queuing (Bandwidth) 2 (50, 50, 0, 0, 0, 0) (50, 50, 0, 0, 0, 0)Input Queuing (Absolute 2 (F, F, F, F, F, F) (50, 50, 0, 0, 0, 0)Priority)Output Queuing (Bandwidth) 2 (50, 50, 0, 0, 0, 0) (50, 50, 0, 0, 0, 0)Output Queuing (Absolute 2 (F, F, F, F, F, F) (50, 50, 0, 0, 0, 0)Priority)STP Mode 1 Rapid-PVST Rapid-PVSTSTP Disabled 1 None NoneSTP MST Region Name 1 "" ""STP MST Region Revision 1 0 0STP MST Region Instance to 1VLAN MappingSTP Loopguard 1 Disabled DisabledSTP Bridge Assurance 1 Enabled EnabledSTP Port Type, Edge 1 Normal, Disabled, Normal, Disabled,BPDUFilter, Edge BPDUGuard Disabled DisabledSTP MST Simulate PVST 1 Enabled EnabledVTP domain 2 cisco ciscoVTP version 2 2 2VTP mode 2 Server ServerVTP password 2VTP pruning status 2 Disabled DisabledVTP trunk status 2 Enabled EnabledPruning eligible vlans 2 2-1001 2-1001Allowed VLANs - 1-10 1-2Local suspended VLANs - 3-10 -switch#This example shows how to display the vPC consistency parameters for the specified port channel:
switch(config)# show vpc consistency-parameters interface port-channel 20Legend:Type 1 : vPC will be suspended in case of mismatchName Type Local Value Peer Value------------- ---- ------------------------ --------------------------STP Port Type 1 Default DefaultSTP Port 1 None NoneGuardmode 1 on onSpeed 1 10 Gb/s 10 Gb/sDuplex 1 full fullPort Mode 1 trunk trunkNative Vlan 1 1 1MTU 1 1500 1500Allowed VLAN - 1-100 1-100bitsetswitch(config)#This example shows how to display the vPC consistency parameters for the specified port channel:
switch# show vpc consistency-parameters interface port-channel 1Legend:Type 1 : vPC will be suspended in case of mismatchName Type Local Value Peer Value------------- ---- ---------------------- -----------------------Shut Lan 1 No NoSTP Port Type 1 Default DefaultSTP Port Guard 1 None NoneSTP MST Simulate PVST 1 Default Defaultmode 1 on onSpeed 1 10 Gb/s 10 Gb/sDuplex 1 full fullPort Mode 1 trunk trunkNative Vlan 1 1 1MTU 1 1500 1500VTP trunk status 2 Enabled EnabledPruning eligible vlans 2 2-1001 2-1001Allowed VLANs - 1-3967,4048-4093 1-3967,4048-4093Local suspended VLANs - 3-10 -switch#This example shows how to display the vPC consistency parameters for the specified vPC:
switch# show vpc consistency-parameters vpc 1Legend:Type 1 : vPC will be suspended in case of mismatchName Type Local Value Peer Value------------- ---- ---------------------- -----------------------Shut Lan 1 No NoSTP Port Type 1 Default DefaultSTP Port Guard 1 None NoneSTP MST Simulate PVST 1 Default Defaultlag-id 1 [(7f9b, [(7f9b,0-23-4-ee-be-64, 8001, 0-23-4-ee-be-64, 8001,0, 0), (8000, 0, 0), (8000,0-5-9b-23-40-3c, 0, 0, 0-5-9b-23-40-3c, 0, 0,0)] 0)]mode 1 active activeSpeed 1 1000 Mb/s 10 Gb/sDuplex 1 full fullPort Mode 1 access accessMTU 1 1500 1500Allowed VLANs - 1 1Local suspended VLANs - - -switch#This example shows how to display the vPC consistency parameters for VLANs:
switch# show vpc consistency-parameters vlansName Type Reason Code Pass Vlans------------- ---- ---------------------- -----------------------STP Mode 1 success 0-4095STP Disabled 1 success 0-4095STP MST Region Name 1 success 0-4095STP MST Region Revision 1 success 0-4095STP MST Region Instance to 1 success 0-4095VLAN MappingSTP Loopguard 1 success 0-4095STP Bridge Assurance 1 success 0-4095STP Port Type, Edge 1 success 0-4095BPDUFilter, Edge BPDUGuardSTP MST Simulate PVST 1 success 0-4095Pass Vlans - 0-4095switch#Related Commands
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 command has no arguments or keywords.
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The show vpc orphan-ports command displays those ports that are not part of the vPC but that share common VLANs with ports that are part of the vPC.
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information about enabling vPCs.
Examples
This example shows how to display vPC orphan ports:
switch(config)# show vpc orphan-ports
Note:--------::Going through port database. Please be patient.::--------VLAN Orphan Ports------- -------------------------1 Po6002 Po6003 Po6004 Po6005 Po6006 Po6007 Po6008 Po6009 Po60010 Po60011 Po60012 Po60013 Po60014 Po600--More--switch(config)#
Related Commands
Command Descriptionfeature vpc
Enables vPCs on the device.
vpc orphan-port suspend
Suspends a non-vPC port.
show vpc brief
Displays brief information about vPCs.
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-keepalive
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The show vpc peer-keepalive command displays the destination IP of the peer keepalive message for the vPC. The command also displays the send and receive status as well as the last update from the peer in seconds and milliseconds.
Note
We recommend that you create a separate VRF on the peer devices to send and receive the vPC peer keepalive messages. Do not use the peer link itself to send the vPC peer-keepalive messages.
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information about enabling vPCs.
Examples
This example shows how to display information about the peer-keepalive message:
switch(config)# show vpc peer-keepalivevPC keep-alive status : peer is alive--Send status : Success--Last send at : 2008.05.17 18:23:53 986 ms--Sent on interface : Eth7/16--Receive status : Success--Last receive at : 2008.05.17 18:23:54 99 ms--Received on interface : Eth7/16--Last update from peer : (0) seconds, (486) msecvPC Keep-alive parameters--Destination : 192.168.145.213--Keepalive interval : 1000 msec--Keepalive timeout : 5 seconds--Keepalive hold timeout : 3 seconds--Keepalive vrf : pkal--Keepalive udp port : 3200--Keepalive tos : 192switch(config)#
Related Commands
Command Descriptionshow vpc brief
Displays information about vPCs. If the feature is not enabled, the system displays an error when you enter this command.
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.
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The show vpc role command displays the following information about the vPC status:
•
Status of peer adjacency
•
vPC role
•
vPC MAC address
•
vPC system priority
•
MAC address of the device that you are working on
•
System priority for the device that you are working on
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information on enabling vPCs.
Examples
This example shows how to display the vPC role information of the device that you are working on:
switch(config)# show vpc rolePrimary:vPC Role status----------------------------------------------------vPC role : primaryDual Active Detection Status : 0vPC system-mac : 00:23:04:ee:be:01vPC system-priority : 32667vPC local system-mac : 00:22:55:79:ea:c1vPC local role-priority : 32667Secondary:vPC Role status----------------------------------------------------vPC role : secondaryDual Active Detection Status : 0vPC system-mac : 00:23:04:ee:be:01vPC system-priority : 32667vPC local system-mac : 00:22:55:79:de:41vPC local role-priority : 32667switch(config)#
When you reload the primary vPC peer device, the secondary vPC peer device assumes the role of the primary device. This example shows how the vPC role displays then on the new primary device:
switch(config)# show vpc rolevPC Role status----------------------------------------------------vPC role : secondary, operational primaryDual Active Detection Status : 0vPC system-mac : 00:23:04:ee:be:64vPC system-priority : 32667vPC local system-mac : 00:22:55:79:de:41vPC local role-priority : 32667switch(config)#
Related Commands
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
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
The peer-link parameter displays the same information as the show interface port-channel channel number command for the vPC peer-link port channel.
The vpc number parameter displays the same information as the show interface port-channel channel number command for the specified vPC port channel.
This command is not available if you have not enabled the vPC feature. See the feature vpc command for information on enabling vPCs.
Examples
This example shows how to display statistics about the peer-keepalive message:
switch# show vpc statistics peer-keepalivevPC keep-alive status : peer is aliveVPC keep-alive statistics----------------------------------------------------peer-keepalive tx count: 1036peer-keepalive rx count: 1028average interval for peer rx: 995Count of peer state changes: 1switch(config)#
Related Commands