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?
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.
did you specify "preprovisioned"
Specify the preprovisioned configuration mode:
[edit virtual-chassis]user@SWA–0# set preprovisioned
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
root@:RE:0% set member 1 serial-number BM0211335826 role line-card
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/
I'm a newbie here! Thank you for the info!