fin TP3
This commit is contained in:
6
TP_03/templates/config_ospf.j2
Normal file
6
TP_03/templates/config_ospf.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
router ospf 1
|
||||
router-id {{ id_router }}
|
||||
{% for network in networks %}
|
||||
network {{ network }} area 0
|
||||
{% endfor %}
|
||||
end
|
||||
@@ -4,7 +4,7 @@ interface {{ interface.name }}
|
||||
no shutdown
|
||||
exit
|
||||
|
||||
{%- elif "3/0" == interface.name %}
|
||||
{%- elif "g3/0" == interface.name %}
|
||||
interface {{ interface.name }}
|
||||
no shutdown
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user