Configuring IP and MPLS over a Static Ethernet Interface
Configuring IP, MPLS, and PPPoE over Ethernet
Copyright © 2010, Juniper Networks, Inc.
Chapter 4: Configuring Upper-Layer Protocols over Static Ethernet Interfaces
To configure both IP and MPLS over an Ethernet interface:
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
1.
host1(config)#interface fastEthernet 4/0
Create an IP interface.
2.
host1(config-if)#ip address 192.5.127.8 255.255.255.0
Create an MPLS interface.
3.
host1(config-if)#mpls
Figure 11 on page 155 illustrates this configuration.
Figure 11: Example of IP and MPLS Stacking Configuration Procedure
To configure IP, MPLS, and PPPoE over an Ethernet interface:
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
1.
host1(config)#interface fastEthernet 4/0
Create an IP interface.
2.
host1(config-if)#ip address 192.5.127.8 255.255.255.0
Create an MPLS interface.
3.
host1(config-if)#mpls
Create a PPPoE interface by specifying PPPoE as the encapsulation method on the
4.
interface.
host1(config-if)#pppoe
Create a PPPoE subinterface.
5.
host1(config-if)#pppoe subinterface fastEthernet 4/1.1
Specify PPP as the encapsulation method on the interface.
6.
host1(config-if)#encapsulation ppp
Assign an IP address and mask.
7.
155