CHAPTER 9. MPLS
154
© SAMSUNG Electronics Co., Ltd.
Establishing L2VPN with VLAN filtering on PW interface
An extension to the L2VPN design is to provide enhanced functionality for
Ethernet traffic, where the VLAN ID of the Ethernet packet can be used for
selecting the actual packets to be forwarded via the L2VPN tunnels. When
binding an MPLS L2 Circuit to an Ethernet or PPP interface, with the VLAN
encapsulation type, users can specify the VLAN IDs for classifying traffic to
flow through a specific MPLS L2VPN tunnel:
1.
Only packets matching the list of configured VLANs will be forwarded
through the L2VPN tunnel.
2.
ALL-VLAN option will default the L2VPN behavior back to the current
design, where all traffic from the interface will be forwarded through the
LSP.
The following example binds the L2 circuit on PE1 with VLAN filtering
enabled. Only packets coming in on the PE1 PW interface with VLAN ID 10
are forwarded to the remote end through L2VPN. All other packets are
dropped.
Binding an L2 Circuit on a PW interface with VLAN filtering (PE1)
Router /configure# interface ethernet 3/2
Router /configure/interface/ethernet (3/2)# switchport
Router /configure/interface/ethernet (3/2)# bridge-group 1
Router /configure/interface/ethernet (3/2)# switchport mode
trunk
Router /configure/interface/ethernet (3/2)# switchport trunk
allowed vlan add 7,10
Router /configure/interface/ethernet (3/2)# mpls-l2-circuit
MPLS
Router /configure/interface/ethernet (3/2)/mpls-l2-circuit
MPLS# encapsulation vlan
Router /configure/interface/ethernet (3/2)/mpls-l2-circuit
MPLS# add-vlan vlan-id 10
Router /configure/interface/ethernet (3/2)/mpls-l2-circuit
MPLS# exit
Router /configure/interface/ethernet (3/2)#exit
Summary of Contents for Ubigate iBG2016
Page 1: ......
Page 16: ...INTRODUCTION XIV SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 34: ......
Page 62: ...CHAPTER 4 System Logging 28 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 70: ......
Page 108: ......
Page 140: ...CHAPTER 4 RIP 104 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 156: ...CHAPTER 6 BGP 120 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 180: ...CHAPTER 8 VRRP 144 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 264: ...CHAPTER 10 QoS 228 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 272: ......
Page 298: ...CHAPTER 3 Firewall NAT 248 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 356: ...CHAPTER 5 IPSEC 306 SAMSUNG Electronics Co Ltd This page is intentionally left blank ...
Page 358: ......
Page 744: ...EQBD 000071 Ed 00 ...