Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 4 OSPF Configuration4-124.4.1 Configuration PrerequisitesBefore configuring OSPF area attributes, perform the following tasks:z Configuring the network layer addresses of interfaces so that the adjacent nodesare reachable to each other at the network layerz Performing basic OSPF configuration4.4.2 Configuring OSPF Area AttributesFollow these steps to configure OSPF area attributes:To do... Use the command... RemarksEnter system view system-view —Enter OSPF view ospf [ process-id[ router-id router-id ] ] —Enter OSPF area view area area-id —Configure the current areato be a stub area stub [ no-summary ]OptionalBy default, no area isconfigured as a stub area.Configure an area to bean NSSA areanssa[ default-route-advertise| no-import-route |no-summary ]*OptionalBy default, no area isconfigured as an NSSAarea.Configure the cost of thedefault route transmittedby OSPF to a stub orNSSA areadefault-cost costOptionalThis can be configured onan ABR only. By default,the cost of the defaultroute to a stub or NSSAarea is 1.Create and configure avirtual linkvlink-peer router-id[ hello seconds |retransmit seconds |trans-delay seconds |dead seconds | simplepassword | md5 keyidkey ]*OptionalFor a virtual link to takeeffect, you need to usethis command at bothends of the virtual link andensure consistentconfigurations of thehello, dead, and otherparameters at both ends.