Configure OSPF on a Port
Configure OSPF parameters on a port so you can control OSPF behavior on the port.
Important
When you enable OSPF on a port, the switch automatically creates an area 0.0.0.0, and advertises it on the specific port, by default. To avoid this behavior, you must manually configure the port into a properly configured area on the switch.
Before you begin
-
Enable OSPF globally .
-
Ensure that the port uses an IP address.
-
Ensure that the ospf_md5key.txt file is on the switch to use MD5 authentication.
-
You must know the network OSPF password to use password authentication.
Procedure
- In the Device Physical View tab, select a port.
- In the navigation pane, expand .
- Select IP.
- Select the OSPF tab.
- Select Enable.
- Specify the hello interval.
- Specify the router dead interval.
- Designate a router priority.
- Configure a metric.
- If you want, select an authentication type.
- If you select simplePassword authentication, type a password in the AuthKey box.
- Configure the area ID.
- If desired, select the AdvertiseWhenDown check box.
- Select an interface type.
- Type a value in the PollInterval box.
- For IfMtuIgnore, select either enable or disable.
- For BfdEnable, select enable.
- Select Apply.
OSPF Field Descriptions
Use the data in the following table to use the OSPF tab.
Name |
Description |
---|---|
Enable |
Enables or disables OSPF routing on the specified port. The default is false. |
HelloInterval |
Specifies the length of time, in seconds, between the transmission of hello packets. This value must be the same for all routers attached to a common network. The default is 10 seconds. After you change the hello interval values, you must save the configuration file, and then restart the switch. After the switch restarts, it restores the values and checks for consistency. |
RtrDeadInterval |
Specifies the interval used by adjacent routers to determine if the router was removed from the network. This interval must be identical on all routers on the subnet, and a minimum of four times the hello interval. To avoid interoperability issues, the RtrDeadInterval value for the OSPF interface needs to match with the RtrDeadInterval value for the OSPF virtual interface. The default is 40 seconds. |
DesigRtrPriority |
Specifies the priority of this port in multiaccess networks to use in the designated router election algorithm. The value 0 indicates the router is not eligible to become the designated router on this particular network. If a tie occurs, routers use their router ID as a tie breaker. The default is 1. |
Metric |
Specifies the metric for the type of service (TOS) on this port. The value of the TOS metric is (10^9 / interface speed). The default is 1.
|
AuthType |
Specifies the type of authentication required for the interface.
|
AuthKey |
Specifies the key (up to 8 characters) when you specify simple password authentication in the port AuthType variable. |
AreaId |
Specifies the OSPF area name in dotted-decimal format. The area name is not related to an IP address. You can use a suitable value for the OSPF area name (for example, 1.1.1.1 or 200.200.200.200). |
AdvertiseWhenDown |
Advertises the network on this port as up, even if the port is down. The default is false. After you configure a port with no link and enable AdvertiseWhenDown, it does not advertise the route until the port is active. Then, OSPF advertises the route even if the link is down. To disable advertising based on link-states, disable AdvertiseWhenDown. |
IfType |
Specifies the type of OSPF interface (broadcast, NBMA, passive, or p2p). Before you change an OSPF interface type, you must first disable the interface. If the interface is an NBMA interface, you must also delete all configured neighbors. Note:
Exception: p2p interface does not apply to VSP 8600 Series. |
PollInterval |
Specifies the length of time, in seconds, between hello packets sent to an inactive OSPF router. Neighbors must have the same poll interval. |
IfMtuIgnore |
Specifies whether the interface ignores the global maximum transmission unit (MTU) configuration. To allow the switch to accept OSPF database description (DD) packets with a different MTU size, enable MtuIgnore. The interface drops incoming OSPF DD packets if their MTU is greater than 1500 bytes. |
BfdEnable |
Enable Bidirectional Forwarding Detection (BFD) for OSPF. |