Sending Commands To Modules - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Sending Commands to Modules

The default colors are sent by the terminal emulator software.
Procedure
Step 1
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.
The quoted 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 27 show version | grep lc
This example shows how to filter module information on the supervisor module session:
switch# slot 27 quoted "show version" | diff
switch# slot 28 quoted "show version" | diff -c
*** /volatile/vsh_diff_1_root_8430_slot__quoted_show_version.old
2013
--- -
***************
*** 1,5 ****
! RAM 1036860 kB
! lc27
Software
--- 1,5 ----
! RAM 516692 kB
! lc28
Software
***************
*** 12,16 ****
Hardware
!
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
72
Command or Action
terminal color [evening] [persist]
Example:
switch# terminal color
Wed Apr 29 20:10:41 2013
BIOS:
version 6.20
system:
version 6.1(2)I1(1) [build 6.1(2)]
BIOS:
version 6.20
system:
version 6.1(2)I1(1) [build 6.1(2)]
bootflash: 0 blocks (block size 512b)
uptime is 0 days 1 hours 45 minute(s) 34 second(s)
Understanding the Command-Line Interface
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.
Wed Apr 29 20:10:41

Advertisement

Table of Contents
loading

Table of Contents