Ospf commands, Ospf commands -84, Ospf commands area authentication – Enterasys Networks X-Pedition XSR CLI User Manual

Page 160: Area default-cost

Advertising
background image

OSPF Commands

5-84 Configuring the Internet Protocol

“VRRP Clear and Show Commands” 

on page 5‐197.

OSPF Commands

area authentication

This command enables/disables authentication for an OSPF area.

Syntax

area area-id authentication [message-digest]

Syntax of the “no” Form

The no form of this command removes authentication from the OSPF area specified by area‐id:

no area area-id authentication

Mode

Router configuration: 

XSR(config-router)#

Default

The default value is Type 0 authentication; that is, no authentication.

Example

This example enables authentication on OSPF area 10.0.0.0. interface Serial 1/1, whose address is 
172.16.77.1, is part of area 10.0.0.0, so an authentication mechanism could be defined for it:

XSR(config)#interface serial 1/1
XSR(config-if<S1/1)#ip address 172.16.77.1 255.255.255.0
XSR(config-if<S1/1)#ip ospf message-digest-key 20 md5 pass1
XSR(config)#router ospf 1
XSR(config-router)#network 172.16.77.1 0.0.0.0 area 10.0.0.0
XSR(config-router)#area 10.0.0.0 authentication message-digest

area default-cost

This command sets the cost value for the default route that is sent into a stub area by an Area 
Border Router (ABR). This command is restricted to ABRs attached to stub areas.

Syntax

area area-id default-cost cost

area-id

OSPF area to be authenticated, expressed in decimals or IP addresses.

message-digest

Enables MD5 authentication on the OSPF area indicated by area‐id 
keyword

area-id

The stub area expressed in decimals or IP addresses.

cost

Cost value for a summary route that is sent to a stub area by default. 
Valid values are 24‐bit numbers, from 0 to 16,777,215.

Advertising