Got it

problem in establishing vpls between Huawei s5720 with mikrotik

Created: Oct 9, 2020 16:02:44Latest reply: Oct 15, 2020 12:21:31 1393 12 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi 


I'm trying to test LDP base VPLS between mikrotik and huawei . It's look like in Huawei you called it Martini VPLS . I found this example configuration

example configuration


 and I made a simple lab 

SW-S5720-EI    -------------------------------- R1(MT Router)------------------------R2 (MT Router)

and there is my coongiguration in SW : 

#
sysname SW1
#
.
.
#
mpls lsr-id 1.1.1.1
mpls
#
mpls l2vpn
#
vsi sw1 static
 pwsignal ldp
  vsi-id 2
  peer 3.3.3.3
#
mpls ldp
#
#
mpls ldp remote-peer 3.3.3.3
 remote-ip 3.3.3.3
#
.
.

interface Vlanif10
 l2 binding vsi sw1
#
interface MEth0/0/1
#
.
.

#
interface GigabitEthernet0/0/12
 undo portswitch
 ip address 192.168.12.1 255.255.255.252
 mpls
 mpls ldp
#
interface GigabitEthernet0/0/13
#
.
.

#
interface LoopBack1
 ip address 1.1.1.1 255.255.255.255
#
ospf 1 router-id 1.1.1.1
 area 0.0.0.0
  network 0.0.0.0 255.255.255.255

and this is mikrotik r2 configuration : 

/interface bridge
add name=lo

/interface vpls
add cisco-style=yes cisco-style-id=2 disabled=no l2mtu=1500 mac-address=\
    02:79:72:BF:B6:28 name=vpls1 remote-peer=1.1.1.1

/routing ospf instance
set [ find default=yes ] router-id=3.3.3.3

/ip address
add address=3.3.3.3 interface=lo network=3.3.3.3
add address=192.168.23.2/30 interface=ether1 network=192.168.23.0
/mpls ldp
set enabled=yes lsr-id=3.3.3.3 transport-address=3.3.3.3
/mpls ldp interface
add interface=ether1
/routing ospf network
add network=0.0.0.0/0 area=backbone
/system identity
set name=R2

I just cut irrelevant configuration . 

and I config mikrotik routers , every thing look works good ! 

ospf is working , mpls is working , ...

but VPLS interface in Mikrotik R2 isn't running . 

any idea where I did it wrong ? 



Featured Answers
chenhui
Admin Created Oct 10, 2020 15:22:34

Posted by Mehrzadmo at 2020-10-10 04:41 Hi @chenhuei, Thanks for your fast response . as you see in my configuration I did this .mpls ldp ...
Hi,
Sorry, I just missed the configuration.
From the Mikrotik configuration, it seems that the VSI encapsulation on both side are not same. Please try modify the S5720 VPLS encapsulation type to ethernet, which now is VLAN.
View more
  • x
  • convention:

user_4237671
user_4237671 Created Nov 7, 2021 05:17:16 (0) (0)
 

Recommended answer

chenhui
Admin Created Oct 10, 2020 01:13:18

Hi Mehrzadmo,
S5720 and Mikrotik router is not connected directly. You missed the remote MPLS LDP configuration.
Please configure the following configuration on S5720 side, and the corresponding configuration on Mikrotik router.

[S5720] mpls ldp remote-peer 3.3.3.3
[S5720-mpls-ldp-remote-3.3.3.3] remote-ip 3.3.3.3
[S5720-mpls-ldp-remote-3.3.3.3] quit

If you have the configuration on both side, please help to check the VSI status on S5720 through command display vsi name sw1 verbose
View more
  • x
  • convention:

Chanbora
Chanbora Created Nov 7, 2021 05:30:13 (0) (0)
 
All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

Hi Mehrzadmo,
S5720 and Mikrotik router is not connected directly. You missed the remote MPLS LDP configuration.
Please configure the following configuration on S5720 side, and the corresponding configuration on Mikrotik router.

[S5720] mpls ldp remote-peer 3.3.3.3
[S5720-mpls-ldp-remote-3.3.3.3] remote-ip 3.3.3.3
[S5720-mpls-ldp-remote-3.3.3.3] quit

If you have the configuration on both side, please help to check the VSI status on S5720 through command display vsi name sw1 verbose
View more
  • x
  • convention:

Chanbora
Chanbora Created Nov 7, 2021 05:30:13 (0) (0)
 

