Switching

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX4550 fake master to change virtual chassis?

    Posted 08-08-2022 17:23
    I have an EX4550 which I can't get out of being
    {linecard:0}​

    in a virtual chassis that no longer exists, (thread here)

    I have an SRX-300 sitting around as a spare, is it possible to create a 'fake master' with the SRX device that will see my EX4550 and be able to manage it and change it back to a standalone unit (or is there another way)?



  • 2.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-08-2022 20:07
    Virtual chassis is only for the EX switch models.  And the participation in a virtual chassis group is limited to specific models per group.

    For this group you would need ex4550, ex4500 or ex4200 as members.

    https://www.juniper.net/documentation/en_US/release-independent/junos/topics/topic-map/ex4550-virtual-chassis.html

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-09-2022 00:45
    Is there any other way to accomplish this via CLI?

    I have another EX4550, but it's in production and I'm afraid it might magically revert to some unusable state like this one did when I put it on the network.


  • 4.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-14-2022 09:59
    Have you tried erasing with zeroize?
    request system zeroize

    Or make sure all configuration for virtual chassis is deleted from the configuration.
    delete virtual-chassis

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 5.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-18-2022 19:54
    tried zeroize once in the recovery shell, but there was no virtual-chassis config:
    {linecard:0}[edit]
    root@4550switch#show virtual-chassis
    
    {linecard:0}[edit]
    root@4550switch#delete virtual-chassis
    warning: statement not found
    
    {linecard:0}[edit]
    root@4550switch#commit and-quit
    
    root@4550switch> request system zeroize​
    warning: System will be rebooted and may not boot without configuration
    Erase all data, including configuratino and log files? [yes,no] yes
    
    warning: zeroing fpc0

    Once it rebooted it still tried to log me into master, and then reverted to local login, but wouldn't let me enter password.

    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 111631 free (15 frags, 13952 blocks, 0.0% fragmentation)
    
    ex4550switch1 (ttyu0)
    
    login: root
    
    Logging to master
    ...
    Connection to master failed, enabling local login
    
    ex4550switch1 (ttyu0)
    
    login: root
    
    ex4550switch1 (ttyu0)
    
    login: 
    



  • 6.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-22-2022 13:05
    So if I get an EX-4200 and set it to a master, how to do I connect this EX-4550 to it so I can login and change the 4550 state from the 4200?


  • 7.  RE: EX4550 fake master to change virtual chassis?

     
    Posted 08-22-2022 14:47
    Just do a boot loader USB install with format. This will reset everything. 

    https://supportportal.juniper.net/s/article/EX-Performing-and-resolving-any-common-issues-during-Format-Install-on-legacy-EX-platforms?language=en_US#


  • 8.  RE: EX4550 fake master to change virtual chassis?

    Posted 08-24-2022 09:14
    I found the issue. /etc/pam.conf was not writeable, so there was no way to save the password.

    Now it still boots with a virtual-chassis like:
    root@ex4550switch1> show virtual-chassis 
    
    Virtual Chassis ID: 3.....
    Virtual Chassis Mode: Enabled
                                               Mstr           Mixed Neighbor List
    Member ID  Status   Serial No    Model     prio  Role      Mode ID  Interface
    0 (FPC 0)  Prsnt    ....        ex4550-32f 128  Master*      N
    
    Member ID for next new member: 1 (FPC 1)
    ​


    So I just have to figure out how to get rid of that. I've tried in config, but just get:

    root@ex4550switch1# show virtual-chassis 
    
    {master:0}[edit]


    Now I'm going to try something in

    root@ex4550switch1> request virtual-chassis mode ?
    Possible completions:
      mixed                Set a member's virtual chassis mode
    

    or maybe this menu?

    root@ex4550switch1> request virtual-chassis mode mixed disable ?
    Possible completions:
      <[Enter]>            Execute this command
      all-members          Set virtual chassis mode on all virtual chassis members
      local                Set virtual chassis mode on local virtual chassis member
      member               Set virtual chassis mode on specific virtual chassis member
      |                    Pipe through a command
    

    How do I get rid of

    {master:0}

    on login, which now does:

    FILE SYSTEM CLEAN; SKIPPING CHECKS
    clean, 107679 free (39 frags, 13455 blocks, 0.0% fragmentation)
    
    ex4550switch1 (ttyu0)
    
    login: root
    
    Logging to master
    ...
    Connection to master failed, enabling local login
    Password:
    
    root@ex4550switch1:RE:0% cli
    
    root@ex4550switch1>




  • 9.  RE: EX4550 fake master to change virtual chassis?

     
    Posted 08-24-2022 11:43
    You, can't. That's normal
    output for a standalone switch. You can't disable the VC subsystem. That said, I would not trust this switch without a clean OS reinstall.