Switching

Expand all | Collapse all

set virtual-chassis command is not working for me on EX4200

Jump to Best Answer
  • 1.  set virtual-chassis command is not working for me on EX4200

    Posted 04-03-2018 12:32

    Hi,

     

    I'm following this doc (https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/virtual-chassis-ex4200-cli.html#jd0e48) for configuring an EX4200 Virtual Chassis.

     

    But in the step 8:

    After typing "set member 0 serial-number abc123 role routing-engine" command, I am getting this error:

    set: Variable name must begin with a letter.

     

    If I type this "set virtual-chassis member 0 serial-number abc123 role routing-engine"  command, I am getting an error as well:

    set: Syntax Error.

     

    Any ideas why the "set" command is working working for me?

     

    Thanks!



  • 2.  RE: set virtual-chassis command is not working for me on EX4200

     
    Posted 04-03-2018 18:39

    Hi,

     

    Please make sure you are in [edit virtual-chassis] hierarchy

    abc123  is serial  number of switch, Regarding the serial number of switch, please get it from show virtual-chassis status.

     

     

    Regards,

    Ajo Thomas



  • 3.  RE: set virtual-chassis command is not working for me on EX4200

    Posted 04-04-2018 01:12

    did you specify "preprovisioned"

    Specify the preprovisioned configuration mode:

    [edit virtual-chassis]
    user@SWA–0# set preprovisioned
     
    regards
    Alexander


  • 4.  RE: set virtual-chassis command is not working for me on EX4200

    Posted 04-04-2018 11:27

    Yes. I did. See below the commands I tried.

     

    root@:RE:0% set preprovisioned

    root@:RE:0% set virtual-chassis member 1 serial-number BM0211335826 role line-card

    set: Syntax Error.

    root@:RE:0% set member 1 serial-number BM0211335826 role line-card

    set: Variable name must begin with a letter.

     



  • 5.  RE: set virtual-chassis command is not working for me on EX4200
    Best Answer

    Posted 04-04-2018 11:54

    you are logged in as root. You need to start the Junos cli via the 'cli' command and then enter the set commands in configuration mode.

    this mode is accessed by entering the 'configure' command, then the needed set commands and 'commit' to activate the changes.

     

    I will recommend you to read up on some of the Junos basics. That can be accomplished via for example the Day one book 'exploring the junos cli, second edition': https://www.juniper.net/uk/en/training/jnbooks/day-one/fundamentals-series/cli/



  • 6.  RE: set virtual-chassis command is not working for me on EX4200

    Posted 04-05-2018 17:25

    I'm a newbie here! Thank you for the info!