virtual-router
Example: Configuring an IP Interface for a LAG Bundle
Example: Configuring a PPPoE Subinterface for a LAG Bundle
Copyright © 2010, Juniper Networks, Inc.
Use to create a PPPoE subinterface on a LAG bundle.
Example
host1(config-if)#pppoe subinterface lag boston.1
Use the no version to remove the PPPoE subinterface from the LAG bundle.
See pppoe subinterface.
From Global Configuration mode, use this command to create a virtual router or access
the context of a previously created virtual router or a VRF.
Example
host1(config)#virtual-router boston
Use the no version of the command only to delete the VR and return the router to the
default VR.
See virtual-router.
The following example displays configuration of LACP for two Fast Ethernet interfaces
in slot 0. The interfaces are enabled for active LACP. The speed and duplex characteristics
are the same for both interfaces.
host1(config)#interface fastEthernet 0/0
host1(config-if)#speed 100
host1(config-if)#duplex full
host1(config-if)#lacp active
host1(config-if)#interface fastEthernet 0/5
host1(config-if)#speed 100
host1(config-if)#duplex full
host1(config-if)#lacp active
The following commands create a virtual router, add the Ethernet physical interfaces to
a LAG bundle named bundleBoston, and assign an IP address and mask to the bundle.
host1(config)#virtual-router boston
host1:boston(config)#interface lag boston
host1:boston(config-if)#member-interface fastEthernet 0/0
host1:boston(config-if)#member-interface fastEthernet 0/5
host1:boston(config-if)#ip address 1.1.1.1 255.255.255.0
The following example displays LACP configuration for two Fast Ethernet interfaces in
slot 4. The interfaces are enabled for passive LACP. The speed and duplex characteristics
are the same for both interfaces.
host1(config)#interface fastEthernet 4/0
host1(config-if)#speed 100
host1(config-if)#duplex full
Chapter 6: Configuring 802.3ad Link Aggregation and Link Redundancy
205