OSPF Commands
©2008 Allied Telesis Inc. All rights reserved.
30.42
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
network area
Use this command to enable OSPF routing with a specified Area ID on interfaces with IP
addresses that match the specified network address.
Use the
no
parameter with this command to disable OSPF routing on the interfaces.
Syntax
network <network_address> area <area_id>
no network <network_address> area <area_id>
Default
No
network area
is configured.
Mode
Router mode
Usage
OSPF routing can be enabled per IPv4 subnet. The network address can be defined using either
the prefix length or a wild card mask. A wild card mask is comprised of consecutive
0’s
as
network bits and consecutive
1’s
as host bits.
Examples
awplus#configure terminal
awplus(config)#router ospf 100
awplus(config-router)#network 10.0.0.0/8 area 3
awplus(config-router)#network 10.0.0.0/8 area 1.1.1.1
Parameter
Description
<network_address>
{
A.B.C.D/M
|
A.B.C.D X.Y.Z.W
}
A.B.C.D/M
IPv4 network address with prefix length.
A.B.C.D
IPv4 network address.
X.Y.Z.W
Wildcard mask.
<area_id>
{
A.B.C.D
|
<0-4294967295>
}
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as 4 octets unsigned integer value.