[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring MPLS
over VLAN
To configure MPLS over VLAN over a bridged Ethernet
interface:
- Follow the steps in Configuring VLAN Subinterfaces over Bridged Ethernet to
configure the VLAN subinterface.
- Enable MPLS on the VLAN subinterface.
- host1(config-subif)#mpls
atm pvc
- Use to configure a PVC on an ATM interface. Specify one
of the following encapsulation types:
-
aal5snap—Specifies a
logical link control (LLC) encapsulated circuit; LLC/Subnetwork Access
Protocol (LLC/SNAP) header precedes the protocol datagram.
-
aal5mux ip—Specifies
a VC multiplexed circuit. This option is used for IP only.
- Example
- host1(config-subif)#atm pvc 1 5 50 aal5snap
0 0 0
- Use the no version to remove
the specified PVC.
- See atm pvc.
encapsulation bridge1483
- Use to configure bridged Ethernet as the encapsulation
method on an ATM 1483 subinterface.
- Example
- host1(config-subif)#encapsulation bridge1483
- Use the no version to remove
bridged Ethernet as the encapsulation method on the interface.
- See encapsulation bridge1483.
encapsulation ppp
- Use to configure PPP as the encapsulation method on an
interface.
- Example
- host1(config-subif)#encapsulation ppp
- Use the no version to remove
PPP as the encapsulation method on the interface.
- See encapsulation ppp.
encapsulation vlan
- Use to configure VLAN as the encapsulation method on an
interface.
- Example
- host1(config-subif)#encapsulation vlan
- Use the no version to remove
VLAN as the encapsulation method on the interface.
- See encapsulation vlan.
interface atm
- Use to configure an ATM interface, ATM 1483 subinterface,
or VLAN subinterface.
- On ERX-7xx models, ERX-14xx models, and the ERX-310 router,
use the slot/port.subinterface.vlanSubinterface format.
- On E120 and E320 routers, use the slot/adapter/port.subinterface.vlanSubinterface format.
- For more information, see Creating a Basic Configuration in Configuring ATM .
- Example 1—Configures a VLAN subinterface over bridged
Ethernet on ERX-7xx models, ERX-14xx models, and the ERX-310 router
- host1(config)#interface atm 4/2.2 point-to-point
- host1(config-subif)#interface atm 4/2.2.3
- Example 2—Configures a VLAN subinterface over bridged
Ethernet on the E320 router
- host1(config)#interface atm 4/0/2.2 point-to-point
- host1(config-subif)#interface atm 4/0/2.2.3
- Use the no version to remove
the interface or subinterface.
- See interface atm.
ip address
- Use to set an IP address for the interface.
- Note that you cannot add more than one IP address to bridged
Ethernet interfaces.
- Example
- host1(config-subif)#ip address 10.1.2.3 255.255.255.255
- Use the no version to remove
the IP address.
- See ip address.
mpls
- Use to enable, disable, or delete MPLS on an interface.
MPLS is disabled by default.
- Example
- host1(config)#mpls
- Use the no version to halt
MPLS on the interface and delete the MPLS interface configuration.
- See mpls.
pppoe
- Use to create a PPPoE major interface.
- Example
- host1(config-subif)#pppoe
- Use the no version to remove
the PPPoE major interface.
- See pppoe.
pppoe subinterface atm
- Use to create a PPPoE subinterface over a VLAN subinterface
configured on a bridged Ethernet interface.
- On ERX-7xx models, ERX-14xx models, and the ERX-310 router,
use the slot/port.atmSubinterface.vlanSubinterface.pppoeSubinterface format.
- On E120 and E320 routers, use the slot/adapter/port.atmSubinterface.vlanSubinterface.pppoeSubinterface format.
- Examples
- host1(config)#pppoe subinterface atm 4/0.1.2.1
- host1(config)#pppoe subinterface atm 4/1/0.1.2.1
- Use the no version to remove
the PPPoE subinterface.
- See pppoe subinterface.
vlan id
- Use to specify the VLAN ID.
- Use a VLAN ID that is in the range 0–4095 and is
unique within the interface.
- Issue the vlan id command before
any upper bindings are made, such as IP or PPPoE.
- Use the optional keyword untagged to specify that frames be sent untagged. The keyword is valid only
for VLAN ID 0. It allows tagged frames to be received, but sends out
untagged frames.
- Example
- host1(config-subif)#vlan id 400
- There is no no version.
- See vlan id.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]