Your router has an Ethernet interface and you want to configure it.
Use the following command to activate a Fast Ethernet interface:
[edit interfaces] aviva@router1#
fe-0/0/3unit 0 family inet address
Use the following commands to activate a Gigabit Ethernet interface:
[edit interfaces] aviva@M5#
ge-0/2/0unit 0 family inet6 address
ge-0/2/0unit 0 family iso
The basic configuration for
Ethernet interfaces is very straightforward. Just assign the desired addresses, and the interface is up and running. Here, for the Fast Ethernet interface, we configure an IPv4 address, and for the Gigabit Ethernet interface, we configure an IPv6 address and the
iso family (for
IS-IS). You can also configure other address families depending on the protocols that the interface needs to support.
With this configuration, the
show interfaces output displays the default JUNOS settings for
Ethernet interfaces. The Fast
Ethernet defaults are highlighted:
show interfacesPhysical interface: fe-0/0/3, Enabled, Physical link is Up Interface index: 131, SNMP ifIndex: 82
Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled,
Source filtering: Disabled, Flow control: EnabledDevice flags : Present Running Interface flags: SNMP-Traps 16384
Link flags : 4 CoS queues : 4 supportedCurrent address: 00:05:85:02:a4:03, Hardware address: 00:05:85:02:a4:03 Last ...