ExternalLsaBlock Object


Description:

Use this in OSPFv2 to create an emulated router in an external area.

Parents: Ospfv2RouterConfig

Automatically-created children: Ipv4NetworkBlock

Relations:

Side name
(Type)
Relative Description

(MappingRouterInfoLsaRelation)

ExtendedPrefixLsa, RouterInfoLsa

Router Info LSA Mapping Relation.

ExternalLsaBlock Writable Attributes

Attribute Description
AdvertisingRouterId

Specifies the router ID of the emulated router that this object is associated with. This will be the advertising router field in the advertised LSAs.

Type: ip

Default: null

AdvertisingRouterIdStep

Advertising Router ID step. (increment value)

Type: ip

Default: 0.0.0.1

Age

Initial value, in seconds, of the LS age field in the LSA header.

Type: u16

Default: 0

Range: 0 - 3600

CheckSum

This specifies whether the LSA will be advertised with a good or bad checksum.

Type: enum

Default: GOOD

Possible Values:

Value Description
BAD

LSA will be advertised with bad checksum.

GOOD

LSA will be advertised with bad checksum.

CustomSr

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Customize SR.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enabled.

FALSE

Disabled.

CustomSrSid

Customize SID/Index for Simplified Segment Routing.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use customized SID/Index.

FALSE

Use the calculated SID/Index via Node/Prefix SID specified in device level.

ForwardingAddr

IPv4 forwarding address to use in the forwarding address field of the LSA.

Type: ip

Default: 0.0.0.0

Metric

This is the route-cost metric used when advertising the LSAs.

Type: u32

Default: 1

Range: 1 - 16777215

MetricType

Metric Type (1 or 2). Used only for external routes. This is the type of metric to be advertised. Type 1: When calculating the cost of the path to an external route, the costs of internal links are included. Type 2: Costs of internal links are not included in total cost calculation. Type 2 routes have a lower priority and are considered in path selection after Type 1 costs have been evaluated.

Type: enum

Default: TYPE1

Possible Values:

Value Description
TYPE1

Type 1.

TYPE2

Type 2.

Options

External LSA Options.

Type: enum

Default: EBIT

Possible Values:

Value Description
TBIT

TOS: Type of Service (T,0).

EBIT

External Routing: Specifies the way AS-external-LSAs are flooded (E,1).

MCBIT

Multicast: Specifies whether IP multicast datagrams are forwarded (MC,2).

NPBIT

NSSA: Specifies the handling of Type-7 LSAs (N/P,3).

EABIT

External Attribute: Specifies the router's willingness to receive and forward External-Attributes-LSAs (EA,4).

DCBIT

Demand Circuit: Specifies the router's handling of demand circuits (DC,5).

OBIT

Opaque: Specifies the router's willingness to receive and forward Opaque LSAs as specified in RFC 2370 (O,6).

UNUSED7

Unused: This bit is not used.

PrefixFlags

Configure flags for Prefix SID Sub-TLV.

Type: enum

Default: NPBIT

Possible Values:

Value Description
NPBIT

No-PHP Flag

MBIT

Mapping Server Flag

EBIT

Explicit-Null Flag

VBIT

Value/Index Flag

LBIT

Local/Global Flag

RouteCategory

Specify the route type.

Type: enum

Default: UNDEFINED

Possible Values:

Value Description
UNDEFINED

Category not defined.

PRIMARY

Primary route.

SECONDARY

Secondary route.

UNIQUE

Unique route.

ANY

Any route.

RouteCountPerRouter

Route Count per Router.

Type: u32

Default: 1

RouteTag

Value to use in the external route tag field in the LSA.

Type: u32

Default: 0

Range: 0 - 2147483647

SeqNum

Initial value of the LS sequence number field in the LSA header.

Type: u32

Default: 0x80000001

Range: 0 - 0xffffffff

Sid

Configure the customized SID/Index if CustomSrSid is set.

Type: u32

Default: 0

Type

Type of LSA to be generated.

Type: enum

Default: EXT

Possible Values:

Value Description
EXT

Type 5 AS external LSA.

NSSA

Type 7 AS external LSA (for NSSAs), described in RFC 3101.

ExternalLsaBlock Read-Only Attributes

There are no read-only attributes.