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:

Router-N(configure router:ospf)# area 192.168.49.1

Router-N(configure router:ospf)# area 192.168.49.1 stub

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

Wildcard mask address

area id

Area ID. This parameter exists for compatibility with

 

P550.

Example:

Router-N(configure router:ospf)# network 192.168.0.0

Router-N(configure router:ospf)# network 192.168.0.0 0.0.255.255 area 0.0.0.0

166

P332G-ML User’s Guide

Page 184
Image 184
Avaya P332G-ML manual Router-OSPF Mode, Area Command, No area area id stub, Area id IP address StubStub