03-30-2025 09:30 PM
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.
03-31-2025 12:04 AM
Hello @gregsamadams
is it MPLS and BGP environment ?
03-31-2025 02:04 AM
Hi,
Yes it is a mpls and BGP environment
03-31-2025 01:15 AM
Try use BDI and assign IP to it BVI interface
MHM
03-31-2025 02:17 AM
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
03-31-2025 02:24 AM
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
03-31-2025 04:44 PM
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
04-01-2025 12:02 AM - edited 04-03-2025 05:15 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide