pppoe_local.cfg

Версия 1 oleg
на сен 09, 2015 14:35.

по сравнению с
Текущая oleg
на сен 09, 2015 14:36.

Ключ
Эта строка удалена.
Это слово было удалено. Это слово было добавлено.
Эта строка добавлена.

Изменения (12)

просмотр истории страницы
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}}
end
exit

[root@10.90.3.63  tmplt(integra)]#
{code}