pppoe_local.cfg

Skip to end of metadata
Go to start of metadata
configure
cont local
!!! укзаываем все нужные маршруты из контекста маршрутизации в контекст pppoe подробонее см. ipoe_bgp.cfg.tmplt

@@@ for route in abon_nets
ip route {{route.net}} context {{ctx_name}}
@@@ endfor
!
@@@ for route in reverse_routes
ip route {{route.net}} {{route.gw}}
@@@ endfor
!
@@@ for policy in nat_policy
 @@@ for pool in policy.nat_pool
    ip route {{pool}} context {{ctx_name}}
 @@@ endfor
@@@ endfor
!
@@@ for bind in abon_binds
 @@@ if bind.if_ip
      ip route {{bind.if_ip}} context {{ctx_name}}
 @@@ endif
@@@ endfor
!
@@@ if context_ip
ip route {{context_ip}} context {{ctx_name}}
@@@ endif

end
exit

[root@10.90.3.63  tmplt(integra)]#
Введите метки, чтобы добавить к этой странице:
Please wait 
Ищите метку? просто начните печатать.