Cisco mds9222i Fibre Switch most commonly used debug commands

Source: Internet
Author: User
Tags snmp

Cisco mds9222i Fibre Switch most commonly used debug commands

1. Check the switch port

Show interface [Interface-range]

View specified port run status, WWN information, configuration parameters, and packet statistics.

Demonstration:

mds9222i-1# Show Interface FC1/1
FC1/1 is trunking-port FC1/1 operating normally, is a TE port
Hardware is Fibre Channel, SFP was short wave laser w/o OFC (SN)-Port, SFP hardware information
Port WWN is 20:01:00:05:73:ad:2a:00-switch port WWN
Peer Port WWN is 20:01:00:05:73:ad:26:00-to-end WWN
Admin Port mode is auto, trunk mode was on-port mode configuration is adaptive, open trunk
SNMP link state traps is enabled-enable SNMP links status change alarms
Port mode is TE-ports operating mode is TE
Port Vsan is 4-ports Vsan number
Speed is 4 Gbps-Port run rate
Rate mode is dedicated-bandwidth pattern is dedicated
Transmit business Credit is 250-send buffer is 250
Receive business credit is 250-accept buffer is 250
Business-to-business state changes number is 14-b2b The associated SCR is 14
Receive data field size is 2112-maximum data frame size 2112
Beacon is turned Off-beacon function off
belongs to Port-channel 1-Port belongs to Port-channel 1
Trunk Vsans (admin allowed and Active) (4)-trunk Vsan is 4
Trunk Vsans (UP) (4)
Trunk Vsans (Isolated) ()
Trunk Vsans (initializing) ()
5 minutes Input Rate 0 bits/sec, 0 bytes/sec, 0 frames/sec-5 minutes pack statistics
5 minutes Output Rate 0 bits/sec, 0 bytes/sec, 0 frames/sec-5 minutes contract statistics
7468 frames Input, 517940 bytes-Overall packet collection statistics, no error.
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
9141 frames Output, 380372 bytes-Overall package statistics, there is a packet loss phenomenon.
3210 discards, 0 errors
Input OLS, LRR, NOS, inits-primitive frame statistics
340 output OLS, 271 LRR, 156 NOS, Loop inits
Receive business credit REMAINING-B2B buffer information
Transmit Business Credit remaining
235 Low priority transmit business-to-business credit remaining
Interface changed at Fri Sep 7 10:59:02 2012-Port status last change time.

2. Check all port operating status of the switch
Show interface Brief
Interface-Port Name
Vsan-Port Vsan number
Admin mode-Port configuration modes
Admin Trunk mode-port is configured trunk
Status-Port State
SFP MODE-SFP Module Information
Oper Speed-Operating rate
Port channel-port Channel Number

Demonstration

mds9222i-1# Show Interface Brief

-------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port
Mode Trunk mode speed Channel
Mode (Gbps)
------------------------------------------ -------------------------------------
FC1/1 4 Auto on trunking SWL TE 4 1
fc1/2 1 FX on notconnected SWL----
FC 1/3 1 FX on Up SWL F 4--
FC1/4 4094 FX on down SWL----
FC1/5 1 FX on notconnected swl----
FC1/6 1 FX on Init SWL----
FC1/7 4 Auto on trunking SWL TE 4 1
FC1/8 1 fx in notconnected SWL----
FC1/9 1 FX on notconnected SW L----
FC1/10 4094 FX on inactive SWL----
FC1/11 1 FX in notconnected swl----
FC1/12 1 FX on Sfpabsent---- --
FC1/13 1 FX on notconnected SWL----
FC1/14 1 FX in notconnected swl----
FC1/15 1 FX on notconnected SWL- ---
FC1/16 1 FX on notconnected SWL----
Fc1/17 1 FX in notconnected swl----
FC1/18 1 fx on notconnected SWL -- --

-------------------------------------------------------------------------------
Interface Status Speed
(Gbps)
-------------------------------------------------------------------------------
SUP-FC0 up 1

-------------------------------------------------------------------------------
Interface Status IP Address speed MTU

