You are on page 1of 2

Shortcuts switch(config)# clock timezone Licensing Commands

switch(config)# summer-time timezone 1


Command or Key Action starting weekday 5 ending weekday Licenses are available in all switches in the Cisco MDS
Configures the timezone and daylight savings time, 9000 Family. Licensing allows access to specified
? Displays available commands or where 1 = starting week and 5 = ending week. premium features on the switch following installation of
arguments for a command. switch(config)# ssh key range the license for that feature.
Tab character Completes a partially typed Generates an SSH key: dsa, rsa, or rsa1. Range is in bits. switch# show license host-id
command. switch(config)# ssh server enable Obtains the switch serial number, which is needed to get
Enables the SSH server. (Telnet is enabled by default.) the license key file.
Ctrl-z Returns to EXEC mode.
switch# install license
do Executes a command it precedes
bootflash:license_file.lic
as if from EXEC mode.
Quick Reference Installs the license.
exit Backs up to the previous prompt Interface Configuration Commands
switch# show license
level. switch(config)# interface fc slot/port Displays all licenses installed on the switch.
no Negates the command it Selects a specific interface by slot and port.
switch# copy licenses
precedes. switch(config-if)# no shutdown
Backs up license files to a .tar file.
Enables the interface.
| (pipe Filters output when used with switch(config)# interface mgmt0 switch# show license usage license-name
character) the include and exclude switch(config-if)# no shutdown Displays the active features for a particular license.
modifiers. switch(config-if)# ip address address
> Redirects output to a file. netmask
Defines the IP address and the network mask.
switch(config-if)# switchport description FCIP Commands
description
Defines an interface description. Enter a description of switch# fcip enable
80 characters or less. Enables FCIP.
Cisco MDS 9000 Family Prompts and Modes switch(config)# ip default-gateway switch(config)# interface gigabitethernet
Command Quick Reference In EXEC mode: destination-ip-address slot/port
switch(config)# ip route Enters the interface configuration mode on the Gigabit
switch# Ethernet interface.
destination-ip-address
In configuration mode: switch(config-if)# ip address address
This quick reference card lists a selection of destination-prefix-mask
switch(config)# netmask
commands that are commonly used to configure, In a configuration submode:
nexthop-destination-ip-address
manage, and troubleshoot a Cisco MDS 9000 Defines default gateway and static routes. Enters the IP address and network mask for the Gigabit
switch(config-xxx)# Ethernet interface.
Family switch. Boldface type represents user
input. Italic type represents user-defined input. switch(config)# fcip profile profile-id
Creates a profile for the FCIP connection on both
User Commands switches in the connection. Profile ID is 1-255.
Basic Configuration and Configuration
Note Commands are not presented in
step-by-step order.
Management switch(config)# username name
Defines a user name of 32 characters or less.
switch# setup switch(config)# username name password
For additional information about all Cisco Enters switch setup mode. password expire YYYY-MM-DD
switch# show running-config Corporate Headquarters
SAN-OS commands, refer to the Cisco MDS Creates or updates a user account and password that are Cisco Systems, Inc.
9000 Family Command Reference. For detailed Shows the running configuration. set to expire on a specific date. 170 West Tasman Drive
San Jose, CA 95134-1706
information about configuring a Cisco MDS switch# copy running-config startup-config switch(config)# role name name USA
9000 Family switch from the command-line Saves the current configuration to the startup Assigns users to a new role or modifies the profile of an http://www.cisco.com
Tel: 408 526-4000
configuration. existing role. Enter a name of 16 characters or less.
interface (CLI), refer to the Cisco MDS 9000 800 553-NETS (6387)
switch# install all system Fax: 408 526-4100
Family Configuration Guide. switch(config-role)# description
Cisco, Cisco IOS, Cisco Systems, and the Cisco Systems logo are registered trademarks of Cisco
bootflash:image kickstart bootflash:image description Systems, Inc. or its affiliates in the United States and certain other countries. All other brands,
You can access the most current Cisco Upgrades all modules on any Cisco MDS 9000 Family names, or trademarks mentioned in this document or Website are the property of their respective
Assigns a description to the new role just created. Enter
documentation at this URL: switch. Images are typically in bootflash:.
owners. The use of the word partner does not imply a partnership relationship between Cisco and
a description of 64 characters or less. any other company. (0502R)
http://www.cisco.com/techsupport switch# clock set HH:MM:SS © 2005 Cisco Systems, Inc. All rights reserved.
switch# show role
Sets the switch clock. Displays all roles configured on the switch.
Printed in the USA on recycled paper containing 10% postconsumer waste.

switch# config term


