Stackwise Virtual - Rommon Variables
Once a Stackwise Virtual is configured, the below rommon variables are automatically set.
D_STACK_DAD
D_STACK_DISTR_STACK_LINK1
D_STACK_DOMAIN_NUM
D_STACK_MODE
Starting from 16.8.1 ROMMON variables can be checked directly from IOS-XE CLI by executing the following CLI:
Switch#show romvar | i D_STACK
Verification Commands from CLI:
3850-48XS-C10#show stackwise-virtual
Stackwise Virtual Configuration:
--------------------------------
Stackwise Virtual : Enabled
Domain Number : 100
Switch Stackwise Virtual Link Ports
------ ---------------------- ------
1 1 TenGigabitEthernet1/0/46
TenGigabitEthernet1/0/47
2 1 TenGigabitEthernet2/0/46
TenGigabitEthernet2/0/47
3850-48XS-C10#show stackwise-virtual dual-active-detection
Dual-Active-Detection Configuration:
-------------------------------------
Switch Dad port
------ ------------
1 TenGigabitEthernet1/0/24
Distributed Stack DAD Configuration After Reboot:
------------------------------------------------
Switch Dad port
------ --------
1 TenGigabitEthernet1/0/24
Note:
When converting the stackwise virtual to two stand-alone switches, the below steps has to be followed in right order:
- Remove SVL link configuration
- Remove DAD configuration
- Disable Stackwise virtual
The order of perfoming above steps matters! When feature is removed firstly ("no stack-wise virtual) and SVL/DAD configuration later, after reboot, the switches boot up as standalone but configuration of SVL/DAD remains and cannot be removed from CLI.
Then the only way to remove the SVL/DAD configuration would be to unset the rommon variables from CLI.
Rommon Variables:
switch: set
ABNORMAL_RESET_COUNT=1
ASIC_PCI_RESET=1
BAUD=9600
BOOT=flash:cat3k_caa-universalk9.16.03.03.SPA.bin;
BSI=0
CFG_MODEL_NUM=WS-C3850-48XS-S
CLEI_CODE_NUMBER=IPMDH00BRA
CSR_PCIERST_DISCONNECTED=yes
DDR_SPEED=667
D_STACK_DAD=TenGigabitEthernet1/0/24,
D_STACK_DISTR_STACK_LINK1=TenGigabitEthernet1/0/46,TenGigabitEthernet1/0/47,
D_STACK_DOMAIN_NUM=100
D_STACK_MODE=aggregation
ECI_CODE_NUMBER=467416
LICENSE_BOOT_LEVEL=ipbasek9,all:ngwc;
LINUX_COREMASK=0x3F
MAC_ADDR=9C:57:AD:34:4A:00
MANUAL_BOOT=yes
MODEL_NUM=WS-C3850-48XS
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-16622-04
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FOC19390N1K
RANDOM_NUM=1260810450
RECOVERY_BUNDLE=sda9:cat3k_caa-recovery.bin
RET_2_RTS=18:59:36 UTC Fri Apr 14 2017
SBC_CFG=17-G48CSR-04.SBC_cfg
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FOC1951Z3EM
TAN_NUM=68-5295-01
TAN_REVISION_NUMBER=C0
TEMPLATE=advanced
TERMLINES=0
USB_ASSEMBLY_NUM=73-16167-02
USB_REVISION_NUM=A0
USB_SERIAL_NUM=FOC1950864H
VERSION_ID=V01
Unsetting the Rommon variables
switch: unset D_STACK_DAD
switch: unset D_STACK_DISTR_STACK_LINK1
switch: unset D_STACK_DOMAIN_NUM
switch: unset D_STACK_MODE
On reloading, the switch now boots up a stand-alone with all Stackwise Virtual configurations removed.
3850-48XS-C10#show stackwise-virtual
Stackwise Virtual Configuration:
--------------------------------
Stackwise Virtual : Disabled
Switch Stackwise Virtual Link Ports
------ ---------------------- ------