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.
✍
Summary of Contents for PortMaster
Page 16: ...Contents xvi Configuration Guide for PortMaster Products...
Page 26: ...Subscribing to PortMaster Mailing Lists xxvi PortMaster Configuration Guide...
Page 32: ...Basic Configuration Steps 1 6 PortMaster Configuration Guide...
Page 114: ...Configuring WAN Port Settings 6 12 PortMaster Configuration Guide...
Page 128: ...Configuring Login Users 7 14 PortMaster Configuration Guide...
Page 158: ...Restricting User Access 9 16 PortMaster Configuration Guide...
Page 168: ...Configuring Ports for Modem Use 10 10 PortMaster Configuration Guide...
Page 222: ...Frame Relay Subinterfaces 13 16 PortMaster Configuration Guide...
Page 236: ...Troubleshooting a Synchronous V 25bis Connection 14 14 PortMaster Configuration Guide...
Page 252: ...Using ISDN for On Demand Connections 15 16 PortMaster Configuration Guide...
Page 264: ...Using ISDN for Internet Connections 16 12 PortMaster Configuration Guide...
Page 276: ...Configuration Steps for Dial In Access 17 12 PortMaster Configuration Guide...
Page 286: ...Configuration Steps for Shared Device Access 18 10 PortMaster Configuration Guide...
Page 296: ...Troubleshooting a Leased Line Connection 19 10 PortMaster Configuration Guide...
Page 310: ...B 4 PortMaster Configuration Guide...
Page 352: ...Command Index Command Index 6 PortMaster Configuration Guide...