Sending Commands to Modules
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.
The following 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
!
--- 12,16 ----
Hardware
!
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
72
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)]
bootflash: 0 blocks (block size 512b)
uptime is 0 days 1 hours 45 minute(s) 34 second(s)
bootflash: 0 blocks (block size 512b)
uptime is 0 days 1 hours 45 minute(s) 42 second(s)
Understanding the Command-Line Interface
Wed Apr 29 20:10:41
OL-30890-01