Enters configuration mode.
DOC-7817238=
switch(config-profile)# ip address switch (config)# fcdomain domain id switch# show zone switch(config)# ntp commit
ip-address preferred vsan vsan-id Displays zone mappings. Commits changes to the active NTP configuration.
Associates the profile with the local IP address of the Configures the switch in the specified VSAN to request a switch# show zoneset switch(config)# ntp abort
Gigabit Ethernet interface. Make this association for preferred domain ID. Displays all zone sets. Discards the proposed changes.
both switches in the connection. switch(config)# show ntp pending-diff
switch# show zoneset active
switch(config)# interface fcip switch(config)# fcdomain domain id static
Displays the active zone set for each VSAN, including Displays the difference between the active NTP
interface_number vsan vsan-id
which devices have logged in and are communicating. configuration and the proposed changes that go into
Configures a specified FCIP interface from 1 to 255. Configures the switch in the specified VSAN to take only effect when the ntp commit command executes.
switch(config-if)# use-profile profile-id a specific ID and moves the local interfaces in the VSAN
switch# show cfs application
Assigns the profile to the FCIP interface. to an isolated state if the domain ID is not granted. Displays CFS information for all applications.
switch(config-if)# peer-info ipaddr
ip-address Inter-VSAN Routing Commands switch# show cfs application name name
Displays CFS information for the named application .
Assigns the peer IP address information to the FCIP switch(config)# ivr enable
interface. On switch1, assign the IP address information
Alias, Zone, and Zone Set Commands switch(config-ivr-topology-db)#
for switch2; on switch 2, assign the IP address autonomous-fabric-id fabric-id switch-wwn
information for switch1. switch# show flogi database hh:hh:hh… vsan-ranges 1-32 vsan-ids
Displays the devices that have logged into the fabric. Enables IVR routing and defines which VSANs are Troubleshooting Commands
Retrieve pWWNs for aliases and zoning from this resident on which switches within the fabric. Can include switch# fcping fcid fcid vsan vsan-id
database. explicit VSAN definitions or a range of them. switch# fcping pwwn hh:hh:hh… vsan vsan-id
VSAN Commands switch# show fcns database switch(config)# ivr zone name name Sends ECHO over Fibre Channel frames to determine if
Displays device name server registration information per switch(config-ivr-zone)# member pwwn the destination device is logged in and communicating.
switch(config)# vsan database VSAN. hh:hh:hh… vsan vsan-id switch# fctrace fcid fcid vsan vsan-id
switch(config-vsan-db)# vsan vsan-id switch(config)# fcalias name alias-name Creates a named IVR zone. Members must be specified Traces the route to an N port.
Creates the VSAN with the specified vsan-id range. vsan vsan-id by unique identifiers (alias, pWWN, etc.) and by VSAN.
switch(config)# fcanalyzer local brief
switch(config-vsan-db)# vsan vsan-id name Configures an alias mapping for a device where switch(config)# ivr zoneset name name limit-captured-frames 0
vsan-name alias-name is the canonical name within the VSAN. switch(config-ivr-zoneset)# member name Captures control frames to a console session.
Adds a description to a VSAN, where vsan-id is the switch(config-fcalias)# member pwwn Creates an IVR zone set and adds member zones.
VSAN and vsan-name is the VSAN description. switch# show tech-support details
hh:hh:hh… switch(config)# ivr zoneset activate name Performs the following commands: show version, show
switch(config-vsan-db)# vsan vsan-id Defines a mapping of pWWN hh:hh:hh… to the fcalias name environment, show module, show run, show hardware,
interface type slot/port name. pWWN can be retrieved from the FLOGI or FCNS Activates the IVR zone set and enables the zones in the show interface, show accounting log, show process,
Adds an interface to a VSAN, where vsan-id is the VSAN database. fabric. show license, and show system health.
number and type, slot/port is the interface. switch(config)# zone name name vsan switch# show ivr vsan-topology switch# tac-pac
switch(config-vsan-db)# vsan vsan-id vsan-id
switch# show ivr zoneset active Creates a gzip file (show_tech_out.gz) on the volatile file
interface type slot/port - port Creates a named zone within the VSAN.
switch# show ivr tech-support system of the show tech details command. This file is
Adds a specified range of interfaces into a VSAN from switch(config-zone)# member fcalias name then stored in volatile memory.
the same line card. Adds the node referenced by the named fcalias to the
switch# show version
switch# show vsan zone.
switch# show interface brief
Lists all VSANs. switch(config-zone)# member pwwn
switch# show vsan membership hh:hh:hh…. CFS Commands switch# show interface fc slot/port trunk
Adds the device referenced by pWWN hh:hh:hh... to the vsan
Lists ports within a VSAN. Cisco Fabric Services (CFS) provides a common
zone. switch# show module
infrastructure for automatic configuration
switch(config)# zoneset name name vsan synchronization in the fabric. Various Cisco SAN-OS switch# show fspf internal route vsan
vsan-id applications use CFS. The following examples show switch# show topology vsan vsan-id
Fcdomain Commands switch(config-zoneset)# member name commands that support the NTP CFS application. switch# show device-alias
Creates a named zone set within the VSAN and adds a
switch# config term switch# show fcalias
switch(config)# fcdomain restart vsan named zone to the zone set.
vsan-id switch(config)# ntp distribute switch# show fcroute
switch(config)# zoneset distribute full Enables the distribution of the NTP configuration to the
Forces the VSAN to reconfigure without data traffic vsan vsan-id switch# show fspf internal route vsan
disruption. fabric. By leveraging CFS, this action needs to occur just vsan-id
Configures the switch to distribute all zone sets rather once over the life of the application.
switch(config)# fcdomain restart disruptive than just the active zone set for the VSAN. switch# show logging logfile
switch(config)# ntp server hostname|ip-
vsan vsan-id switch# show fcalias switch# show logging last lines
address
Forces the VSAN to reconfigure with data traffic Displays alias mappings. Forms an association with an NTP server.
disruption.

You might also like