Configuring Higher-Level Protocols over Ethernet
You can configure one or more protocols over Ethernet with or without VLANs. This section focuses on non-VLAN configurations only. You can configure the following higher-level protocols on Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet interfaces:
The Ethernet configuration examples in this section use combinations of these protocols. Figure 30 illustrates how different protocols can be multiplexed over a single physical link without the use of VLANs.
![]()
The following sections describe how to create the following common non-VLAN configurations, which you can configure on Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet interfaces:
- IP over Ethernet
- PPPoE over Ethernet
- IP over Ethernet and MPLS over Ethernet
- IP over Ethernet, MPLS over Ethernet, and PPPoE over Ethernet
Configuring IP over Ethernet
To configure IP over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#interface fastEthernet 4/1- Create an IP interface.
host1(config-if)#ip address 192.5.127.8 255.255.255.0Figure 31 illustrates this configuration.
![]()
Configuring PPPoE over Ethernet
To configure PPPoE over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#interface fastEthernet 4/1- Specify PPPoE as the encapsulation method on the interface.
host1(config-if)#pppoe- Create a PPPoE subinterface.
host1(config-if)#pppoe subinterface fastEthernet 4/1.1- Specify PPP as the encapsulation method on the interface.
host1(config-if)#encapsulation ppp- Assign an IP address and mask.
host1(config-if)#ip address 164.10.6.51 255.255.255.0- (Optional) Configure additional PPPoE subinterfaces by completing Steps 3 through 5 using unique numbering.
Figure 32 illustrates this configuration.
![]()
Configuring IP and MPLS over Ethernet
To configure both IP and MPLS over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#interface fastEthernet 4/0- Create an IP interface.
host1(config-if)#ip address 192.5.127.8 255.255.255.0- Create an MPLS interface.
host1(config-if)#mplsFigure 33 illustrates this configuration.
![]()
Configuring IP, MPLS, and PPPoE over Ethernet
To configure IP, MPLS, and PPPoE over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#interface fastEthernet 4/0- Create an IP interface.
host1(config-if)#ip address 192.5.127.8 255.255.255.0- Create an MPLS interface.
host1(config-if)#mpls- Create a PPPoE interface by specifying PPPoE as the encapsulation method on the interface.
host1(config-if)#pppoe- Create a PPPoE subinterface.
host1(config-if)#pppoe subinterface fastEthernet 4/1.1- Specify PPP as the encapsulation method on the interface.
host1(config-if)#encapsulation ppp- Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0- (Optional) Configure additional PPPoE subinterfaces by completing Steps 5 through 7 using unique numbering.
Figure 34 illustrates this configuration.
![]()
mpls
host1(config)#mplsUse the no version to halt MPLS on the interface and delete the MPLS interface configuration. Ethernet Link Aggregation and MPLS
CE-side load balancing in a Martini layer 2 transport environment enables an E-series router to interoperate with an 802.3ad switch in a topology designed for Ethernet link aggregation. See JUNOSe BGP and MPLS Configuration Guide, Chapter 5, Configuring Layer 2 Services over MPLS for more information.