beautypg.com

Manual slot number assignment, Manual slot number assignment -20, Manual slot number assign – Alcatel-Lucent OMNISWITCH 6800 User Manual

Page 100

background image

Slot Numbering

Managing OmniSwitch 6800 Series Stacks

page 3-20

OmniSwitch 6800 Series Hardware Users Guide

June 2007

Manual Slot Number Assignment

To manually assign slot numbers to one or more modules in a stack, use the

stack set slot

command. This

command writes slot information to the boot.slot.cfg file located in a switch’s /flash directory. It is this
saved slot information that the switch will assume following a reboot.

Manually assigning slot numbers can be useful in reordering existing slot numbers in order to create a
sequential numbering scheme from the top of the stack to the bottom (or vice-versa). Refer to the follow-
ing example:

This example, taken from

page 3-18

, shows a stack in which the primary and secondary switches are phys-

ically positioned in the middle of the stack. Although the stack will operate normally with this primary and
secondary module positioning, it may be preferable for management purposes to have the primary and
secondary switches at either the top or the bottom of the stack. For this example, the primary and second-
ary roles will be assigned to the top of the stack. This is accomplished by entering the following
commands:

-> stack set slot 6 saved-slot 1
-> stack set slot 7 saved-slot 2
-> stack set slot 8 saved-slot 3
-> stack set slot 1 saved-slot 4
-> stack set slot 2 saved-slot 5
-> stack set slot 3 saved-slot 6
-> stack set slot 4 saved-slot 7
-> stack set slot 5 saved-slot 8
-> reload all

Because slot 6 is the top-most switch in the stack, it is reassigned the slot 1 (i.e., primary) position;
because slot 7 is located immediately below slot 6, it is reassigned the slot 2 (i.e., secondary) position, etc.

Note that the modules were not reloaded one-by-one, even though the stack set slot command provides
optional syntax for doing so. Instead, new slot number information is first saved to each boot.slot.cfg file
across the stack. The reboot is saved for last in order to avoid duplicate slot numbers within the stack,
which would cause unwanted pass-though mode conditions (see

page 3-11

).

Slot 1 - Primary

Slot 2 - Secondary

Slot 3 - Idle

Slot 4 - Idle

Slot 5 - Idle

Slot 6 - Idle

Slot 7 - Idle

Slot 8 - Idle