1. Preface
The built-in Factory-default resets all parameters to the factory settings.
Internal reboot, unplug the power is the restart.
External reset resets the data in the chip and does not revert to the factory settings.
2. Feel the factory recovery process
4036-41e6 (config) # Factory-default
Go back to factory defaults? [Yes|no] Yes
Starting PID 988, TTY ': '/etc/rc.d/rcs stop '
4036-41e6 (config) # ibsw-init.sh Stop...
Sat Jan 8 11:31:09 UTC 2000
Repsave:total entries to dump 19
526%
Repsave:total Execution Count = 2 sec.
WRITE returned reterror = 0
Returned reterror = 0
nvigor.sh Stop ...
Sat Jan 8 11:31:10 UTC 2000
/usr/voltaire/avip.sh stop
Set back the Local default Gateway:route add default GW 172.16.8.254 eth0
vsm.sh Stop
Shutting down OPENSM:
mng.sh Stop
= = Stop Send to Vip,vsm,mng:waiting for 1 sec. = =
All stopped ... Removing nvigor.sh Lock
Stopping Crond:
Stopping inetd:
Syncing hardware clock to system time
0x3c
?
u-boot 1.3.4.32_4u_03 (Sep 10 2012-19:28:47)
?
CPU:AMCC PowerPC 460EX Rev. B at 666.666 MHz (plb=166, opb=83, ebc=83 MHz)
Security/kasumi Support
Bootstrap Option e-boot ROM location EBC (bits)
Internal PCI Arbiter Disabled
I-cache KB D-cache
Board: 4036QDR -Voltaire 4036 QDR Switch Board
I2c:ready
DRAM: MB (ECC enabled, 333 MHz, CL3)
FLASH: MB
NAND: the MiB
Warning-bad CRC, using default environment
?
MAC Address:00:08:f1:20:41:e6
PCIE1:successfully Set as Root-complex
Pcie:bus Dev Venid DevId Class Int
15B3 Bd34 0c06 00
Net:ppc_4xx_eth0
Recovery counter:10
?
Type run Flash_nfs to mount Root filesystem over NFS
?
Hit any key to stop autoboot:0
Booting secondary, press ^c to abort
# # booting kernel from Legacy Image at fc000000 ...
Image Name: Linux-2.6.26
Image type:powerpc Linux Kernel Image (gzip compressed)
?
?
Data size:1406018 Bytes = 1.3 MB
Load address:00000000
Entry point:00000000
Verifying Checksum ... Ok
Uncompressing Kernel Image ... Ok
# # flattened Device Tree blob at fc1e0000
Booting using the FDT blob at 0xfc1e0000
# # Loading init Ramdisk from Legacy Image at 02000000 ...
Image Name: Voltaire QDR RAMDisk
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data size:23303620 Bytes = 22.2 MB
Load address:00000000
Entry point:00000000
Verifying Checksum ... Ok
Loading Device Tree to 007fa000, end 007fffa0 ... Ok
Loading Ramdisk to 1e85d000, end 1fe965c4 ... Ok
Using Voltaire Machine Description
Linux version 2.6.26 ([email protected]) (gcc version 4.2.2) #22 Sun Sep 11:59:23 IST 2012
Found INITRD at 0xde85d000:0xdfe965c4
Zone PFN Ranges:
DMA 0-131072
Normal 131072-131072
131072 Highmem 131072
Movable zone start PFN for each node
EARLY_NODE_MAP[1] Active PFN ranges
0:0-131072
Built 1 zonelists in Zone order, mobility grouping on. Total pages:130048
Kernel command line: root=/dev/ram ramdisk_size=0x1b00000 prim_flg=0 ip=::::voltaire4036:eth0:off panic=1 Console=ttys0,38400n8
UIC0 (IRQ sources) at DCR 0xc0
?
?
UIC1 (IRQ sources) at DCR 0xd0
UIC2 (IRQ sources) at DCR 0xe0
UIC3 (IRQ sources) at DCR 0xf0
PID Hash Table entries:2048 (order:11, 8192 bytes)
Clocksource:timebase mult[600000] shift[22] Registered
Dentry Cache Hash Table entries:65536 (order:6, 262144 bytes)
Inode-cache Hash Table entries:32768 (order:5, 131072 bytes)
memory:493440k/524288k available (2828k kernel code, 30364k reserved, 108k data, 111k BSS, 172k Init)
slub:genslabs=10, hwalign=32, order=0-3, Minobjects=0, Cpus=1, Nodes=1
Mount-cache Hash Table entries:512
net_namespace:340 bytes
Net:registered Protocol Family 16
256k L2-cache Enabled
Pcie1:checking link ...
Pcie1:device detected, waiting for link ...
Pcie1:link is up!
PCI host Bridge/plb/[email protected] (primary) ranges:
MEM 0x0000000e80000000. 0X0000000EFFFFFFFF-0x0000000080000000
IO 0x0000000f80010000. 0X0000000F8001FFFF-0x0000000000000000
4xx PCI DMA offset set to 0x00000000
Pcie1:successfully Set as Root-complex
PCI: Probing PCI hardware
Pci:hiding 4xx Host Bridge Resources 0000:80:00.0
pci:bridge:0000:80:00.0
IO window:disabled.
MEM WINDOW:0X80000000-0X800FFFFF
PREFETCH window:disabled.
Net:registered Protocol Family 2
IP route cache Hash Table entries:16384 (order:4, 65536 bytes)
?
?
TCP established hash table entries:65536 (order:7, 524288 bytes)
TCP bind hash Table entries:65536 (order:6, 262144 bytes)
Tcp:hash tables configured (established 65536 bind 65536)
TCP Reno Registered
Net:registered Protocol Family 1
Checking if image is initramfs...it isn ' t (no cpio magic); Looks like an initrd
Freeing Initrd memory:22757k freed
JFFS2 version 2.2. (NAND) (SUMMARY)? 2001-2006 Red Hat, Inc.
Msgmni have been set to 1009
IO Scheduler NoOp registered (default)
Serial: 8250/16550 driver $Revision: 1.3 $4 ports, IRQ sharing disabled
Serial8250.0:ttys0 at MMIO 0x4ef600300 (IRQ = +) is a 16550A
console [ttyS0] enabled
Serial8250.0:ttys1 at MMIO 0x4ef600400 (IRQ = All) is a 16550A
Serial8250.0:ttys2 at MMIO 0x4ef600500 (IRQ = +) is a 16550A
Serial8250.0:ttys3 at MMIO 0x4ef600600 (IRQ = +) is a 16550A
4ef600300.serial:ttys0 at MMIO 0x4ef600300 (IRQ = +) is a 16550A
4ef600400.serial:ttys1 at MMIO 0x4ef600400 (IRQ = All) is a 16550A
4ef600500.serial:ttys2 at MMIO 0x4ef600500 (IRQ = +) is a 16550A
4ef600600.serial:ttys3 at MMIO 0x4ef600600 (IRQ = +) is a 16550A
Brd:module Loaded
Loop:module Loaded
PPC 4xx OCP EMAC driver, version 3.54
MAL V2/plb/mcmal, 2 TX channels, RX channels
Zmii/plb/opb/[email protected] Initialized
Rgmii/plb/opb/[email protected] initialized with MDIO support
Tah/plb/opb/[email protected] Initialized
Tah/plb/opb/[email protected] Initialized
/plb/opb/[email protected]: input 0 in RGMII mode
?
?
?
?
PHY Address 0xFFFFFFFF Map 0x0
eth0:emac-0/plb/opb/[email protected], MAC 00:08:f1:20:41:e6
Eth0:found Generic MII PHY (0x00)
/plb/opb/[email protected]: input 1 in RGMII mode
PHY Address 0xFFFFFFFF Map 0x1
/plb/opb/[email protected]: Can ' t find phy!
4cc000000.nor_flash:found 1 x16 devices at 0x0 in 16-bit Bank
4cc000000.nor_flash:found 1 x16 devices at 0x2000000 in 16-bit Bank
Intel/sharp Extended Query Table at 0x010a
Intel/sharp Extended Query Table at 0x010a
Intel/sharp Extended Query Table at 0x010a
Intel/sharp Extended Query Table at 0x010a
Intel/sharp Extended Query Table at 0x010a
Using Buffer Write method
Using Auto-unlock on Power-up/resume
Cfi_cmdset_0001:erase suspend on write enabled
Cmdlinepart partition parsing not available
Redboot partition parsing not available
Creating MTD partitions on "4cc000000.nor_flash":
0x00000000-0x001e0000: "Kernel"
0x001e0000-0x00200000: "DtB"
0x00200000-0x003e0000: "Safe-kernel"
0x003e0000-0x00440000: "Free space 1"
0x00440000-0x00fa0000: "Ramdisk-b"
0x00fa0000-0x01000000: "U-boot 0"
0x01000000-0x01fa0000: "Ramdisk-a"
0x01fa0000-0x02000000: "U-boot 1"
0x02000000-0x02fa0000: "Safe-ramdisk-a"
0x02fa0000-0x03000000: "U-boot 2"
?
?
0x03000000-0x03b60000: "Safe-ramdisk-b"
0x03b60000-0x03b80000: "SAFE-DTB"
0x03b80000-0x03f60000: "Config"
0x03f60000-0x03fa0000: "U-boot env"
0x03fa0000-0x04000000: "U-boot"
NAND device:manufacturer id:0x20, Chip id:0xda (ST Micro NAND 256MiB 3,3v 8-bit)
Scanning device for bad blocks
Creating 1 MTD partitions on "4e0000000.ndfc.nand":
0x00000000-0x10000000: "Log"
I2c/dev Entries Driver
IBM IIC Driver v2.1
IBM-IIC (/plb/opb/[email protected]): Using standard (+ kHz) mode
IBM-IIC (/plb/opb/[email protected]): Using standard (+ kHz) mode
I2c-2: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 0)
I2c-3: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 1)
I2c-4: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 2)
I2c-5: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 3)
rtc-ds1307 6-0068:RTC core:registered ds1338 as Rtc0
rtc-ds1307 6-0068:56 bytes Nvram
I2c-6: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 4)
I2c-7: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 5)
I2c-8: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 6)
I2c-9: Virtual i²c Bus (physical bus i2c-0, multiplexer 0x70 Port 7)
PCA954X 0-0070:registered 8 virtual busses for i²c switch pca9548
TCP Cubic Registered
Net:registered Protocol Family 10
lo:disabled Privacy Extensions
?
?
?
IPv6 over IPv4 tunneling driver
sit0:disabled Privacy Extensions
ip6tnl0:disabled Privacy Extensions
Net:registered Protocol Family 17
Rpc:registered UDP Transport module.
Rpc:registered TCP Transport module.
rtc-ds1307 6-0068:setting system clock to 2000-01-08 11:32:56 UTC (947331176)
Ramdisk:compressed image found at block 0
vfs:mounted Root (ext2 filesystem) readonly.
Freeing unused kernel memory:172k init
Init started:busybox v1.12.2 (2011-01-03 14:13:22 IST)
Starting PID, TTY ": '/etc/rc.d/rcs '
Mount:no/proc/mounts
Mounting/proc And/sys
Mounting filesystems
Loading Module Voltaire
Empty Flash at 0x0ff5e870 ends at 0x0ff5f000
Starting Crond:
Starting telnetd:
ibsw-init.sh start ...
Sat Jan 8 11:33:06 UTC 2000
INSTALL FLAG 0x1
?
First Installation-create clean repository ...
JFFS2 Notice: (() Check_node_data:wrong data CRC in data node at 0x0ff5e65c:read 0x4913c471, calculated 0xae91d796.
WRITE returned reterror = 0
Returned reterror = 0
Returned reterror = 0
?
?
?
?
100%
Repload:create #SQL done.
100%
Repload:raw data inserted.
100%
Repload:create #TRG done.
Repload:total Execution Count = 3 sec.
Starting Syslogd & Klogd ...
Starting ISR:???????????? IB_IS4 0000:81:00.0:ep0_dev_name 0000:81:00.0
Starting PID 799, TTY ": '-/SB
4036 Version 3.9.1 BUILD ID 985
Sun Sep 18:01:19 IST 2012
4036-41e6 Login:admin
Password:
?
Welcome to Voltaire Switch 4036-41e6
?
Initial Configuration:please Change the default root password
changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
?
?
changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter New Password:
Bad Password:too simple.
?
Warning:weak Password (Continuing).
Re-enter new password:
Password changed.
4036-41e6#
3. Setting up the SM
4036-41e6 (CONFIG-SM) #?
< ' command ' >????????????????????? Displays the command usage Strin
???????????????????????? G
????????????????????????? Displays the list of available C
???????????????????????? Ommands
End???????????????????????? Ends the CLI
Exit???????????????????????? Exits to previous menu
Sm-info Babbling_port_policy Set???????? Sets Babbling_port_policy SM par
???????????????????????? Ameter
Sm-info Force_link_speed Set???????????? Sets Force_link_speed SM Paramet
???????????????????????? Er
Sm-info Head_of_queue_lifetime Set???????? Sets Transaction_timeout SM para
???????????????????????? Meter
Sm-info Leaf_head_of_queue_lifetime Set???????? Sets Leaf_head_of_queue_lifetime
???????????????????????? SM parameter
Sm-info LMC Set???????????????????? Sets LMC SM parameter
Sm-info MAX_OP_VLS Set???????????????? Sets MAX_OP_VLS SM parameter
Sm-info Mode set???????????????? Enables/disables the SM
Sm-info Packet_life_time Set???????????? Sets Packet_life_time SM Paramet
???????????????????????? Er
Sm-info partition Export-partitions-file???? Exports the partition file to re
???????????????????????? Mote location
Sm-info partition Import-partitions-file???? Imports the partition file from
???????????????????????? Remote location
Sm-info Polling_retry_number Set???????? Sets Polling_retry_number SM par
???????????????????????? Ameter
Sm-info Polling_timeout Set???????????? Sets Polling_timeout SM paramete
???????????????????????? R
Sm-info Priority Set???????????????? Sets the priority SM parameter
Sm-info Reassign_lids Set???????????? Sets Reassign_lids SM parameter
Sm-info Restart???????????????? Restarts SM
Sm-info Routing_engine Set???????????? Sets Routing_engine SM parameter
Sm-info Show???????????????????? Shows the SM parameters
Sm-info Sweep_interval Set???????????? Sets the Sweep_interval SM param
???????????????????????? Eter
4036-41e6 (CONFIG-SM) # Sm-info mode set?
Sm-info mode set???? Sm-info mode set [Enable|disable]
4036-41e6 (CONFIG-SM) # Sm-info mode set Enable
4036-41e6 (CONFIG-SM) # Sm-info Show
Subnet Manager info is:
Sweep_interval:15
Max_wire_smps:16
lmc:0
Max_op_vls:5
transaction_timeout:150
Head_of_queue_lifetime:16
Leaf_head_of_queue_lifetime:16
Packet_life_time:18
sminfo_polling_timeout:5000
Polling_retry_number:12
Reassign_lids:disable
Babbling_port_policy:disable
Routing_engine_names:minhop
Log_flags:7
force_link_speed:0
Polling_rate:30
Mode:enable
State:not Active
Sm_priority:4
4. Setting the management address
4036-41e6 (config-if) #?
< ' command ' >????????????? Displays the command usage string
????????????????? Displays the list of available commands
Broadcast set???????????? Sets the broadcast address
DEFAULT-GW Delete???????? Deletes the default gateway for the interface
DEFAULT-GW Set???????????? Sets the default gateway for the interface
DHCP set???????????? Enables/disables the DHCP Client
DHCP6 Set???????????? Enables/disables the DHCP6 Client
End???????????????? Ends the CLI
Exit???????????????? Exits to previous menu
Interface Ethernet Set???????? Sets Ethernet as the Management interface
Interface InfiniBand Set???? Sets InfiniBand as the Management interface
Ip-address Set???????????? Sets the interface IP address
Ip-address Show???????????? Shows the interface IP address and configuration
Ip6-address Set???????????? Sets the interface IP6 address
Ip6-autoconfig set???????? Sets the IP6 autoconfig mode
Link-speed Set???????????? Sets the interface IP link speed
Ping???????????????? Sends ping messages
4036-41e6 (config-if) #
?
?
4036-41e6 (config-if) # ip-address Show
Port Selection Ethernet
IP no ip-interface is down or network problem
Ip6
IP6 AutoConfig Enabled
Mask 255.255.255.0
Broadcast 192.168.1.255
DHCP Client Enabled
DHCP6 Client Disabled
Link-speed auto-negotiation
MAC 00:08:f1:20:41:e6
4036-41e6 (config-if) #
?
?
?
4036-41e6 (config-if) # DHCP set?
DHCP set???? DHCP set [disable, enable]
4036-41e6 (config-if) # DHCP set disable
4036-41e6 (config-if) # ip-address Set 172.24.12.21
Ip-address Set 172.24.12.21
Syntax error after word #3.
4036-41e6 (config-if) # ip-address set 172.24.12.21 255.255.255.0
4036-41e6 (config-if) # ip-address Show
Port Selection Ethernet
IP 172.24.12.21
Ip6
IP6 AutoConfig Enabled
Mask 255.255.255.0
Broadcast 172.24.12.255
DHCP Client Disabled
DHCP6 Client Disabled
Link-speed auto-negotiation
MAC 00:08:f1:20:41:e6
4036-41e6 (config-if) #
Mellanox 4036 Configuration