We are running Cisco ASR9k atm, but i got my hands on some Juniper gear (MX204 and QFX switches). And since i'm fairly new to Junos i thought i'd ask how to convert my IOS-XR config to Junos.
Here's the IOS-XR config:
l2vpnbridge group 500bridge-domain BD500interface Bundle-Ether22.500!neighbor 10.0.0.6 pw-id 10001!!!!interface Bundle-Ether22.500 l2transportencapsulation dot1q 500rewrite ingress tag pop 1 symmetric!
I would like to span one VLAN over my MPLS network. Like this:
VLAN500 QFX ---- L2-trunk ---- MX204 ---- L3-MPLS ---- MX204 ---- L2-trunk ---- QFX VLAN500
l2vpnxconnect group CUST300p2p 30001interface GigabitEthernet0/2/0/35neighbor ipv4 10.0.0.38 pw-id 30001!!!!
interface GigabitEthernet0/2/0/35description CUST300mtu 1614negotiation autol2transport!!
Here i just like to forward untagged and tagget packages from one end to another.
I see you are looking to convert configuration in IOS to JunOS. If you have access to Juniper support website then there is a tool called IOS to JunOS translator which can easily help you convert.
This is the kb article: https://kb.juniper.net/InfoCenter/index?page=content&id=KB13220&cat=JUNOS_PLATFORM&actp=LIST
Link to the tool: https://migrationtools.juniper.net/i2j/index.jsp
Also, you can check the Juniper documentation. I am sure you can easily navigate through.
Do hit kudos if you find this useful, mark "accept as a solution" so other enthusiasts are directed to this post without them having to repost!! 🙂
I did try it, but it couldn't convert the configurations i pasted.
Is it even designed for IOS-XR configuration?
Please try below configuration
set interfaces ge-* unit * encapsulation vlan-cccset interfaces ge-* unit * vlan-id *set interfaces ge-* unit * input-vlan-map popset interfaces ge-* unit * output-vlan-map push
set protocols l2circuit neighbor 10.0.0.6 interface ge-* virtual-circuit-id 10001
set interfaces ge-* unit * encapsulation vlan-cccset interfaces ge-* unit * vlan-id *
set protocols l2circuit neighbor 10.0.0.6 interface ge-* virtual-circuit-id 30001
Accept as Solution = coolAccept as Solution+Kudo = You are a Star
I'm looking to add the mpls neighbor to a bridge-domain, like in the ios-xr config.
Is that possible?Should i add it under the set bridge domain <name> or under set protocols l2circuit neighbor <ip address> interface <something>