MPLS over Routed Pseudowire

routedpseudowirerpw12292018

Routed pseudowire provides the ability to route layer 3 in addition to the layer 2 bridge frames to and from
pseudowire. Routed pseudowire is configured by assigning IP address under the bridge domain interface(BDI) in addition to the vfi command.
Multiprotocol Label Switching (MPLS), Label Distribution Protocol (LDP), and Border Gateway Protocol
(BGP) configurations are supported over routed pseudowire BDI.

Reference

Connection between bridge-domain and BDI in IOS-XE is made by setting the bridge-domain ID to the same value as the BDI number. Below is an example/conversion of configurations of XR/XE.

XR configuration:
interface GigabitEthernet0/0/0/0
description INTERFACE TO CE
l2transport
!
interface BVI1
description L3 GW ON BRIDGE DOMAIN
ipv4 address 10.0.0.254 255.255.255.0
!
l2vpn
bridge group X
bridge-domain X
interface GigabitEthernet0/0/0/0
!
neighbor 192.9.9.9 pw-id 10
!
!
!
!
end

XE configuration:

Let’s say we have topology:
PE1 (gigabitethernet2 – Service Instance 10) —-(GigabitEthernet2) CE1

PE1 and CE1 are directly connected, PE1 will have a BDI (equivalent to BVI in XR world) to be the gateway of CE1 on the subnet 10.0.0.0/24, where PE1 has 10.0.0.254/25 and CE1 has 10.0.0.1/24. Configuration below from PE1:

hostname PE1
!
l2vpn vfi context L2VPN_SERVICE_10
vpn id 10
!
bridge-domain 10
member GigabitEthernet2 service-instance 10
member vfi L2VPN_SERVICE_10
member 192.9.9.9 10 encapsulation mpls
!
!
interface GigabitEthernet2
description TO CUSTOMERS
no ip address
negotiation auto
service instance 10 ethernet
description TO CE1
encapsulation untagged
snmp ifindex persist
!
!
interface BDI10
description L2 GW CE1 – BRIDGE DOMAIN 10 / SERVICE INSTANCE 10
ip address 10.0.0.254 255.255.255.0
!
end

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s