Enabling Authentication For Ospf Exchanges - Juniper J2300 User Manual

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

Table 121: Controlling the Cost of Individual Network Segments by Modifying the Metric
Task
Navigate to the fe-0/0/0.0 level in the
configuration hierarchy.
Set the interface metric and the external
and route preference.

Enabling Authentication for OSPF Exchanges

All OSPFv2 protocol exchanges can be authenticated to guarantee that only trusted
routers participate in the AS's routing. By default, OSPF authentication is disabled.
NOTE: OSPFv3 does not support authentication.
You can enable either of two authentication types:
Because OSPF performs authentication at the area level, all routers within
the area must have the same authentication and corresponding password
(key) configured. For MD5 authentication to work, both the receiving and
transmitting routers must have the same MD5 key.
To enable OSPF authentication on the stub area:
1.
2.
J-Web Configuration Editor
In the configuration
editor hierarchy, select
Protocols>Ospf>Area id 0.0.0.0>
Interface name fe-0/0/0.0.
1.
In the Metric box, type an interface
metric value—for example, 5.
2.
Click OK.
Simple authentication—Authenticates by means of a plain-text password (key)
included in the transmitted packet.
MD5 authentication—Authenticates by means of an MD5 checksum included
in the transmitted packet.
Navigate to the top of the configuration hierarchy in either the J-Web or the CLI
configuration editor.
Perform the configuration tasks described in Table 122.
CLI Configuration Editor
From the top of the configuration
hierarchy, enter
edit protocols ospf area 0.0.0.0
interface fe-0/0/0.0
1.
Set the interface metric. For
example:
set metric 5
2.
Set the external preference. For
example:
set external-preference 130
Changes in the CLI are applied
automatically when you execute
the set command.
Tuning an OSPF Network for Efficient Operation
Configuring an OSPF Network
323

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents