##JUNIPER
#The cli command is set protocol ospf area x interface < 
#interface > passive
#For example fe0/2/0.1 was converted to passive interface 
#. The cli command to check the same is as below :
#juniper@dev-Vpls8# run show ospf interface <interface-key> detail
#Interface State Area DR ID BDR 
#ID Nbrs
#fe-0/2/0.1 DRother 0.0.0.88 0.0.0.0 
#0.0.0.0 0
#Type: LAN, Address: 172.18.8.5, Mask: 255.255.255.252, MTU: 
#1500, Cost: 1
#Priority: 128, Adj count: 0, Passive
#Hello: 10, Dead: 40, ReXmit: 5, Not Stub
#Auth type: None
#Topology default (ID 0) -> Passive, Cost: 1