Related Topics
route interface
•
•
mpls-relay
•
Ethernet Raw Mode Encapsulation for Martini Layer 2 Transport Overview on page 522
Examples: Configuring S-VLAN Subinterface with an Untagged C-VLAN ID
Consider the following example in which an S-VLAN interface is configured with an
S-VLAN ID of 4 and the C-VLAN tag as any. Only packets that are double tagged, which
contain both the S-VLAN and C-VLAN tags, are matched for this S-VLAN subinterface.
Packets that are only S-VLAN tagged and do not contain a C-VLAN tag are not matched
for the S-VLAN subinterface.
host1(config)#
interface fastEthernet 2/0
host1(config-if)#
encapsulation vlan
host1(config-if)#
interface fastEthernet 2/0.1
host1(config-if)#
svlan id 4 any
host1(config-if)#
svlan ethertype 8100
The following are the limitations in this setup when the user at the CE-side tags all the
packets from the CE-side, including C-VLAN tagged or untagged packets, with an S-VLAN
ID to identify a particular user:
•
If the S-VLAN Ethertype is 0x8100, then you must create two sub-interfaces, one for
the double-tagged packets, and the other for single-tagged packets to process both
these types of packets.
•
If the S-VLAN Ethertype is a value other than 0x8100, S-VLAN-tagged packets without
a C-VLAN ID cannot even be processed.
To enable Ethernet raw mode encapsulation and to enable the S-VLAN subinterface to
remove or add the S-VLAN tag at the PE-facing routers in the first scenario, two
pseudowires need to be created. Figure 126 on page 557 illustrates such a scenario in which
a sending CE device and a receiving CE device are connected using PE routers through a
MPLS network.
Figure 126: Martini Circuit with Two Pseudowires Between PE-Facing Routers
PE1
CE1
CE2
PE2
MPLS network
X tagged
for traffic
from CPE2
g016508
Ethernet traffic
with or without
SVLAN tag,
based on
subinterface
configuration
PW1 for double-tagged traffic
Pseudowire
PW2 for single-tagged traffic
X:Y tagged
for traffic
from CPE1
CPE1
CPE2
CVLAN Y
Untagged
557
Copyright © 2010, Juniper Networks, Inc.
Chapter 9: Configuring Layer 2 Services over MPLS
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...