Are you new to Juniper Networks? If yes then I am sure you are having hard times configuring IP address in Juniper device’s interface. Today I will show you how to configure IP address in JunOS or Juniper devices. Before showing you the commands in configuring IP address lets begin with some basics.
Configure IP Address in JunOS
Well, there are different modes in JunOS like Cisco IOS. The modes are Operational Mode and Configuration Mode. You can configure IP address in JunOS operating system in Configuration mode only. In JunOS everything you configure for interface is logical. Unlike Cisco IOS, when you configure IP address in a JunOS interface then you are actually creating logical interface and configure IP address in that logical interface. The logical entity is called unit and is given a number starting with zero “0”. Most of the times you will configure IP address in logical unit 0.
JunOS supports many protocols. IPv4 and IPv6 is the protocol (family) that you will be using most of the time. JunOS calls inet for IPv4 and inet6 for IPv6. So you have to mention the family inet or inet6 while configuring IP address in Juniper router’s interface.
Let’s see an example of how IP address is configured. We will configure IPv4 address on ge-0/0/0 interface. root@MustBeGeek# set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
Here, IP address is assigned on logical interface ge-0/0/0.0 interface of IPv4 family. You can view this information by typing the following command,root@MustBeGeek> show interfaces ge-0/0/0 brief
Now let’s see another example for configuring IPv6 address in ge-0/0/0 interface. root@MustBeGeek# set interfaces ge-0/0/0 unit 0 family inet6 address 2001:230:20:1:1/64
Here family inet6 is used to specify IPv6 address. To view the configuration you can use the show command.root@MustBeGeek> show interfaces ge-0/0/0 detail (or brief)
This command will show you information about this interface in detail.
You may also like -
Latest posts by Bipin (see all)
- How to Disable Windows Update using Group Policy - June 27, 2019
- Turn Off Auto Mapping Feature in Exchange 2010 Mailbox - January 9, 2018
- Backup Exchange Mailboxes to PST with Iperius Backup - April 1, 2017