JunosE 11.2.x Link Layer Configuration Guide
Configuring a VLAN Subinterface for a LAG Bundle
Configuring a PPPoE Subinterface for a LAG Bundle
Configuring MPLS for a LAG Bundle
202
host1(config-if)#ip address 192.5.127.8 255.255.255.0
To configure a VLAN subinterface for the LAG bundle, perform the following steps:
Specify VLAN as the encapsulation method.
1.
host1(config-if)#encapsulation vlan
Specify the VLAN subinterface for the LAG bundle by adding a unique subinterface
2.
number to the LAG interface identification command.
host1(config)#interface lag bundleBoston.1
Assign a VLAN ID for the subinterface.
3.
host1(config-if)#vlan id 203
Assign an IP address and mask.
4.
host1(config-if)#ip address 192.168.1.1 255.255.0.0
To configure a PPPoE subinterface for the LAG bundle, perform the following steps:
Specify PPPoE as the encapsulation method.
1.
host1(config-if)#encapsulation pppoe
Specify the PPPoE subinterface for the LAG bundle in either of the following ways:
2.
Use the interface lag command to add a unique subinterface number to the LAG
bundle name.
host1(config)#interface lag bundleBoston.2
Use the pppoe subinterface lag command to add a unique subinterface number
to the LAG bundle name.
host1(config)#pppoe subinterface lag bundleBoston.2
Specify PPP as the encapsulation method on the PPPoE subinterface.
3.
host1(config-if)#encapsulation ppp
Assign an IP address and mask.
4.
host1(config-if)#ip address 192.168.1.2 255.255.0.0
You can also configure a PPPoE subinterface over a VLAN subinterface over a LAG bundle.
For an example of this configuration, see "Example: Configuring a PPPoE Subinterface
over a VLAN for a LAG Bundle" on page 206.
To configure MPLS for a LAG bundle, perform the following steps:
Specify the LAG bundle.
1.
host1(config)#interface lag bundleBoston
Copyright © 2010, Juniper Networks, Inc.