To enable the interfaces installed on your device to work properly, you must configure their properties. You can perform basic interface configuration using the J-Web Quick Configuration pages, as described in Configuring Interfaces—Quick Configuration. You can perform the same configuration tasks using the J-Web or CLI configuration editor. In addition, you can configure a wider variety of options that are encountered less frequently.
You can perform the following tasks to configure interfaces:
For information about using the J-Web and CLI configuration editors, see the J-Web Interface User Guide and the JUNOS CLI User Guide.
After you install a PIM, connect the interface cables to the ports, and power on the device, you must complete initial configuration of each network interface, as described in the following procedure:
Table 46: Adding an Interface
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
Navigate to the Interfaces level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit interfaces interface-name For information about interface names, see Network Interface Naming. |
Create the new interface. |
|
|
Create the basic configuration for the new interface. |
|
Enter values for physical interface properties as needed. Examples include changes to the default values for physical encapsulation or MTU. For example: set interface-name encapsulation ppp |
Add values for interface-specific options. Most interface types have optional parameters that are specific to the interface type. |
|
|
Add logical interfaces. |
|
|
By default, the device responds to an Address Resolution Protocol (ARP) request only if the destination address of the ARP request is on the local network of the incoming interface. For Fast Ethernet or Gigabit Ethernet interfaces, you can configure static ARP entries that associate the IP addresses of nodes on the same Ethernet subnet with their media access control (MAC) addresses. These static ARP entries enable the device to respond to ARP requests even if the destination address of the ARP request is not local to the incoming Ethernet interface.
In this example, you configure a static ARP entry on Gigabit Ethernet interface ge-0/0/3 of the device consisting of the IP address and corresponding MAC address of a node on the same Ethernet subnet. The ge-0/0/3 interface has the IP address 10.1.1.1/24. The node has the IP address 10.1.1.3 and the MAC address 00:ff:85:7f:78:03. If the node on your network is another device running the JUNOS software, you can enter the show interfaces interface-name command to learn the IP and MAC (hardware) address of the node.
For more information about configuring static ARP entries, see the JUNOS Network Interfaces Configuration Guide.
To configure a static ARP entry on the ge-0/0/3 interface:
Table 47: Configuring Static ARP Entries
To delete an interface:
![]() |
Note: Performing this action removes the interface from the software configuration and disables it. Network interfaces remain physically present, and their identifiers continue to appear on the J-Web Monitor and Quick Configuration pages. |
Table 48: Deleting an Interface
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
Navigate to the Interfaces level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit interfaces |
Select the interface you want to delete. |
In the Interface table, under Interface name, select the name of the interface you want to delete. For information about interface names, see Network Interface Naming. |
Enter delete interface-name |
Execute the selection. |
|
Commit the configuration change: commit |