QTECH
Software Configuration Manual
8-113
no area area-id authentication
Example :
!Configure authentication of OSPF area 0 to be MD5
QTECH(config-router-ospf)#area 0 authentication message-digest
8.2.5
Configure interface type
OSPF protocol calculating route is based on neighbor network topology of current router. Each router
describes the network topology of its neighbor network and transmits it to other routers. According to link layer
protocol type, devide network into following 4 types :
Broadcast : when link layer protocol is Ethernet or FDDI, the network is defaulted to be Broadcast
Non Broadcast MultiAccess (NBMA
)
: when link layer protocol is ATM, the network is defaulted to be
NBMA.
Point-to-Multipoint : none link layer protocol will be defaulted to be Point-to-Multipoint. Point-to-Multipoint
must be changed from other types of network. Generally, change non-entire connetivity NBMA to
Point-to-Multipoint.
Point-to-Point : when link layer protocol is PPP, LAPB or POS, the network is defaulted to be Point-to-Point.
NBMA network is non-broadcasting, point-to-multipoint network, specially as ATM. Configure poll-interval
to send poll-interval Hello packet time range before specifying neighborship established by router and neighbor
routers.
In broadcasting network without multiple accessing, configure interface to be nonbroadcast.
If in NBMA network, not all routers can reach each other. Configure interface to be point-to-multipoint.
If there is one opposite end in NBMA network, configure interface to be point-to-point.
The difference between NBMA and point-to-multipoint :
In OSPF protocol, NBMA is connectivity, non-broadcasting, multipoint reaching network.
Point-to-multipoint network need not entire connectivity.
In NBMA, it needs selecting DR and BDR
,
while in point-to-multipoint, there is no DR and BDR.
NBMA is a default network, such as : if link layer protocol is ATM
,
OSPF will defaulted to think the
interface is NBMA
(
no matter this network is entire connectivity or not
)
. Point-to-multipoint is not default network
type. None link protocol is thought to be point-to-multipoint. Point-to-multipoint must be forced to be changed from
other network type. Generally, change non-entire connectivity to be point-to-multipoint.
NBMA uses unicast sending packet which needs configure neighbor manually. Point-to-multipoint uses
multicast sending packet.
The link layer protocol of switch is Ethernet, OSPF thinks network type is broadcast. Generally, not change
its network type,
Configure it in interface configuration mode.
Configure network type of interface
ip ospf network { broadcast | non-broadcast | point-to-multipoint | point-to-point }
Restore dewfault network type of interface
no ip ospf network
Example :
!Configure VLAN interface 4 to be broadcast
QTECH(config-if-vlanInterface-4)#ip ospf network broadcast
8.2.6
Configure interface cost
User can configure cost of interface sending packet, or OSPF defaults cost to be 1. Configure it in interface
configuration mode :
Configure cost of VLAN interface to send packet
ip ospf cost cost
Restore the default cost of VLAN interface to send packet
no ip ospf cost
Example :
!Configure cost of VLAN interface 3 to be 10
QTECH(config-if-vlanInterface-3)#ip ospf cost 10