Configuring ospf network types, Configuration prerequisites – H3C Technologies H3C SecPath F1000-E User Manual
Page 423
398
Step Command
Remarks
4.
Configure a virtual link.
vlink-peer router-id [ hello seconds |
retransmit seconds | trans-delay
seconds | dead seconds | simple
[ plain | cipher ] password | { md5 |
hmac-md5 } key-id [ plain | cipher ]
password ] *
You need to configure this
command on both ends of a
virtual link.
hello and dead intervals must
be identical on both ends of
the virtual link.
Configuring OSPF network types
OSPF classifies networks into the following types by the link layer protocol:
•
Broadcast—When the link layer protocol is Ethernet or FDDI, OSPF considers the network type as
broadcast by default.
•
NBMA—When the link layer protocol is Frame Relay, ATM, or X.25, OSPF considers the network
type as NBMA by default.
•
P2P—When the link layer protocol is PPP, LAPB, or HDLC, OSPF considers the network type as P2P
by default.
You can change the network type of an interface as needed.
•
When an NBMA network becomes fully meshed through address mapping—any two routers in the
network have a direct virtual circuit in between, you can change the network type to broadcast to
avoid manual configuration of neighbors.
•
When some routers in the broadcast network do not support multicast, you can change the network
type to NBMA.
•
An NBMA network must be fully meshed. If it is partially meshed, you can change the network type
to P2MP to simplify configuration and save network costs.
•
If a router on an NBMA network has only one neighbor, you can change the network type to P2P
to save network costs.
If two interfaces on a link are both configured as the broadcast, NBMA, or P2MP network type, they
cannot establish a neighbor relationship unless they are on the same network segment.
Configuration prerequisites
Before you configure OSPF network types, complete the following tasks:
•
Configure IP addresses for interfaces, making neighboring nodes accessible with each other at
network layer.
•
Configure OSPF basic functions.
Configuring the OSPF network type for an interface as broadcast
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the OSPF network
type for the interface as
broadcast.
ospf network-type broadcast
By default, the network type of
an interface depends on the
link layer protocol.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer