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:
- First connect to switch via console using 9600 baud rate
- Then login into switch with username root. It wont prompt for any password. By default password for root user is empty (no-password).
- Get access to switch command line interface (cli) with below command:
- cli
- Switch from default operational mode to configuration mode using:
- configure
- Set root password on switch using:
- set system root-authentication plain-text-password
-
- After this type the desired root password twice
- 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
- Set hostname and DNS
- set system host-name <hostname1>
- set system name-server <dns1>
- set system name-server <dns2>
- Enable SSH and Web based access
- set system services ssh root-login allow
- set system services web-management http
- 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>
- Disable auto image upgrade
- delete chassis auto-image-upgrade
- Save changes:
- commit
- 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.
- 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