This article provides guidance on how to recover the master state in a virtual chassis when a device configured as a routing engine gets stuck as a linecard incorrectly.
To correct the linecard state, you can follow the below steps:
Delete vc configuration programmed:
#delete virtual-chassis #commit >file delete /config/vchassis/*
Restart the virtual chassis process:
>request virtual-chassis reactivate
If you get the error below:
{master:0} root@EX> request virtual-chassis reactivate error: Virtual Chassis is already active
You can get the virtual chassis process id and restart it manually:
{master:0} root@EX> show system processes extensive | match vcc 1950 root 4 -20 46404K 15752K kqread 0:06 0.00% vccpd >start shell %kill -9 1950
After that, you will get the mastership in FPC0.