Ticker

6/recent/ticker-posts

Initial step to do when using vQFX | EVE-NG | Juniper

If you're using vQFX on any simulating tools, you might have noted that it comes up with a pre-configuration, that may not be required to run or test your labs. It gives a total messed up view when you check the configurations on the switch. I'm running this lab on EVE-NG.

To check the configurations, use the below commands in operational mode or configuration mode.
root@vqfx-re> show configuration | no-more
root@vqfx-re# show | no-more

As previously mentioned, we don't need all the configuration to run our lab, but we need to note down the internal interface's IP address before deleting the entire configurations, which is required for the communication between the RE and PFE. The IP address is assigned to the interface em1 unit 0.
root@vqfx-re> show interfaces em1.0 terse 
Interface               Admin Link Proto    Local                 Remote
em1.0                   up    up   inet     169.254.0.2/24

Now go to configuration mode and delete all the configurations.
root@vqfx-re> configure
root@vqfx-re# delete 
This will delete the entire configuration
Delete everything under this level? [yes,no] (no) yes

You won't be able to commit at this point as the configuration is empty. You will get an error if you do so.
root@vqfx-re# commit 
error: cannot commit an empty configuration

Configure root password and commit the configuration.
root@vqfx-re# set system root-authentication plain-text-password
New password:
Retype new password:
root@vqfx-re# commit 

Now configure the internal interface with the IP 169.254.0.2/24 to restore the communication between RE and PFE.
root@vqfx-re# set interfaces em1 unit 0 family inet address 169.254.0.2/24
root@vqfx-re# commit 

Check the configuration, now you will see only the changes you have made. It gives a fresh look and will make troubleshooting easy.

Post a Comment

0 Comments