beautypg.com

Network area, Prefix length format – Allied Telesis AT-S83 User Manual

Page 340

background image

Chapter 15: Open Shortest Path First (OSPF) Commands

340

NETWORK AREA

Syntax

network A.B.C.D/M|A.B.C.D

X.Y.Z.W area A.B.C.D|<0-

4294967295>

no network A.B.C.D/M|A.B.C.D

X.Y.Z.W area A.B.C.D|<0-

4294967295>

Parameters

A.B.C.D/M

Indicates a IPv4 network address followed by a
subnet mask address (in prefix length format).

A.B.C.D X.Y.Z.W

Specifies an IPv4 network address followed by a
wildcard mask.

A.B.C.D

Specifies an OSPF Area ID in IPv4 address format.

<0-4294967295>

Specifies an OSPF Area ID as 4 octets unsigned
integer value.

Description

Use the NETWORK AREA command to enable OSPF routing with a
specified Area ID on interfaces with IP addresses that match the specified
network address. You can assign one area to multiple network addresses.
By default, no network area is configured. You can perform the same task
with the HOST AREA command.

OSPF routing can be enabled per IPv4 subnet basis. Each subnet can
belong to one particular OSPF area. A network address can be defined
using 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.

There are two ways to define the subnet mask. You can define the subnet
mask in the traditional way or you can use the prefix length format as an
abbreviated method of defining a subnet mask. SeeTable 17.

Table 17. Prefix Length Format

Prefix Length

Format

Subnet Mask

/8

255.0.0.0

/16

255.255.0.0

/24

255.255.255.0