Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

To configure the OSPF network type for an interface, use the set protocols ospf4 area interface link-type command in L2/L3 configuration mode.

Command Syntax

set protocols ospf4 vrf vrf-name area area-id interface interface-name link-type { broadcast | p2m | p2p }



Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

area-idOSPF area identifier to which the interface belongs.
interface-nameInterface name.


This example configures point-to-point as the OSPF network type for the interface.

set protocols ospf4 area interface vlan2 link-type p2p
  • No labels