No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.

Knowledge Base

FAQ-Virtual-template interface configured with ospf with bfd

Publication Date:  2018-10-19  |   Views:  428  |   Downloads:  0  |   Author:  f84038637  |   Document ID:  EKB1001930766


Issue Description

Device: NE20-S2F

About Virtual-Template interfaces for the use with pppoe (bras) functions. There are multiple routing protocols supported with lots options (eg. IS-IS, RIP etc. with BFD etc.), but there isnt any options to use ospf or ospf with bfd with it.

To the background: it is to speed-up the reachability betwen bras-router and client-router (ar1220) or full ospf usage . So, need to deploy “OSPF over PPPOE” for the function to detect failures faster as PPPoE/LCP.

IS-IS and RIP are configurable in Virtual-Template for PPPoE, but no option for OSPF.


To configure BGPOverPPPoE,  must assign a fixed IP address for CPE. Must design the CPE IP address allocation in advance. Can do this on Radius server, assign a fixed IP by the radius attribute “Framed-IP-Address” and “Framed-IP-Netmask”. After decide the CPE IP address, then can configure BGP as normal.

For example, decide to assign  a fixed IP X.X.2.2 to CPE, after CPE login, can see below information:




  User access index             : 64

  State                         : Used

  User name                     : @www

  Domain name                   : www

  User backup state             : No

  RUI user state                : -

  User access interface         : Eth-Trunk1.3987

  User access physical interface: GigabitEthernet0/3/2

  User access PeVlan/CeVlan     : 3987/-

  User access slot              : 0

  User MAC                      : 1111-1111-1111

  User IP address               : X.X.2.2(Radius)   ///radius assign a fixed IP for CPE

  User IP netmask               :

  User gateway address          : X.X.2.1(Radius)

Configure BGP peer as normal:



bgp over pppoe enable

local-user admin password irreversible-cipher XXX

local-user admin service-type terminal ssh

local-user admin level 3

local-user admin state active




bgp 47548


undo default ipv4-unicast

peer X.X.2.2 as-number 47548