[Contents] [Prev] [Next] [Index] [Report an Error]

# Example: Configuring MPLS over a VLAN for a LAG Bundle

The following example displays configuration of LACP for two Fast Ethernet interfaces in slot 5. The interfaces are enabled for active LACP. The speed and duplex characteristics are the same for both interfaces.

`

host1(config)#interface fastEthernet 5/0
host1(config-if)#speed 100
host1(config-if)#duplex full
host1(config-if)#lacp active
host1(config-if)#interface fastEthernet 5/1
host1(config-if)#speed 100
host1(config-if)#duplex full
host1(config-if)#lacp active

`

The following commands add the Ethernet physical interfaces to a LAG bundle named kanata.

`

host1(config)#virtual router kanata
host1:kanata(config)#interface lag kanata
host1:kanata(config-if)#member-interface fastEthernet 5/0
host1:kanata(config-if)#member-interface fastEthernet 5/1

`

The following commands configure a VLAN subinterface for the LAG bundle named kanata. In the LAG interface identification command (interface lag kanata.1), the number 1 represents the subinterface number for the VLAN subinterface.

`

host1:kanata(config-if)#encapsulation vlan
host1:kanata(config)#interface lag kanata.1
host1:kanata(config-if)#vlan id 100

`

The following command creates an MPLS interface.

`

host1:kanata(config)#mpls

`

[Contents] [Prev] [Next] [Index] [Report an Error]