Configure an OSPF area.
Allows to create an OSPF area, which will contain a set of the router's interfaces. The interfaces of differents routers belonging to the same area will interchange routing information.
...
-d : Deletes the given area.
Example
Code Block |
---|
ospf:configureArea router:junos20 0.0.0.0 |
Add interface to an OSPF Area.
Once an OSPF area has been created, you can add interfaces to the list of interfaces belonging to an specific group.
Code Block |
---|
ospf:configureInterfaceInArea router:router-name area-id interfaces |
Arguments
area-id: Name of the area to add interfaces to.
interfaces: List of interfaces to add.
Options
-d :Deletes the list of interfaces from the OSPF area, instead of adding them.
Example
Code Block |
---|
ospf:configureInterfaceInArea:configureArea -d router:junos20 0.0.0 fe-0/1/0.2 ge-0/0/1.1 |
Activate OSPF
In order to start sending OSPF LSAs packets and update the routing tables according to it, OSPF protocol has to be activated in the router.
Code Block |
---|
ospf:activate router:router-name |
Deactivate OSPF
Deactivates OSPF protocol in the router.
Code Block |
---|
ospf:deactivate router:router-name |