
Chapter 6 | CLI – Layer 3 |
|
|
Router-OSPF Mode
area Command
Use the area command to configure the area ID of the router. The no form of this command deletes the area ID of the router (sets it to 0) and removes the stub definition. The default area is 0.0.0.0.
Note: You cannot define a stub area when OSPF is redistributing other protocols or when the Area ID is 0.0.0.0.
The syntax for this command is:
[no] area <area id> [<stub>]
area id | IP address |
stubStub
Example:
network Command
Use the network command to enable OSPF in this network. The no form of this command disables the OSPF in this network. The default is disabled.
The syntax for this command is:
network <net addr> [<wildcard-mask> [area <area id>]]
net addr | IP address |
Wildcard mask address | |
area id | Area ID. This parameter exists for compatibility with |
| P550. |
Example:
166 |