beautypg.com

Enabling ospf on the router, Disabling ospf on the router – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 556

background image

524

Network OS NETCONF Operations Guide

53-1003231-02

Performing basic OSPF configuration

34

Enabling OSPF on the router

OSPF can be activated only in the RBridge ID context. To enable OSPF on the router, perform the
following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-rbridge namespace.

2. Under the node, include the leaf element and specify the switch for

which you want to enable OSPF.

3. Under the node, include the node element.

4. Under the node, include the node element to enable OSPF.

The node element contains elements that allow you to configure the global OSPF
parameters. However, the “presence=true” statement that qualifies the container
definition in the brocade-ospf.yang file allows the node element to also function as a
leaf element.

The following example enables OSPF on routing bridge 101.

101

Disabling OSPF on the router

To disable OSPF, include the delete operation in the header tag, as shown in the following
example RPC.

101

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>