Configuring Network Interfaces

Once the management and loopback interfaces are complete, you can finish configuring the network interfaces on the device. The Junos OS supports a lot of different interface types that are configured with a two-letter text identifier. Many (but not all) interface identifiers are listed in Table 6-4.

Table 6-4 Common Interface Types and Their Identifiers

Interface Type Interface Text Identifier
ATM over SONET/SDH At
Encryption Services Es
Fast Ethernet Fe
Gigabit Ethernet Ge
Loopback lo0
Router internal interface for out-of-band management fxp0
Router interface for internal management fxp1
Serial Se
Services for ES and AS PICs Sp
SONET/SDH So
T1 t1

Note that in Table 6-4, fxpo0 and lo0, which are non-user-traffic interfaces, are on the list.

The simplest way to tell which interfaces are actually installed on your device is by using the show interfaces terse command:

fred@junos-router# show interfaces terse
Interface                   Admin Link Proto Local             Remote
fe-0/0/0                    up    up
fe-0/0/0.0                  up    up   inet  192.168.10.2/24
fe-1/1/0                    up    up
fe-1/1/0.0                  up    up   inet  192.168.10.41/24
ge-1/2/0                    up    up
ge-1/2/0.0                  up    up   inet  10.0.0.1/24
ge-1/3/0                    up    up
ge-1/3/0.0                  up    up   inet6 3001::2/64
                                       iso
lo0                         up    up
lo0.0                       up    up   inet  192.168.10.1/32

The Local column in the output lists the interface addresses. Let's look at the numbers after the two-letter type and see what the “Proto” column means.

You set the protocol supported on the interface with the family keyword, and ...

Get Junos® OS For Dummies®, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.