GRE tunnel for L3VPN

Latest reply: Nov 16, 2015 07:33:50 2053 1 0 0

GRE tunnel for L3VPN-1344877-1

Generally speaking, we use LSP tunnel, but in this case, the P router can’t support mpls, then we use GRE tunnel instead.

1.    At first, we should establish GRE tunnel between PE1 and PE2.

interface Tunnel0/2/4    (IP, tunnel protocol, source interface, destination)                                                      

 ip address                                           

 tunnel-protocol gre                                                            

 source LoopBack0                                                              


2.    How to make BGP use GRE tunnel? We just need to configure tunnel-policy at first and then use it under vpn-instance view.

tunnel-policy gre                                                              

 tunnel select-seq gre load-balance-number 1   

ip vpn-instance vpn                                                            


  route-distinguisher 10:1                                                     

  tnl-policy gre                                                                

  vpn-target 100:1 export-extcommunity                                         

  vpn-target 100:1 import-extcommunity 

3.    After that, we can see vpn routing using GRE tunnel as interface.

dis ip routing-table vpn-instance vpn                              

Route Flags: R - relay, D - download to fib                                    


Routing Tables: vpn                                                            

         Destinations : 5        Routes : 5                                    


Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface     

                                                                                                                                                   IBGP    255  0          RD         Tunnel0/2/4 

  • x
  • convention:

Created Nov 16, 2015 07:33:50 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:


You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits