You are on page 1of 4

Commands included in Show tech-support

Show tech-support is one of the common command that we use in Cisco switches to collect almost all information about the switch.It is very useful for
troubleshooting purpose.The output of this command can be provided to technical support representatives when reporting a problem.
To Collect Information from Cisco Switch Use the below mentioned commands
# term len 0
# show tech-support details
Show tech-support will provide a combined output of several other show commands output.
The default output of the show tech-support command includes the output of the following commands:

show version

show environment

show module

show hardware

show running-config

show interface

show accounting log

show processes

Useful cisco SAN Switch CLIs commands


I am sharing some useful Cisco CLI commands and also the procedure to do zoning using Cisco CLI commands
Below are the some of the useful Cisco CLI commands

Show Commands
Command
show clock
show environment
show fcalias
show interface
brief
show interface
counters
show interface
counters brief
show interface
transceiver
show runningconfig
show interface
mgmt0
show vsan xX
show module
show interface
fcx/x capabilities
show portresources module x
show interface
trunk vsan x-x
show vsan
membership
interface fcx/x x
show vsan x
membership
show version

Description
To display the system date and time and verify the
time zone configuration, use the show clock
command.
To display all environment-related switch
information (status of chassis clock,fan modules,
power supply modules etc
To display the member name information in a Fibre
Channel alias (fcalias),
shows the status of the ports on the switch
port errors and details of transmission
port transmission details in brief
shows details of the sfps used on the ports of the
switch
show the details of the switch, ports , firmware , etc
To display the details of the management console
To display details of a VSAN
To display details of the switching module
To details of the matrix support for that port
To check port resources like bb credits , rate mode ,
bandwidth for ports on a 24/48 bit module
To checkper vsan information on trunk ports
To check the vsan membership on port level for an
interface
To check the ports that are part of a vsan
To display the version of system software that is
currently running on the switch, use the show
version command.
To display information about configured VSAN
To check the vsans created and available vsan ids
to be created

show vsan
show vsan usage
show wwn
show zone
show zoneset
show zoneset
active vsan xx
show flogi
show hardware
show port-channel
show runningconfig
show startupconfig
show switchname
show tech-support
show user-account
show fc-tunnel

To display the status of the WWN configuration


To display zone information
To display the configured zone sets
To display the active zoneset for a particular vsan
To list all the FLOGI sessions through all interfaces
across all VSANs
To display switch hardware inventory details,
Use the show port-channel command to view
information about existing PortChannel
configurations.
To display the running configuration file
To display the startup configuration file
To display the switch network name, use the show
switchname command.
To display information useful to technical support
when reporting a problem
To display configured information about user
accounts
To display configured Fibre Channel tunnel
information

Configuration Commands
Command
config t
interface fcx/x
shutdown / no shutdown
copy running-config
startup-config

Description
This CLI sequence will disable/enable a port
on the switch and saves the configuration

config t
interface fcx/x
switchport description
emcsaninfo
copy running-config
startup-config

This command sequence put a decription for


a switch port(here putting description as
emcsaninfo) and saves the configuration

config t
interface fcx/x
switchport fcrxbbcredit
xx/default
copy running-config
startup-config
config t
interface mgmt0
ipaddress xx.xx.xx.xx
255.255.255.255
no shutdown
ip default-gateway
1.1.2.3
copy running-config
startup- config
config t
vsan database
no vsan XX

This will Assign a bbcredits to a switch port


and saves the configuration

This will Set ip address for the management


interface,set default gateway and save the
configuration

To delete a Vsan , cannot delete default vsan

This step will disable or enable a vsan XX

config t
interface vsan xx
shutdown / no shutdown
config t
interface fcx/x
switchport speed
1000/2000/4000/auto/aut
o max xxxx
config t
interface fc x/x
switchport rate-mode
dedicated/shared
config t
interface fc x/x
channel-group x/auto

This will used to set port speed

This will used for configuring rate mode of a


switch port

Steps to add a port to a port channel

Steps to manually set the port type on a


switch

config t
interface fc x/x
switchport mode e/f/fl/n

Steps to enable trunk protocol on a swith


(default)

config t
trunk protocol enable

Steps to enable/disable trunk on a port level

config t
interface fc x/x
switchport trunk mode
on/off/auto
config t
interface fc x/x
switchport trunk allowed
vsan x-x/x
switchport trunk allowed
vsan add x

Steps to configure an allowed list of vsans to


communicate through that port (TE PORT)
and allows to add a specific vsan to the
allowed list of vsans

Steps to forcefully reconfigure without


affecting traffic and force vsan to configure
with data traffic affected

config t
fcdomain restart vsan x
fcdomain restart
disruptive vsan x

Steps to create a new vsan (default)

config t
vsan database
vsan x

Steps to delete a vsan

config t
vsan database
no vsan x
config t
vsan database
vsan x
vsan x name abc
vsan x suspend

Steps to create a vsan ,then assign a name.


Steps to suspend a vsan and unsuspend it

no vsan x suspend
end
config t
vsan database
vsan x
vsan x interface fcx/x
config t
vsan database
vsan x
no vsan x interface fcx/x
config t
vsan database
vsan x
no vsan x interface fcx/x

Steps to create a vsan and add a port on


interface into a vsan

Steps to remove a port on an interface from a


vsan

Steps to remove a port on an interface from a


vsan

You might also like