-------------------------------------------------------------------------------
Vsan1 up--1 Gbps 1500
Vsan2 up--1 Gbps 1500
Vsan3 up--1 Gbps 1500

3.fcping

Fcping similar to the Ethernet ping command, you can use the fcping fcid to detect the link communication status of the switch to the specified port, and can get the link delay information.

Demonstration:

mds9222i-1# fcping fcid 0x7500ef Vsan 1 count 4-fcping executed 4 times, object is 0x7500ef,vsan 1
Bytes from 0x7500ef time = 1283 usec
Bytes from 0x7500ef time = 1256 usec
Bytes from 0x7500ef time = 1256 usec
Bytes from 0x7500ef time = 1243 USEC

4 frames sent, 4 frames received, 0 timeouts

Round-trip Min/avg/max = 1243/1259/1283 USEC-minimum delay of 1243u seconds, average delay of 1259u seconds, maximum delay 1283u seconds.

4. Check the switch status

Show environment [clock|power|fan|temperature] Command view switch clock, power supply, fan, temperature sensor the operating status of these modules. Show environment can be followed by a parameter to view the state of the specified module.

Demonstration:

mds9222i-1# Show Environment
Clock:-Always module. Each switch has two, one active, one standby. Both states are normal.
----------------------------------------------------------
Clock Model Hw Status
----------------------------------------------------------
A 0.0 ok/active
B 0.0 Ok/standby

Fan:-Fans module is normal. One three fan, one switch comes in, the other two have power supply modules, and one power supply module comes with a fan.
------------------------------------------------------
Fan Model Hw Status
------------------------------------------------------
ChassisFan1 Ds-2slot-fan 4.0 Ok
FAN_IN_PS1----Ok
FAN_IN_PS2----Ok
Fan Air filter:notsupported

Temperature:-Inlet and outlet temperature.
--------------------------------------------------------------------
Module Sensor Majorthresh minorthres curtemp Status
(Celsius) (Celsius) (Celsius)
--------------------------------------------------------------------
1 Outlet1-Ok
1 Outlet2
1 Intake1

Power supply:-Mains OK. Voltage 42V, a total of two power modules, each to provide 800w power, each of which is now used off 19.05w.
Voltage:42 Volts
-----------------------------------------------------
PS Model Power Power Status
(Watts) (AMP)
-----------------------------------------------------
1 ds-cac-845w 800.10 19.05 Ok
2 ds-cac-845w 800.10 19.05 Ok

5. View the overall switch information, including the microcode version and configuration information, the hardware parameters and serial number of each module, and the running status.

Demonstration:

mds9222i-1# Show Hardware |less
Cisco Nexus Operating System (nx-os) software
TAC support:http://www.cisco.com /tac
Documents:http://www.cisco.com/en/us/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
the copyrights to certain works contained herein is owned by
Other third parties and is used and distributed unde R license.
Some parts of this software is covered under the GNU public
License. A copy of the license is available at
Http://www.gnu.org/licenses/gpl.html.

Software-microcode Information
Bios:version 1.0.19-bios Version
Loader:version N/A
Kickstart:version 5.0 (4b)-kickstart version
System:version 5.0 (4b)-microcode version, same as normal and kickstart version
BIOS Compile TIME:02/01/10
Kickstart image file Is:bootflash:/m9200-s2ek9-kickstart-mz.5.0.4b.bin-kickstart path
Kickstart compile time:11/16/2010 23:00:00 [01/13/2011 15:06:13]
System image File Is:bootflash:/m9200-s2ek9-mz.5.0.4b.bin-microcode files path. These two image files must be used to start the machine.
System Compile time:11/16/2010 23:00:00 [01/13/2011 16:19:01]

Hardware-Switch model
Cisco MDS 9222i ("4x1ge IPS, 18x1/2/4gbps fc/sup2")
Motorola, e500v2 with 1036300 KB of memory.
Processor Board ID Jaf1446aqaj

Device name:mds9222i-1-Switch name
bootflash:1023120 KB
Kernel uptime is (s), hour (s), minute (s), second (s)-Switch start-up time

