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:
- host1(config)#interface fastEthernet 4/0
- host1(config-if)#encapsulation vlan
- host1(config-if)#interface fastEthernet 8/1.1
- host1(config-if)#svlan id 33 any
- host1(config-if)#svlan ethertype 8100
- 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.
- 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
- host1(config)#interface fastEthernet 3/1
route interface
![]() |
Note: For details on the use of this command, see chapter Configuring Layer 2 Services over MPLS in JUNOSe BGP and MPLS Configuration Guide. |
svlan ethertype
- host1(config-if)#svlan ethertype 8100
svlan id
- host1(config-if)#svlan id 1000 any