Configuring new Juniper switch for remote access via vme port

From Notes_Wiki

Home > Switch configuration notes > Configuring new Juniper switch for remote access via vme port

To configure a brand new Juniper switch for remote access via vme (Management port) use following steps:

  1. First connect to switch via console using 9600 baud rate
  2. Then login into switch with username root. It wont prompt for any password. By default password for root user is empty (no-password).
  3. Get access to switch command line interface (cli) with below command:
    cli
  4. Switch from default operational mode to configuration mode using:
    configure
  5. Set root password on switch using:
    set system root-authentication plain-text-password
    After this type the desired root password twice
  6. Create admin (non-root) user with superuser class using:
    set system login user admin class super-user authentication plain-text-password
    After this type the desired admin password twice
  7. Set hostname and DNS
    set system host-name <hostname1>
    set system name-server <dns1>
    set system name-server <dns2>
  8. Enable SSH and Web based access
    set system services ssh root-login allow
    set system services web-management http
  9. Assign management IP on vme (Management port)
    delete interfaces vme unit 0 family inet dhcp
    set interfaces vme unit 0 family inet address <ipv4-ip/subnet>
  10. Disable auto image upgrade
    delete chassis auto-image-upgrade
  11. Save changes:
    commit
  12. After commit if the management Ethernet port of switch is connected correctly to the given VLAN / subnet, we should be able to ping the management IP appropriately.
    Note that since we have not given any gateway / routing, the connection will work only from same subnet / VLAN.
  13. If ping is working we can connect over SSH with username root or admin as per requirement


Refer: - https://kb.juniper.net/InfoCenter/index?page=content&id=KB11044


Home > Switch configuration notes > Configuring new Juniper switch for remote access via vme port