
25-88
25.36 ip ospf network
Command:
ip ospf network {broadcast | non-broadcast | point-to-point | point-to-multipoint}
no ip ospf network
Function:
This command configures
the OSPF network type of the interface; the “
no ip ospf network
” command restores the
default value.
Parameter:
broadcast:
Set the OSPF network type to broadcast.
non-broadcast:
Set the OSPF network type to NBMA.
point-to-point:
Set the OSPF network type to point-to-point.
point-to-multipoint:
Set the OSPF network type to point-to-multipoint.
Default:
The default OSPF network type is broadcast.
Command Mode:
Interface Configuration Mode.
Example:
The configuration below set the OSPF network type of the interface vlan 1 to point-to-point.
Switch#config terminal
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip ospf network point-to-point
25.37 ip ospf priority
Command:
ip ospf [<
ip-address
>] priority
<priority>
no ip ospf [<
ip-address
>] priority
Function:
Configure the priority when electing “Defined layer 3 switch” at the interface. The “
no ip ospf [<
ip-address
>]
priority
” command restores the default value.