Last Reset
Reason:unknown
System version:
Service:
--------------------------------
Switch Hardware ID Information
--------------------------------
Switch is booted up
Switch type Is:mds 9222i
Model number is Ds-c9222i-k9
H/W version is 1.1
Part number is 73-11019-01-Switch part number
Part Revision is B0
Manufacture Date is year Week 38
Serial number is fox1438gh5a-switch serial numbers
Clei Code is Com9310ara
--------------------------------
Chassis has 2 Module slots
--------------------------------

Module1 OK
Module type Is:4x1ge IPS, 18x1/2/4gbps fc/sup2
0 Submodules is present
Model number is Ds-x9222i-k9
H/W version is 1.5
Part number is 73-11018-09
Part Revision is A0
Manufacture Date is year Week 46
Serial number is Jaf1446aqaj
Clei Code is COUIAMCCAE

Module2 Empty

---------------------------------------
Chassis has 2 powersupply Slots-Power module information
-------------------------- -------------
PS1 OK
Power supply type is:800.10w 110v AC
Model number is ds-cac-845w
h/w version is 1.2 Part number was 341-0052-03
Part Revision is B0
manufacture Date was year Week-
Serial number is QCS1447 10PL
Clei code is CNUPAA8AAA

PS2 OK
Power Supply Type is:800.10w 110v AC
Model number is ds-cac-845w
H/W version is 1.2
Part number is 341-0052-03
Part Revision is B0
Manufacture Date is year Week 47
Serial number is QCS144710RJ
Clei Code is CNUPAA8AAA
----------------------------------
Chassis has 1 Fan slots
----------------------------------
Fan1 OK
Model number is Ds-2slot-fan
H/W version is 4.0
Part number is 800-24478-02
Part Revision is B0
Manufacture Date is year Week 31
Serial number is DCH143100S5
Clei Code is CNUQABBAAC

-----------------------------------------
Chassis has 1 Interface slots
-----------------------------------------
Interface module OK
Model number is DS-X9222-MGT
H/W version is 1.0
Part number is 73-11488-02
Part Revision is A0
Manufacture Date is year Week 44
Serial number is JAF1444BJMQ
Clei Code is 0

6. Check the switch log

Show logging [Logfile|nvram] View the switch log information, you can view the contents of the log file, or the log information inside the NVRAM.

7. Check Zone

Show Zoneset [Active|vsan]

View zoneset information, which can be either the currently active zone or the zone information for the Vsan.

8. Check Flogi

Show Flogi Database

View all device flogi information.

mds9222i-1# Show Flogi Database
--------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT name NODE name
--------------------------------------------------------------------------------
FC1/3 1 0x7500ef 50:06:01:64:3c:e0:32:e7 50:06:01:60:bc:e0:32:e7
SUP-FC0 1 0x750000 10:00:00:05:73:ad:2a:01 20:00:00:05:73:ad:2a:00
SUP-FC0 2 0x0a0000 10:00:00:05:73:ad:2a:01 20:00:00:05:73:ad:2a:00
SUP-FC0 3 0x8b0000 10:00:00:05:73:ad:2a:01 20:00:00:05:73:ad:2a:00
SUP-FC0 4 0xc00000 10:00:00:05:73:ad:2a:01 20:00:00:05:73:ad:2a:00

Each line contains interface, VSAN,FCID, Port WWN, node WWN information. FC represents the fiber port, SUP-FC0 represents the in-band management interface, one per Vsan.

9. Check the name server

Show Fcns database [Vsan number]

View plogi information for all devices.

mds9222i-1# Show Fcns Database Vsan 1

VSAN 1:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) fc4-type:feature
--------------------------------------------------------------------------
0x750000 N 10:00:00:05:73:ad:2a:01 (Cisco) IPFC
0x7500ef N 50:06:01:64:3c:e0:32:e7 (Clariion) scsi-fcp:target

VSAN 11 contains a total of 2 name server information. 0X750000 is Cisco for in-band management of switches; The 0X7500EF is a front-end port for CLARiiON storage.

10. Resetting the port

Shutdown-Disable port
No shutdown-Enable port

Cisco mds9222i Fibre Switch most commonly used debug commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.