Hi @chenhuei,
Thanks for your fast response . as you see in my configuration I did this .

mpls ldp
#
mpls ldp remote-peer 3.3.3.3
 remote-ip 3.3.3.3

and there is result of the command you asked :

[SW1]disp vsi name sw1 verbose

 ***VSI Name               : sw1
    Administrator VSI      : no
    Isolate Spoken         : disable
    VSI Index              : 0
    PW Signaling           : ldp
    Member Discovery Style : static
    PW MAC Learn Style     : unqualify
    Encapsulation Type     : vlan
    MTU                    : 1500
    Diffserv Mode          : uniform
    Mpls Exp               : --
    DomainId               : 255
    Domain Name            :
    Ignore AcState         : disable
    P2P VSI                : disable
    Create Time            : 0 days, 0 hours, 10 minutes, 8 seconds
    VSI State              : down

    VSI ID                 : 2
   *Peer Router ID         : 3.3.3.3
    Negotiation-vc-id      : 2
    primary or secondary   : primary
    ignore-standby-state   : no
    VC Label               : 1024
    Peer Type              : dynamic
    Session                : up
    Tunnel ID              : 0x48000006
    Broadcast Tunnel ID    : 0x48000006
    Broad BackupTunnel ID  : 0x0
    CKey                   : 2
    NKey                   : 1
    Stp Enable             : 0
    PwIndex                : 0
    Control Word           : disable
    BFD for PW             : unavailable

    Interface Name         : Vlanif10
    State                  : down
    Access Port            : false
    Last Up Time           : 0000/00/00 00:00:00
    Total Up Time          : 0 days, 0 hours, 0 minutes, 0 seconds


View more
  • x
  • convention:

Posted by Mehrzadmo at 2020-10-10 04:41 Hi @chenhuei, Thanks for your fast response . as you see in my configuration I did this .mpls ldp ...
Hi,
Sorry, I just missed the configuration.
From the Mikrotik configuration, it seems that the VSI encapsulation on both side are not same. Please try modify the S5720 VPLS encapsulation type to ethernet, which now is VLAN.
View more
  • x
  • convention:

user_4237671
user_4237671 Created Nov 7, 2021 05:17:16 (0) (0)
 

Thanks a lot ! In MT side is working now . 

I changed the encapsulation to ethernet and mikrotik vpls is running . but in my switch I got this : 

[SW1]disp vsi
Total VSI number is 1, 0 is up, 1 is down, 1 is LDP mode, 0 is BGP mode, 0 is BGPAD mode, 0 is mixed mode, 0 is unspecified mode
--------------------------------------------------------------------------
Vsi                             Mem    PW    Mac       Encap     Mtu   Vsi
Name                            Disc   Type  Learn     Type      Value State
--------------------------------------------------------------------------
sw1                             static ldp   unqualify ethernet  1500  down

It's look like the vsi is down . Its correct or I missed some thing else ?

there is my new configuration on my switch :

mpls lsr-id 1.1.1.1
mpls
#
mpls l2vpn
#
vsi sw1 static
 pwsignal ldp
  vsi-id 2
  peer 3.3.3.3
 encapsulation ethernet
#
mpls ldp
#
mpls ldp remote-peer 3.3.3.3
 remote-ip 3.3.3.3
#
interface Vlanif10
 l2 binding vsi sw1
#
interface GigabitEthernet0/0/11
 undo portswitch
 ip address 192.168.12.1 255.255.255.252
 mpls
 mpls ldp
#
interface LoopBack1
 ip address 1.1.1.1 255.255.255.255
#
ospf 1 router-id 1.1.1.1
 area 0.0.0.0
  network 0.0.0.0 255.255.255.255
#



View more
  • x
  • convention:

Posted by Mehrzadmo at 2020-10-11 07:34 Thanks a lot ! In MT side is working now . I changed the encapsulation to ethernet and mikrotik vpl ...
Hi,
The configuration seems fine.
I tried the configuration in the test enviroment, and it works fine.
From the previous detailed output, it seems that none up interface joined the VLAN 10, please check that.
View more
  • x
  • convention:

Dear Chenhui ,
Thank you very much , it's works prefect .
View more
  • x
  • convention:

thanks for share it with us!
View more
  • x
  • convention:

Posted by Mehrzadmo at 2020-10-11 10:23 Dear Chenhui , Thank you very much , it's works prefect .
My pleasure! :D
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.