Sending Commands To Modules - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Understanding the Command-Line Interface
SUMMARY STEPS
1. terminal color [evening] [persist]
DETAILED STEPS
Command or Action
Step 1
terminal color [evening] [persist]
Example:
switch# terminal color

Sending Commands to Modules

You can send commands directly to modules from the supervisor module session using the slot command.
The slot has the following syntax:
slot slot-number [quoted] command-string
By default, the keyword and arguments in the command-string argument are separated by a space. To send
more than one command to a module, separate the commands with a space character, a semicolon character
(;), and a space character.
Thequoted keyword indicates that the command string begins and ends with double quotation marks ("). Use
this keyword when you want to redirect the module command output to a filtering utility, such as diff, that is
supported only on the supervisor module session.
This example shows how to display and filter module information:
switch# slot 2 show version | grep lc
This example shows how to filter module information on the supervisor module session:
switch# slot 2 quoted "show version" | diff
switch# slot 4 quoted "show version" | diff -c
*** /volatile/vsh_diff_1_root_8430_slot__quoted_show_version.old
2009
--- -
***************
*** 1,5 ****
! RAM 1036860 kB
! lc2
Software
--- 1,5 ----
! RAM 516692 kB
! lc4
Software
***************
*** 12,16 ****
Hardware
OL-29291-02
Wed Apr 29 20:10:41 2009
BIOS:
version 1.10.6
system:
version 4.2(1) [build 4.2(0.202)]
BIOS:
version 1.10.6
system:
version 4.2(1) [build 4.2(0.202)]
Purpose
Sets the CLI display colors for the terminal session. The evening keyword
is not supported. The persist keyword makes the setting persistent across
sessions for the current username. The default setting is not persistent.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
Sending Commands to Modules
Wed Apr 29 20:10:41
65

Advertisement

Table of Contents
loading

Table of Contents