cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
331
Views
1
Helpful
7
Replies

xconnect to ASR1001-x and layer 3 termination

gregsamadams
Level 1
Level 1

Hi,
I have a requirement to take a service from a supplier who is directly connected to a Cisco ASR 9001 and is providing services via tagged vlans.

I need to terminate this service on a Cisco ASR 1001-x in the network. I thought the best way would be to create an xconnect between the ASR 9001 and the ASR1002-x (which I have done), however, I also need to put an IP address on the interface that is now terminating on the ASR1001-x so that the customer at the other end of the service has a IP gateway. To simplifiy, I need to stretch the vlan from the ASR9001 to the ASR1001-x and provide a gateway on the same device.

Can anyone offer a way to achieve this?

Thanks.

7 Replies 7

M02@rt37
VIP
VIP

Hello @gregsamadams 

is it MPLS and BGP environment ?

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hi,

Yes it is a mpls and BGP environment

Try use BDI and assign IP to it BVI interface 

MHM

I've tried a bdi interface, but I couldn't make it work.  I'll post my config below - it wouldn't let me configure it as per the below as I can't have the xconnect interface and the service instance in the same vlan.  I typed this ib by memory, so I may have missed a line or two.

 

int ten 0/0/0

service instance 100 ethernet
    encapsulation dot1q 100
    rewrite ingress tag pop 1 symmetric
    bridge-domain 100
 
int ten0/0/0.100
encapsulation dot1q 100
xconnect 192.168.1.1 2000 encapsulation mpls
 
int bdi 100
ip address 10.1.1.1 255.255.255.252

@gregsamadams 

You need to remove the xconnect and rely on a bridge domain to extend the vlan to the ASR 1001x. The BDI will provide the IP gateway...

ASR 9001

interface TenGigE0/0/0/0
service instance 100 ethernet
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100

l2vpn
bridge group CUSTOMER-VLAN
bridge-domain 100
interface TenGigE0/0/0/0 service-instance 100
neighbor 192.168.1.2 pw-id 2000 encapsulation mpls

1001-x

interface TenGigE0/0/0/0
service instance 100 ethernet
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100

interface BDI100
ip address 10.1.1.1 255.255.255.252
!
l2vpn
bridge group CUSTOMER-VLAN
bridge-domain 100
interface TenGigE0/0/0/0 service-instance 100
routed interface BDI100

--This should allow your vkan id 100 to be stretched between the devices while also providing an ip Gw on the ASR 1001-x

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hmmm,

I don't have any bridge options under the l2vpn section.  This is all the options available -

asr1001(config-l2vpn)#?

L2VPN configuration commands:
default Set a command to its defaults
exit Exit from L2VPN configuration mode
logging Configure logging flags
no Negate a command or set its defaults
pseudowire Configure l2vpn pseudowire parameters
redundancy Configure L2VPN redundancy parameters
router-id Configure a Layer2 router-id
shutdown Shutdown Layer2 VPN

I got this working and  I'll post the config a little later when I get to work.

I'm not sure if it's the only way to achieve the outcome, but it will do me for now