
MES3000 Ethernet switch series
221
5.32.3
OSPF Protocol Configuration
OSPF
(
Open Shortest Path First
) — dynamic routing protocol based on, channels status tracking
technology (link-state technology) which uses Dijkstra algorithm for finding the shortest way. OSPF
protocol is a protocol of internal gateway (IGP). OSPF protocol distributes information about available
routes between routers of one independent system.
OSPF protocol is not supported in the stackable mode.
Commands of global configuration mode
Type of request of command line in global configuration mode:
console(config)#
Table 5.272 - Commands of global configuration mode
Command
Default value
Action
router ospf enable
-
Enables routing via OSPF protocol.
no router ospf enable
Disables routing via OSPF protocol.
router ospf redistribute
{ connected, rip, static }
-
Allows announcing of static routes via OSPF:
-
connected
– of networks announced on the switch;
-
rip
– of routes received via RIP;
-
static
– of static routes.
no router ospf redistribute
{ connected, rip, static
Assigns default value.
router ospf compatible
rfc1583
enabled
Enables compatibility with RFC 1583.
no router ospf compatible
rfc1583
Disables compatibility with RFC 1583.
router ospf router-id
A.B.C.D
-
Assigns router ID which gives the router unique number within
one independent system.
- A.B.C.D – router ID in format of IPv4 address.
no router ospf router-id
Assigns default value.
router ospf area
A.B.C.D
-
Assigns zone ID by default. Zone is a set of networks and routers
which have same ID.
- A.B.C.D – router ID in format of IPv4 address.
no router ospf area
Assigns default value.
router ospf area
A.B.C.D
default-cost
cost
сost: (0-16777215)
Assigns value of summarized route by default for zone of "stub"
type.
- A.B.C.D – router ID in format of IPv4 address.
no router ospf area A.B.C.D
default-cost
Assigns default value.
router ospf area
A.B.C.D
nssa
-
Assigns type NSSA for specified zone.
- A.B.C.D – router ID in format of IPv4 address.
no router ospf area
A.B.C.D
nssa
Assigns standard type for specified zone.
router ospf area
A.B.C.D
stub
-
Assigns type "stub" for specified zone.
- A.B.C.D – router ID in format of IPv4 address.
no router ospf area
A.B.C.D
stub
Assigns standard type for specified zone.
router ospf area
A.B.C.D
virtual-link
E.F.G.H
-
Assigns virtual link for zone A.B.C.D to router E.F.G.H.
- A.B.C.D – router ID in format of IPv4 address.
- E.F.G.H – router ID in format of IPv4 address.
router ospf area
A.B.C.D
virtual-link
Assigns standard type for A.B.C.D zone.