3 ospf examples, 1 configuration example of ospf, Ospf – PLANET XGS3-24042 User Manual

Page 312: Xamples, 1 configuration example of ospf -8

Advertising
background image

38-8

4)Configure the priority of the interface when electing designated layer3 switch (DR).

Command

Explanation

Interface Configuration Mode

ip ospf priority <priority>

no ip ospf priority

Sets the priority of the interface in “designated

layer3 switch” election; the no ip ospf priority

command restores the default setting.

5)Configure to keep a log for OSPF adjacency changes or not

Command

Explanation

OSPF Protocol Configuration Mode

log-adjacency-changes detail

no log-adjacency-changes detail

Configure to keep a log for OSPF adjacency

changes or not.

5)Filter the route obtained by OSPF

Command

Explanation

OSPF Protocol Configuration Mode

filter-policy <access-list-name>

no filter-policy

Use access list to filter the route obtained by

OSPF, the no command cancels the route

filtering.

3. Disable OSPF protocol

Command

Explanation

Global Mode

no router ospf [process <id>]

Disables OSPF routing protocol.

38.3 OSPF Examples

38.3.1 Configuration Example of OSPF

Scenario 1: OSPF autonomous system.

This scenario takes an OSPF autonomous system consists of five switch for example.

Advertising
This manual is related to the following products: