Assigning ospf areas – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 557

Network OS NETCONF Operations Guide
525
53-1003231-02
Performing basic OSPF configuration
34
</rbridge-id>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2603" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Assigning OSPF areas
Once OSPF is enabled on the system, you can assign areas. Assign an IP address or number as the
area ID for each area. The area ID is representative of all IP addresses (subnets) on a router port.
Each port on a router can support one area.
An area can be normal, a stub, a totally stubby area, or a Not-So-Stubby Area (NSSA). For a detailed
explanation of these terms, refer to the Network OS Administrator’s Guide.
The following example RPC sets up the backbone area (0.0.0.0).
<rpc message-id="2604" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">
<interface>
<vlan>
<name>1001</name>
</vlan>
</interface>
</interface-vlan>
<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge">
<rbridge-id>10</rbridge-id>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<ve>
<name>1001</name>
<ip xmlns="urn:brocade.com:mgmt:brocade-ip-config">
<ip-config>
<address>
<address>101.1.1.1/24</address>
</address>
</ip-config>
<interface-vlan-ospf-conf
xmlns="urn:brocade.com:mgmt:brocade-ospf">
<ospf1>
<area>0.0.0.0</area>
</ospf1>
</interface-vlan-ospf-conf>
</ip>
</ve>
</interface>
</rbridge-id>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2604" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">