Setting ospf on the ethernet interface – Lucent Technologies PortMaster User Manual

Page 76

Advertising
background image

Setting OSPF on the Ethernet Interface

4-8

PortMaster Configuration Guide

You can view or modify a subinterface with the ifconfig command (see the PortMaster
Command Line Reference
). If you modify the interface with the ifconfig command, you
must reboot the PortMaster for the changes to take effect.

Setting OSPF on the Ethernet Interface

You can enable or disable Open Shortest Path First (OSPF) routing protocol on an
Ethernet interface.

To set OSPF on the interface, use the following command—entered all on one line:

Command> set Ether0 ospf on|off [cost Number] [hello-interval Seconds]
[dead-time Seconds]

The on keyword enables OSPF on the specified Ethernet interface; off disables OSPF on
that interface.

You can specify the cost of sending a packet on the interface with a link state metric by
using the cost Number keyword and value. The Number metric is a 16-bit number
between 1 and 65535; the default is 1.

Routers in OSPF networks continually exchange hello packets with their neighbor
routers. You can set the interval that elapses between the transmission of hello packets
on the interface by using the hello-interval Seconds keyword and value. Seconds can
range from 10 to 120 seconds; the default is 10 seconds.

If the PortMaster stops receiving hello packets from a neighbor, it treats that router as
inactive, or down. You can specify how long the PortMaster waits for hello packets from
neighbors by using the dead-time Seconds keyword and value. Seconds can range from
40 to 1200 seconds; the default is 40 seconds.

Note – You must set the same cost value, the same hello-interval value, and the same
dead-time value on all routers attached to a common network.

To enable acceptance of RIP packets on the OSPF network, use the following command:

Command> set Ether0 ospf accept-rip on|off

See the PortMaster Routing Guide for more information about OSPF.

Advertising