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

Configuration Example

This section uses the sample network topology shown in Figure 19 to illustrate the steps for configuring S-VLAN tunnels for Ethernet layer 2 services over MPLS.

To configure S-VLAN tunnels for Ethernet layer 2 services over MPLS:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
    host1(config)#interface fastEthernet 4/0
  2. Specify VLAN as the encapsulation method to create the VLAN major interface.
    host1(config-if)#encapsulation vlan
  3. Create a VLAN subinterface.
    host1(config-if)#interface fastEthernet 8/1.1
  4. Create the S-VLAN tunnel. This interface tunnels traffic from VLANs configured with an S-VLAN ID of 33 and any VLAN ID to the same destination across the MPLS network.
    host1(config-if)#svlan id 33 any
  5. Assign an S-VLAN Ethertype.
    host1(config-if)#svlan ethertype 8100
  6. Create the MPLS tunnel interface using the appropriate MPLS tunneling command for your configuration. For example:
    host1(config-if)#route interface tunnel mpls:tunnel3 45

    For complete instructions on configuring the MPLS tunnel, see chapter Configuring Layer 2 Services over MPLS in JUNOSe BGP and MPLS Configuration Guide.

  7. Repeat Steps 1 through 6 using unique values to configure the S-VLAN tunnel and MPLS tunnel interfaces on the remote E-series router. For example:
    host2(config)#interface fastEthernet 3/1
    host2(config-if)#encapsulation vlan
    host2(config-if)#interface fastEthernet 3/1.1
    host2(config-if)#svlan id 83 any
    host2(config-if)#svlan ethertype 88a8
    host2(config-if)#route interface tunnel mpls:tunnel2 45

encapsulation vlan

interface fastEthernet

route interface

svlan ethertype

svlan id


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