•
•
In BGP signaling, the bridge domain only operate in ethernet mode.
PE1# config
PE1(config)# mpls
PE1(config-mpls)# l2vpn
PE1(config-l2vpn)# vpls MARTINI_br
PE1(config-l2vpn-vpls)# transport-mode vlan
PE1# sh mpls l2vpn pseudowire
Neighbor PW ID Sig Type Status
--------------------------------------- ---------- --- ---------- ------
10.10.0.2 200 LDP Eth Tagged Up
Рассмотрим правила обработки трафика:
1.Ethernet (Raw) mode:
If AC is a subinterface, the vlan tag is removed before putting it in the bridge. Upon leaving the bridge,
the vlan tag is restored.
If AC is an interface, then tagged and untagged traffic flows in both directions without modification.
Suppose PE1 and PE2 are configured in ethernet mode (Figure 2). On the PE1 side, gigabitethernet 1/0/4.100
subinterface is included in the bridge domain, so the vlan tag (vlan id 100) from incoming traffic will be
removed before being placed in Pseudowire 10 (respectively, restored when traffic to the AC side). On the
other side the AC on PE2, is an interface, which means that traffic will pass through without modification in
either direction.
In LDP signaling, the transport mode is matched between PEs during pseudowire creation, so it must
match on both PEs.